ffang commented on pull request #37:
URL: 
https://github.com/apache/camel-quarkus-examples/pull/37#issuecomment-853901107


   > Quarkus observability endpoints are now prefixed with `/q`. I guess we 
need a similar fix like we did in Camel Quarkus 
[apache/camel-quarkus@3d29121#diff-3bfaa7769a4bf24c8572497bf93008c141e1267543ec8c2757fed4fa4d607e7bR91](https://github.com/apache/camel-quarkus/commit/3d29121fe1dc708b57daf7f8dfef02a2269a0e41#diff-3bfaa7769a4bf24c8572497bf93008c141e1267543ec8c2757fed4fa4d607e7bR91)
   
   Hi @ppalaga ,
   
   FYI, it's already this case in camel-quarkus-examples HealthTest, please 
take a look at the testcase complete code, is it OK?
   ```
   @Test
       public void testHealth() throws InterruptedException {
           RestAssured.get("/q/health")
                   .then()
                   .statusCode(200)
                   .body("status", is("UP"),
                           "checks.status", containsInAnyOrder("UP", "UP"),
                           "checks.name",
                           containsInAnyOrder("camel-readiness-checks", 
"camel-liveness-checks"),
                           "checks.data.context", containsInAnyOrder(null, 
"UP"));
       }
   
   ```
   
   Cheers
   Freeman


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to