This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 1f9efa73a92e7fc6fb7976251bba2096f608d327 Author: JiriOndrusek <ondrusek.j...@gmail.com> AuthorDate: Thu Apr 27 09:39:37 2023 +0200 Fix of Rest testt: Remove experimental LightweightCamelContext CAMEL-19292 --- .../org/apache/camel/quarkus/component/rest/it/RestResource.java | 7 ------- .../org/apache/camel/quarkus/component/rest/it/RestTest.java | 9 --------- 2 files changed, 16 deletions(-) diff --git a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java index 21b837f54a..ee7d4babb1 100644 --- a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java +++ b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestResource.java @@ -49,13 +49,6 @@ public class RestResource { .build(); } - @Path("/inspect/camel-context/lightweight") - @GET - @Produces(MediaType.TEXT_PLAIN) - public boolean lightweight() { - return camelContext.getCamelContextExtension().isLightweight(); - } - @Path("/invoke/route") @GET @Produces(MediaType.TEXT_PLAIN) diff --git a/integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java b/integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java index 8414a4d1a9..a336fb0f51 100644 --- a/integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java +++ b/integration-tests/rest/src/test/java/org/apache/camel/quarkus/component/rest/it/RestTest.java @@ -192,15 +192,6 @@ class RestTest { .body(equalTo("Hello Invoked")); } - @Test - public void lightweight() { - RestAssured.when() - .get("/rest/inspect/camel-context/lightweight") - .then() - .statusCode(200) - .body(is("true")); - } - @Test public void restLog() { String message = "Camel Quarkus Platform HTTP";