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 2021/03/11 06:14:39 UTC

[camel] branch master updated (3e41202 -> cd3225a)

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

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


    from 3e41202  Sync deps
     new af773d8  Camel-Http: Fixed scheme with "//"
     new cd3225a  Regen

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../resources/org/apache/camel/catalog/components/http.json  |  2 +-
 .../resources/org/apache/camel/catalog/components/https.json |  2 +-
 .../org/apache/camel/catalog/docs/http-component.adoc        |  2 +-
 .../apache/camel/component/http/HttpEndpointUriFactory.java  |  2 +-
 .../resources/org/apache/camel/component/http/http.json      |  2 +-
 .../resources/org/apache/camel/component/http/https.json     |  2 +-
 components/camel-http/src/main/docs/http-component.adoc      |  2 +-
 .../java/org/apache/camel/component/http/HttpEndpoint.java   |  2 +-
 .../camel-componentdsl/src/generated/resources/metadata.json |  4 ++--
 .../camel/builder/endpoint/StaticEndpointBuilders.java       |  8 ++++----
 .../builder/endpoint/dsl/HttpEndpointBuilderFactory.java     | 12 ++++++------
 docs/components/modules/ROOT/pages/http-component.adoc       |  2 +-
 12 files changed, 21 insertions(+), 21 deletions(-)


[camel] 01/02: Camel-Http: Fixed scheme with "//"

Posted by ac...@apache.org.
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 af773d814b17e8533ead23d3989efdff6340fea9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 11 07:07:04 2021 +0100

    Camel-Http: Fixed scheme with "//"
---
 .../src/main/java/org/apache/camel/component/http/HttpEndpoint.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
index f37bfea..1df1a23 100644
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpEndpoint.java
@@ -56,7 +56,7 @@ import org.slf4j.LoggerFactory;
 /**
  * Send requests to external HTTP servers using Apache HTTP Client 4.x.
  */
