You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/08/01 10:59:40 UTC

[camel] 01/02: CAMEL-13792 - Rename components to default names, Camel-http4 to Camel-http - Removed reference to http4 in camel-rest-swagger

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 8e4a7bddd68b63f388fefda43be731abffc1449c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Aug 1 12:57:56 2019 +0200

    CAMEL-13792 - Rename components to default names, Camel-http4 to Camel-http - Removed reference to http4 in camel-rest-swagger
---
 .../java/org/apache/camel/component/rest/swagger/HttpsTest.java     | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/components/camel-rest-swagger/src/test/java/org/apache/camel/component/rest/swagger/HttpsTest.java b/components/camel-rest-swagger/src/test/java/org/apache/camel/component/rest/swagger/HttpsTest.java
index 9e5a98c..bdf8321 100644
--- a/components/camel-rest-swagger/src/test/java/org/apache/camel/component/rest/swagger/HttpsTest.java
+++ b/components/camel-rest-swagger/src/test/java/org/apache/camel/component/rest/swagger/HttpsTest.java
@@ -133,12 +133,6 @@ public abstract class HttpsTest extends CamelTestSupport {
         // the commons-httpclient (all endpoints, component instances)
         producers.remove("http");
 
-        // `http4` component transforms the endpoint uri from `http4://` to
-        // `https4://` we need to accommodate for that otherwise we'll end up
-        // configuring the wrong component's properties in
-        // RestSwaggerDelegateHttpsTest
-        producers.replaceAll(c -> "http4".equals(c) ? "https4" : c);
-
         return producers;
     }