From bfb45f0025aef93a9268432e5324da5854a33edd Mon Sep 17 00:00:00 2001 From: croway Date: Fri, 4 Sep 2026 10:17:15 +0200 Subject: [PATCH 1/2] Fix rest-openapi-simple example: note PetStore demo flakiness, drop redundant version The getPetById operation depends on the publicly hosted petstore3.swagger.io demo, which can intermittently fail (e.g. 500 errors) since it is outside our control. Document this in the README so it isn't mistaken for a bug in the example. Also remove the redundant explicit ${project.version} on camel-rest-openapi-starter, since it is already managed by the Camel BOM. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01HseDjsECuZhsCXxxioiD1k --- rest-openapi-simple/README.adoc | 7 +++++++ rest-openapi-simple/pom.xml | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rest-openapi-simple/README.adoc b/rest-openapi-simple/README.adoc index 30bda6411..cd5e2b863 100644 --- a/rest-openapi-simple/README.adoc +++ b/rest-openapi-simple/README.adoc @@ -30,6 +30,13 @@ $ java -jar target/camel-example-spring-boot-rest-openapi-*.jar \ --petId=14 .... +NOTE: This example depends on the publicly hosted PetStore demo at +https://petstore3.swagger.io. That demo is occasionally flaky or +unavailable (for instance, `+getPetById+` may intermittently return a +500 error for any ID) since it is outside of our control. If an +operation fails unexpectedly, check the demo's availability before +assuming there is a problem with the example itself. + === Help and contributions If you hit any problem using Camel or have some feedback, then please diff --git a/rest-openapi-simple/pom.xml b/rest-openapi-simple/pom.xml index 9268f97fe..018597787 100644 --- a/rest-openapi-simple/pom.xml +++ b/rest-openapi-simple/pom.xml @@ -69,7 +69,6 @@ org.apache.camel.springboot camel-rest-openapi-starter - ${project.version} From 7bbf23f260bae007d4d3783d9ca1ba99e5dd6efc Mon Sep 17 00:00:00 2001 From: croway Date: Fri, 4 Sep 2026 10:28:09 +0200 Subject: [PATCH 2/2] Fix quartz example README: correct copy-pasted description The README described "high and low numbers" output, copy-pasted from the pojo example. The quartz example actually logs a constant "Test" message every 5 seconds via a cron-triggered route. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01HseDjsECuZhsCXxxioiD1k --- quartz/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/README.adoc b/quartz/README.adoc index 5a62359ce..2ea2ba463 100644 --- a/quartz/README.adoc +++ b/quartz/README.adoc @@ -16,7 +16,7 @@ You can run this example using: $ mvn spring-boot:run -And you should see output in the console with high and low numbers. The example will self stop after one minute. +And you should see output in the console, with a "Test" message logged every 5 seconds. The example will self stop after one minute. === Help and contributions