This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new a6759e7 CAMEL-16284: fix incorrect URI for couchbase (#5156)
a6759e7 is described below
commit a6759e709081b2296930b69968bd9f1717d22e71
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Mar 2 12:07:23 2021 +0100
CAMEL-16284: fix incorrect URI for couchbase (#5156)
---
.../org/apache/camel/catalog/docs/couchbase-component.adoc | 2 +-
.../camel/component/couchbase/CouchbaseEndpointUriFactory.java | 2 +-
.../resources/org/apache/camel/component/couchbase/couchbase.json | 2 +-
components/camel-couchbase/src/main/docs/couchbase-component.adoc | 2 +-
.../org/apache/camel/component/couchbase/CouchbaseEndpoint.java | 2 +-
core/camel-componentdsl/src/generated/resources/metadata.json | 2 +-
.../org/apache/camel/builder/endpoint/StaticEndpointBuilders.java | 8 ++++----
.../builder/endpoint/dsl/CouchbaseEndpointBuilderFactory.java | 8 ++++----
docs/components/modules/ROOT/pages/couchbase-component.adoc | 2 +-
9 files changed, 15 insertions(+), 15 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/couchbase-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/couchbase-component.adoc
index 91d9652..3dc43b0 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/couchbase-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/couchbase-component.adoc
@@ -56,7 +56,7 @@ The Couchbase component supports 3 options, which are listed
below.
The Couchbase endpoint is configured using URI syntax:
----
-couchbase:protocol:hostname:port
+couchbase:protocol://hostname:port
----
with the following path and query parameters:
diff --git
a/components/camel-couchbase/src/generated/java/org/apache/camel/component/couchbase/CouchbaseEndpointUriFactory.java
b/components/camel-couchbase/src/generated/java/org/apache/camel/component/couchbase/CouchbaseEndpointUriFactory.java
index ca5f27f..77b78da 100644
---
a/components/camel-couchbase/src/generated/java/org/apache/camel/component/couchbase/CouchbaseEndpointUriFactory.java
+++
b/components/camel-couchbase/src/generated/java/org/apache/camel/component/couchbase/CouchbaseEndpointUriFactory.java
@@ -15,7 +15,7 @@ import org.apache.camel.spi.EndpointUriFactory;
*/
public class CouchbaseEndpointUriFactory extends
org.apache.camel.support.component.EndpointUriFactorySupport implements
EndpointUriFactory {
- private static final String BASE = ":protocol:hostname:port";
+ private static final String BASE = ":protocol://hostname:port";
private static final Set<String> PROPERTY_NAMES;
private static final Set<String> SECRET_PROPERTY_NAMES;
diff --git
a/components/camel-couchbase/src/generated/resources/org/apache/camel/component/couchbase/couchbase.json
b/components/camel-couchbase/src/generated/resources/org/apache/camel/component/couchbase/couchbase.json
index d24aeca..1ad500c 100644
---
a/components/camel-couchbase/src/generated/resources/org/apache/camel/component/couchbase/couchbase.json
+++
b/components/camel-couchbase/src/generated/resources/org/apache/camel/component/couchbase/couchbase.json
@@ -14,7 +14,7 @@
"version": "3.9.0-SNAPSHOT",
"scheme": "couchbase",
"extendsScheme": "",
- "syntax": "couchbase:protocol:hostname:port",
+ "syntax": "couchbase:protocol:\/\/hostname:port",
"async": false,
"api": false,
"consumerOnly": false,
diff --git a/components/camel-couchbase/src/main/docs/couchbase-component.adoc
b/components/camel-couchbase/src/main/docs/couchbase-component.adoc
index 91d9652..3dc43b0 100644
--- a/components/camel-couchbase/src/main/docs/couchbase-component.adoc
+++ b/components/camel-couchbase/src/main/docs/couchbase-component.adoc
@@ -56,7 +56,7 @@ The Couchbase component supports 3 options, which are listed
below.
The Couchbase endpoint is configured using URI syntax:
----
-couchbase:protocol:hostname:port
+couchbase:protocol://hostname:port
----
with the following path and query parameters:
diff --git
a/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseEndpoint.java
b/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseEndpoint.java
index 893cfd0..cc294a7 100644
---
a/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseEndpoint.java
+++
b/components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseEndpoint.java
@@ -55,7 +55,7 @@ import static
org.apache.camel.component.couchbase.CouchbaseConstants.DEFAULT_VI
/**
* Query Couchbase Views with a poll strategy and/or perform various
operations against Couchbase databases.
*/
-@UriEndpoint(firstVersion = "2.19.0", scheme = "couchbase", title =
"Couchbase", syntax = "couchbase:protocol:hostname:port",
+@UriEndpoint(firstVersion = "2.19.0", scheme = "couchbase", title =
"Couchbase", syntax = "couchbase:protocol://hostname:port",
category = { Category.DATABASE, Category.NOSQL })
public class CouchbaseEndpoint extends ScheduledPollEndpoint {
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json
b/core/camel-componentdsl/src/generated/resources/metadata.json
index 1846694..164b40e 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -1524,7 +1524,7 @@
"version": "3.9.0-SNAPSHOT",
"scheme": "couchbase",
"extendsScheme": "",
- "syntax": "couchbase:protocol:hostname:port",
+ "syntax": "couchbase:protocol:\/\/hostname:port",
"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 da0fc76..6356271 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
@@ -2967,7 +2967,7 @@ public class StaticEndpointBuilders {
* Since: 2.19
* Maven coordinates: org.apache.camel:camel-couchbase
*
- * Syntax: <code>couchbase:protocol:hostname:port</code>
+ * Syntax: <code>couchbase:protocol://hostname:port</code>
*
* Path parameter: protocol (required)
* The protocol to use
@@ -2979,7 +2979,7 @@ public class StaticEndpointBuilders {
* The port number to use
* Default value: 8091
*
- * @param path protocol:hostname:port
+ * @param path protocol://hostname:port
* @return the dsl builder
*/
public static
org.apache.camel.builder.endpoint.dsl.CouchbaseEndpointBuilderFactory.CouchbaseEndpointBuilder
couchbase(
@@ -2995,7 +2995,7 @@ public class StaticEndpointBuilders {
* Since: 2.19
* Maven coordinates: org.apache.camel:camel-couchbase
*
- * Syntax: <code>couchbase:protocol:hostname:port</code>
+ * Syntax: <code>couchbase:protocol://hostname:port</code>
*
* Path parameter: protocol (required)
* The protocol to use
@@ -3009,7 +3009,7 @@ public class StaticEndpointBuilders {
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
- * @param path protocol:hostname:port
+ * @param path protocol://hostname:port
* @return the dsl builder
*/
public static
org.apache.camel.builder.endpoint.dsl.CouchbaseEndpointBuilderFactory.CouchbaseEndpointBuilder
couchbase(
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CouchbaseEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CouchbaseEndpointBuilderFactory.java
index 79ae808..48d2b90 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CouchbaseEndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CouchbaseEndpointBuilderFactory.java
@@ -1728,7 +1728,7 @@ public interface CouchbaseEndpointBuilderFactory {
* Since: 2.19
* Maven coordinates: org.apache.camel:camel-couchbase
*
- * Syntax: <code>couchbase:protocol:hostname:port</code>
+ * Syntax: <code>couchbase:protocol://hostname:port</code>
*
* Path parameter: protocol (required)
* The protocol to use
@@ -1740,7 +1740,7 @@ public interface CouchbaseEndpointBuilderFactory {
* The port number to use
* Default value: 8091
*
- * @param path protocol:hostname:port
+ * @param path protocol://hostname:port
* @return the dsl builder
*/
default CouchbaseEndpointBuilder couchbase(String path) {
@@ -1755,7 +1755,7 @@ public interface CouchbaseEndpointBuilderFactory {
* Since: 2.19
* Maven coordinates: org.apache.camel:camel-couchbase
*
- * Syntax: <code>couchbase:protocol:hostname:port</code>
+ * Syntax: <code>couchbase:protocol://hostname:port</code>
*
* Path parameter: protocol (required)
* The protocol to use
@@ -1769,7 +1769,7 @@ public interface CouchbaseEndpointBuilderFactory {
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
- * @param path protocol:hostname:port
+ * @param path protocol://hostname:port
* @return the dsl builder
*/
default CouchbaseEndpointBuilder couchbase(
diff --git a/docs/components/modules/ROOT/pages/couchbase-component.adoc
b/docs/components/modules/ROOT/pages/couchbase-component.adoc
index 7333201..50df522 100644
--- a/docs/components/modules/ROOT/pages/couchbase-component.adoc
+++ b/docs/components/modules/ROOT/pages/couchbase-component.adoc
@@ -58,7 +58,7 @@ The Couchbase component supports 3 options, which are listed
below.
The Couchbase endpoint is configured using URI syntax:
----
-couchbase:protocol:hostname:port
+couchbase:protocol://hostname:port
----
with the following path and query parameters: