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 acef2ff4cf897cd7b22d3a9c0e5235446a401242 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue May 19 08:49:41 2020 +0200 Camel-Resteasy: Fixed syntax, the component extend http so we need httpUri to make camel-catalog happy --- .../resources/org/apache/camel/component/resteasy/resteasy.json | 2 +- components/camel-resteasy/src/main/docs/resteasy-component.adoc | 2 +- .../org/apache/camel/component/resteasy/ResteasyEndpoint.java | 2 +- core/camel-componentdsl/src/generated/resources/metadata.json | 2 +- .../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 8 ++++---- .../builder/endpoint/dsl/ResteasyEndpointBuilderFactory.java | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json b/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json index 836668c..825ddb1 100644 --- a/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json +++ b/components/camel-resteasy/src/generated/resources/org/apache/camel/component/resteasy/resteasy.json @@ -14,7 +14,7 @@ "version": "3.4.0-SNAPSHOT", "scheme": "resteasy", "extendsScheme": "http", - "syntax": "resteasy:", + "syntax": "resteasy:httpUri", "async": false, "consumerOnly": false, "producerOnly": false, diff --git a/components/camel-resteasy/src/main/docs/resteasy-component.adoc b/components/camel-resteasy/src/main/docs/resteasy-component.adoc index 775f1b5..242d9a2 100644 --- a/components/camel-resteasy/src/main/docs/resteasy-component.adoc +++ b/components/camel-resteasy/src/main/docs/resteasy-component.adoc @@ -78,7 +78,7 @@ The Resteasy component supports 22 options, which are listed below. The Resteasy endpoint is configured using URI syntax: ---- -resteasy: +resteasy:httpUri ---- with the following path and query parameters: diff --git a/components/camel-resteasy/src/main/java/org/apache/camel/component/resteasy/ResteasyEndpoint.java b/components/camel-resteasy/src/main/java/org/apache/camel/component/resteasy/ResteasyEndpoint.java index 34f6054..d943081 100644 --- a/components/camel-resteasy/src/main/java/org/apache/camel/component/resteasy/ResteasyEndpoint.java +++ b/components/camel-resteasy/src/main/java/org/apache/camel/component/resteasy/ResteasyEndpoint.java @@ -38,7 +38,7 @@ import org.apache.http.impl.client.HttpClientBuilder; * */ @UriEndpoint(firstVersion = "3.4.0", scheme = "resteasy", extendsScheme = "http", - title = "Resteasy", syntax = "resteasy:", label = "rest") + title = "Resteasy", syntax = "resteasy:httpUri", label = "rest") public class ResteasyEndpoint extends HttpEndpoint implements HeaderFilterStrategyAware { @UriParam private String resteasyMethod = "GET"; diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json index 35459f8..943c20b 100644 --- a/core/camel-componentdsl/src/generated/resources/metadata.json +++ b/core/camel-componentdsl/src/generated/resources/metadata.json @@ -5715,7 +5715,7 @@ "version": "3.4.0-SNAPSHOT", "scheme": "resteasy", "extendsScheme": "http", - "syntax": "resteasy:", + "syntax": "resteasy:httpUri", "async": false, "consumerOnly": false, "producerOnly": 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 91ca242..5044023 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 @@ -11725,12 +11725,12 @@ public class StaticEndpointBuilders { * Since: 3.4 * Maven coordinates: org.apache.camel:camel-resteasy * - * Syntax: <code>resteasy:</code> + * Syntax: <code>resteasy:httpUri</code> * * Path parameter: httpUri (required) * The url of the HTTP endpoint to call. * - * @param path + * @param path httpUri */ static org.apache.camel.builder.endpoint.dsl.ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder resteasy( String path) { @@ -11744,14 +11744,14 @@ public class StaticEndpointBuilders { * Since: 3.4 * Maven coordinates: org.apache.camel:camel-resteasy * - * Syntax: <code>resteasy:</code> + * Syntax: <code>resteasy: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 + * @param path httpUri */ static org.apache.camel.builder.endpoint.dsl.ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder resteasy( String componentName, diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ResteasyEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ResteasyEndpointBuilderFactory.java index 15d9dfa..66a3fab 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ResteasyEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ResteasyEndpointBuilderFactory.java @@ -3609,12 +3609,12 @@ public interface ResteasyEndpointBuilderFactory { * Since: 3.4 * Maven coordinates: org.apache.camel:camel-resteasy * - * Syntax: <code>resteasy:</code> + * Syntax: <code>resteasy:httpUri</code> * * Path parameter: httpUri (required) * The url of the HTTP endpoint to call. * - * @param path + * @param path httpUri */ default ResteasyEndpointBuilder resteasy(String path) { return ResteasyEndpointBuilderFactory.endpointBuilder("resteasy", path); @@ -3627,14 +3627,14 @@ public interface ResteasyEndpointBuilderFactory { * Since: 3.4 * Maven coordinates: org.apache.camel:camel-resteasy * - * Syntax: <code>resteasy:</code> + * Syntax: <code>resteasy: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 + * @param path httpUri */ default ResteasyEndpointBuilder resteasy( String componentName,