You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2023/04/28 07:24:03 UTC

[camel-quarkus] 34/35: Fix of Rest testt: Remove experimental LightweightCamelContext CAMEL-19292

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 26ed3f0c1bd241b79200afa1dc5aac2b3bc9226d
Author: JiriOndrusek <on...@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";