-@UriEndpoint(firstVersion = "2.3.0", scheme = "http,https", title = "HTTP,HTTPS", syntax = "http:httpUri",
+@UriEndpoint(firstVersion = "2.3.0", scheme = "http,https", title = "HTTP,HTTPS", syntax = "http://httpUri",
              producerOnly = true, category = { Category.HTTP }, lenientProperties = true)
 @ManagedResource(description = "Managed HttpEndpoint")
 public class HttpEndpoint extends HttpCommonEndpoint {


[camel] 02/02: Regen

Posted by ac...@apache.org.
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 cd3225ab0c5239a455b2d7e463aab9f32715e0d7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 11 07:10:26 2021 +0100

    Regen
---
 .../resources/org/apache/camel/catalog/components/http.json  |  2 +-
 .../resources/org/apache/camel/catalog/components/https.json |  2 +-
 .../org/apache/camel/catalog/docs/http-component.adoc        |  2 +-
 .../apache/camel/component/http/HttpEndpointUriFactory.java  |  2 +-
 .../resources/org/apache/camel/component/http/http.json      |  2 +-
 .../resources/org/apache/camel/component/http/https.json     |  2 +-
 components/camel-http/src/main/docs/http-component.adoc      |  2 +-
 .../camel-componentdsl/src/generated/resources/metadata.json |  4 ++--
 .../camel/builder/endpoint/StaticEndpointBuilders.java       |  8 ++++----
 .../builder/endpoint/dsl/HttpEndpointBuilderFactory.java     | 12 ++++++------
 docs/components/modules/ROOT/pages/http-component.adoc       |  2 +-
 11 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
index 4bec6b9..20a3466 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/http.json
@@ -15,7 +15,7 @@
     "scheme": "http",
     "extendsScheme": "",
     "alternativeSchemes": "http,https",
-    "syntax": "http:httpUri",
+    "syntax": "http:\/\/httpUri",
     "async": false,
     "api": false,
     "consumerOnly": false,
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
index 2cb4e0c..1dc6e06 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/https.json
@@ -15,7 +15,7 @@
     "scheme": "https",
     "extendsScheme": "",
     "alternativeSchemes": "http,https",
-    "syntax": "https:httpUri",
+    "syntax": "https:\/\/httpUri",
     "async": false,
     "api": false,
     "consumerOnly": false,
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/http-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/http-component.adoc
index 1362da24..64a76b0 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/http-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/http-component.adoc
@@ -114,7 +114,7 @@ The HTTP component supports 37 options, which are listed below.
 The HTTP endpoint is configured using URI syntax:
 
 ----
-http:httpUri
+http://httpUri
 ----
 
 with the following path and query parameters:
diff --git a/components/camel-http/src/generated/java/org/apache/camel/component/http/HttpEndpointUriFactory.java b/components/camel-http/src/generated/java/org/apache/camel/component/http/HttpEndpointUriFactory.java
index 4e4a6d3..7c38a11 100644
--- a/components/camel-http/src/generated/java/org/apache/camel/component/http/HttpEndpointUriFactory.java
+++ b/components/camel-http/src/generated/java/org/apache/camel/component/http/HttpEndpointUriFactory.java
@@ -15,7 +15,7 @@ import org.apache.camel.spi.EndpointUriFactory;
  */
 public class HttpEndpointUriFactory extends org.apache.camel.support.component.EndpointUriFactorySupport implements EndpointUriFactory {
 
-    private static final String BASE = ":httpUri";
+    private static final String BASE = "://httpUri";
     private static final String[] SCHEMES = new String[]{"http", "https"};
 
     private static final Set<String> PROPERTY_NAMES;
diff --git a/components/camel-http/src/generated/resources/org/apache/camel/component/http/http.json b/components/camel-http/src/generated/resources/org/apache/camel/component/http/http.json
index 4bec6b9..20a3466 100644
--- a/components/camel-http/src/generated/resources/org/apache/camel/component/http/http.json
+++ b/components/camel-http/src/generated/resources/org/apache/camel/component/http/http.json
@@ -15,7 +15,7 @@
     "scheme": "http",
     "extendsScheme": "",
     "alternativeSchemes": "http,https",
-    "syntax": "http:httpUri",
+    "syntax": "http:\/\/httpUri",
     "async": false,
     "api": false,
     "consumerOnly": false,
diff --git a/components/camel-http/src/generated/resources/org/apache/camel/component/http/https.json b/components/camel-http/src/generated/resources/org/apache/camel/component/http/https.json
index 2cb4e0c..1dc6e06 100644
--- a/components/camel-http/src/generated/resources/org/apache/camel/component/http/https.json
+++ b/components/camel-http/src/generated/resources/org/apache/camel/component/http/https.json
@@ -15,7 +15,7 @@
     "scheme": "https",
     "extendsScheme": "",
     "alternativeSchemes": "http,https",
-    "syntax": "https:httpUri",
+    "syntax": "https:\/\/httpUri",
     "async": false,
     "api": false,
     "consumerOnly": false,
diff --git a/components/camel-http/src/main/docs/http-component.adoc b/components/camel-http/src/main/docs/http-component.adoc
index 1362da24..64a76b0 100644
--- a/components/camel-http/src/main/docs/http-component.adoc
+++ b/components/camel-http/src/main/docs/http-component.adoc
@@ -114,7 +114,7 @@ The HTTP component supports 37 options, which are listed below.
 The HTTP endpoint is configured using URI syntax:
 
 ----
-http:httpUri
+http://httpUri
 ----
 
 with the following path and query parameters:
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json
index cf97b8a..c65046d 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -3209,7 +3209,7 @@
     "scheme": "http",
     "extendsScheme": "",
     "alternativeSchemes": "http,https",
-    "syntax": "http:httpUri",
+    "syntax": "http:\/\/httpUri",
     "async": false,
     "api": false,
     "consumerOnly": false,
@@ -3232,7 +3232,7 @@
     "scheme": "https",
     "extendsScheme": "",
     "alternativeSchemes": "http,https",
-    "syntax": "https:httpUri",
+    "syntax": "https:\/\/httpUri",
     "async": false,
     "api": false,
     "consumerOnly": false,
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 58a2cbf..825ea5e 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -6658,12 +6658,12 @@ public class StaticEndpointBuilders {
      * Since: 2.3
      * Maven coordinates: org.apache.camel:camel-http
      * 
-     * Syntax: <code>http:httpUri</code>
+     * Syntax: <code>http://httpUri</code>
      * 
      * Path parameter: httpUri (required)
      * The url of the HTTP endpoint to call.
      * 
-     * @param path httpUri
+     * @param path //httpUri
      * @return the dsl builder
      */
     public static org.apache.camel.builder.endpoint.dsl.HttpEndpointBuilderFactory.HttpEndpointBuilder http(
@@ -6678,14 +6678,14 @@ public class StaticEndpointBuilders {
      * Since: 2.3
      * Maven coordinates: org.apache.camel:camel-http
      * 
-     * Syntax: <code>http:httpUri</code>
+     * Syntax: <code>http://httpUri</code>
      * 
      * Path parameter: httpUri (required)
      * The url of the HTTP endpoint to call.
      * 
      * @param componentName to use a custom component name for the endpoint
      * instead of the default name
-     * @param path httpUri
+     * @param path //httpUri
      * @return the dsl builder
      */
     public static org.apache.camel.builder.endpoint.dsl.HttpEndpointBuilderFactory.HttpEndpointBuilder http(
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HttpEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HttpEndpointBuilderFactory.java
index 0b71ae4..5ddc02a 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HttpEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/HttpEndpointBuilderFactory.java
@@ -1547,12 +1547,12 @@ public interface HttpEndpointBuilderFactory {
          * Since: 2.3
          * Maven coordinates: org.apache.camel:camel-http
          * 
-         * Syntax: <code>http:httpUri</code>
+         * Syntax: <code>http://httpUri</code>
          * 
          * Path parameter: httpUri (required)
          * The url of the HTTP endpoint to call.
          * 
-         * @param path httpUri
+         * @param path //httpUri
          * @return the dsl builder
          */
         default HttpEndpointBuilder http(String path) {
@@ -1566,14 +1566,14 @@ public interface HttpEndpointBuilderFactory {
          * Since: 2.3
          * Maven coordinates: org.apache.camel:camel-http
          * 
-         * Syntax: <code>http:httpUri</code>
+         * Syntax: <code>http://httpUri</code>
          * 
          * Path parameter: httpUri (required)
          * The url of the HTTP endpoint to call.
          * 
          * @param componentName to use a custom component name for the endpoint
          * instead of the default name
-         * @param path httpUri
+         * @param path //httpUri
          * @return the dsl builder
          */
         default HttpEndpointBuilder http(String componentName, String path) {
@@ -1587,12 +1587,12 @@ public interface HttpEndpointBuilderFactory {
          * Since: 2.3
          * Maven coordinates: org.apache.camel:camel-http
          * 
-         * Syntax: <code>https:httpUri</code>
+         * Syntax: <code>https://httpUri</code>
          * 
          * Path parameter: httpUri (required)
          * The url of the HTTP endpoint to call.
          * 
-         * @param path httpUri
+         * @param path //httpUri
          * @return the dsl builder
          */
         default HttpEndpointBuilder https(String path) {
diff --git a/docs/components/modules/ROOT/pages/http-component.adoc b/docs/components/modules/ROOT/pages/http-component.adoc
index 74481d3..1357146 100644
--- a/docs/components/modules/ROOT/pages/http-component.adoc
+++ b/docs/components/modules/ROOT/pages/http-component.adoc
@@ -116,7 +116,7 @@ The HTTP component supports 37 options, which are listed below.
 The HTTP endpoint is configured using URI syntax:
 
 ----
-http:httpUri
+http://httpUri
 ----
 
 with the following path and query parameters: