This is an automated email from the ASF dual-hosted git repository.
porcelli pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 25e1dff69 [incubator-kie-issues#1292] Fix README in
process-saga-quarkus (#1938)
25e1dff69 is described below
commit 25e1dff69f9f6a011a33811af8c0725f57306438
Author: Martin Weiler <[email protected]>
AuthorDate: Mon Jun 3 15:59:09 2024 -0600
[incubator-kie-issues#1292] Fix README in process-saga-quarkus (#1938)
---
kogito-quarkus-examples/process-saga-quarkus/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kogito-quarkus-examples/process-saga-quarkus/README.md
b/kogito-quarkus-examples/process-saga-quarkus/README.md
index 196595ae5..5122c0170 100644
--- a/kogito-quarkus-examples/process-saga-quarkus/README.md
+++ b/kogito-quarkus-examples/process-saga-quarkus/README.md
@@ -100,7 +100,7 @@ Once the service is up and running, you can use the
following examples to intera
### Starting the Order Saga
-#### POST /orders
+#### POST /order
Allows to start a new Order Saga with the given data:
@@ -116,7 +116,7 @@ Given data:
Curl command (using the JSON object above):
```sh
-curl -H "Content-Type: application/json" -X POST http://localhost:8080/orders
-d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa"}'
+curl -H "Content-Type: application/json" -X POST http://localhost:8080/order
-d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa"}'
```
The response for the request is returned with attributes representing the
response of each step, either
success or failure. The `orderResponse` attribute indicates if the order can
be confirmed in case of success or
@@ -173,7 +173,7 @@ Example:
Curl command (using the JSON object above):
```sh
-curl -H "Content-Type: application/json" -X POST http://localhost:8080/orders
-d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa", "failService" :
"PaymentService"}'
+curl -H "Content-Type: application/json" -X POST http://localhost:8080/order
-d '{"orderId" : "03e6cf79-3301-434b-b5e1-d6899b5639aa", "failService" :
"PaymentService"}'
```
Response example:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]