You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2023/03/30 11:04:24 UTC
[camel-quarkus] branch main updated: vertx-http: remove deprecated serviceCall eip
This is an automated email from the ASF dual-hosted git repository.
aldettinger pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 6219742e5b vertx-http: remove deprecated serviceCall eip
6219742e5b is described below
commit 6219742e5bec8681fa42aee460ef01e73df408d1
Author: aldettinger <al...@gmail.com>
AuthorDate: Thu Mar 30 10:34:44 2023 +0200
vertx-http: remove deprecated serviceCall eip
---
.../apache/camel/quarkus/component/http/it/HttpRoute.java | 11 -----------
.../apache/camel/quarkus/component/http/it/HttpTest.java | 13 -------------
2 files changed, 24 deletions(-)
diff --git a/integration-tests/http/src/main/java/org/apache/camel/quarkus/component/http/it/HttpRoute.java b/integration-tests/http/src/main/java/org/apache/camel/quarkus/component/http/it/HttpRoute.java
index 393857a7f6..755a91c94b 100644
--- a/integration-tests/http/src/main/java/org/apache/camel/quarkus/component/http/it/HttpRoute.java
+++ b/integration-tests/http/src/main/java/org/apache/camel/quarkus/component/http/it/HttpRoute.java
@@ -66,17 +66,6 @@ public class HttpRoute extends RouteBuilder {
}
});
- from("netty-http:http://0.0.0.0:{{camel.netty-http.test-port}}/test/server/serviceCall")
- .serviceCall()
- .name("myService/test/server/myService")
- .component("netty-http")
- .staticServiceDiscovery()
- .servers("myService@localhost:{{camel.netty-http.test-port}}")
- .end();
-
- from("netty-http:http://0.0.0.0:{{camel.netty-http.test-port}}/test/server/myService")
- .transform().constant("Hello from myService");
-
from("direct:vertx-http-buffer-conversion-with-charset")
.convertBodyTo(Buffer.class);
}
diff --git a/integration-tests/http/src/test/java/org/apache/camel/quarkus/component/http/it/HttpTest.java b/integration-tests/http/src/test/java/org/apache/camel/quarkus/component/http/it/HttpTest.java
index f8280a3383..2ea591ce1e 100644
--- a/integration-tests/http/src/test/java/org/apache/camel/quarkus/component/http/it/HttpTest.java
+++ b/integration-tests/http/src/test/java/org/apache/camel/quarkus/component/http/it/HttpTest.java
@@ -21,7 +21,6 @@ import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import io.restassured.http.ContentType;
import org.eclipse.microprofile.config.ConfigProvider;
-import org.hamcrest.Matchers;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
@@ -198,18 +197,6 @@ class HttpTest {
"fq", is(not(empty())));
}
- @Test
- public void serviceCall() {
- RestAssured
- .given()
- .port(getPort())
- .when()
- .get("/test/server/serviceCall")
- .then()
- .statusCode(200)
- .body(Matchers.is("Hello from myService"));
- }
-
@Test
public void httpOperationFailedException() {
RestAssured