gnodet-bot commented on code in PR #29572:
URL: https://github.com/apache/camel/pull/29572#discussion_r4527280298


##########
dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/camel-jbang-example-catalog.json:
##########
@@ -913,6 +913,57 @@
         ],
         "order": 1
     },
+    {
+        "name": "fail-well/chaos",
+        "title": "Chaos",
+        "description": "The shop charges an order every second at a payment 
service over HTTP and hands it to shipping; chaos rules added while it runs 
make the payment service answer 503, go down for 10 seconds and fail shipping, 
the retries recover most orders and the dead letter channel parks the rest, and 
a scenario file replays a bad half minute with a seed and ends with the verdict 
PASS as its exit code; a refunds route from Kafka (stubbed) has a gap on 
purpose, for an AI to find with camel cmd chaos-explore.",
+        "level": "fail-well",
+        "teaches": {
+            "components": [
+                "timer",
+                "kafka",
+                "http",
+                "platform-http",
+                "seda",
+                "direct",
+                "file",
+                "log"
+            ],
+            "eips": [
+                "errorHandler",
+                "deadLetterChannel",
+                "redeliveryPolicy",
+                "setVariable",
+                "setBody",
+                "removeHeaders"
+            ],
+            "languages": [
+                "simple"
+            ]

Review Comment:
   `refunds.camel.yaml` uses `jsonpath` to extract `$.refundId`, but 
`teaches.languages` only lists `simple`. Add `jsonpath` to match how every 
other example with JSONPath usage declares it.
   
   ```suggestion
               "languages": [
                   "simple",
                   "jsonpath"
               ]
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to