Skip to content

Commit 276cdfe

Browse files
authored
Laurent's review
1 parent 89eb349 commit 276cdfe

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

cross-component/deployexecute/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,28 @@
55
This sample demonstrates how to automate the deployment and execution of a ruleset using the REST API.
66

77
In this sample, you will:
8-
- Deploy ODM either on Kubernetes or in Docker,
9-
- Import a Decision Service in Decision Center (optionally),
10-
- Deploy a ruleset from Decision Center to Decision Server,
11-
- Execute this ruleset.
8+
- Deploy IBM ODM on either Kubernetes or Docker.
9+
- Optionally import a Decision Service into Decision Center.
10+
- Deploy a ruleset from Decision Center to Decision Server.
11+
- Execute the deployed ruleset.
1212

1313
## Prerequisites
1414

15-
- Ensure you have at least Docker 24.0.x or Kubernetes 1.27+
16-
- Install [jq](https://jqlang.github.io/jq/download/)
15+
Ensure you have the following tools installed:
16+
- Docker 24.0.x or later, or Kubernetes 1.27+.
17+
- [jq for JSON processing](https://jqlang.github.io/jq/download/)
1718

1819
## Installation of ODM
1920

20-
Click one of the links below depending on how you prefer to deploy ODM:
21+
Select your preferred deployment method and follow the corresponding guide:
2122
* [Kubernetes](README-KUBERNETES.md)
2223
* [Docker](README-DOCKER.md)
2324

2425
## Configuration
2526

2627
### 1. Set Environment Variables
2728

28-
Set the following environment variables:
29+
Define the following environment variables:
2930

3031
<!-- markdown-link-check-disable -->
3132

@@ -35,17 +36,15 @@ Set the following environment variables:
3536
| DSR_URL | Decision Server Runtime URL | see below | http://localhost:9060/decisioncenter/DecisionService |
3637

3738
<!-- markdown-link-check-enable-->
38-
39-
If ODM is deployed on Kubernetes, you can check the section **Access the ODM services** for your platform to find out how to get those URLs:
39+
If ODM is deployed on Kubernetes, you can check the **Access the ODM services** section for your platform to find out how to get those URLs:
4040
- [Amazon EKS](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/master/platform/eks/README.md#6-access-the-odm-services)
4141
- [Azure](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/master/platform/azure/README.md#access-odm-services)
4242
- [Google GKE](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/master/platform/gcloud/README.md#6-access-odm-services)
4343
- [Minikube](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/master/platform/minikube/README.md#c-access-the-odm-services)
4444
- [Openshift](https://github.com/DecisionsDev/odm-docker-kubernetes/blob/master/platform/roks/README.md#4-access-the-odm-services)
4545

4646
### 2. Deploy the `Loan Validation Service` Decision Service
47-
48-
If the `Loan Validation Service` Decision Service is not available in Decision Center yet, run:
47+
If the `Loan Validation Service` is not available in Decision Center, import it using the following commands:
4948

5049
```bash
5150
# configure the Authentication (using Basic Auth)
@@ -115,8 +114,8 @@ curl -sk -X POST ${AUTH_CREDENTIALS[@]} -H "accept: application/json" -H "Conten
115114
116115
## Expected result
117116
118-
You should see traces similar to these:
119-
1. after the ruleapp deployment:
117+
1. After deploying the ruleset, you should see a confirmation message:
118+
120119
```
121120
{
122121
"id": "e51db153-bca2-49a8-8998-2b5e6c93f6cb",
@@ -164,7 +163,8 @@ You should see traces similar to these:
164163
"archive": null
165164
}
166165
```
167-
1. after the ruleset execution:
166+
167+
2. After executing the ruleset, the response should include the rule execution results:
168168
```
169169
{
170170
"report": {

0 commit comments

Comments
 (0)