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

davsclaus 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 bea9825  Polished
bea9825 is described below

commit bea98255d1c652fde97143557a92262b2ef1a598
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Sep 8 14:26:39 2020 +0200

    Polished
---
 .../camel/component/google/sheets/stream/google-sheets-stream.json   | 2 +-
 .../src/main/docs/google-sheets-stream-component.adoc                | 2 +-
 .../component/google/sheets/stream/GoogleSheetsStreamEndpoint.java   | 5 +++--
 core/camel-componentdsl/src/generated/resources/metadata.json        | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/stream/google-sheets-stream.json
 
b/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/stream/google-sheets-stream.json
index 39aae66..5267057 100644
--- 
a/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/stream/google-sheets-stream.json
+++ 
b/components/camel-google-sheets/src/generated/resources/org/apache/camel/component/google/sheets/stream/google-sheets-stream.json
@@ -17,7 +17,7 @@
     "syntax": "google-sheets-stream:apiName",
     "async": false,
     "api": false,
-    "apiPropertyQualifier": "",
+    "apiPropertyQualifier": "apiName",
     "consumerOnly": true,
     "producerOnly": false,
     "lenientProperties": false,
diff --git 
a/components/camel-google-sheets/src/main/docs/google-sheets-stream-component.adoc
 
b/components/camel-google-sheets/src/main/docs/google-sheets-stream-component.adoc
index 2ab2839..993c1c0 100644
--- 
a/components/camel-google-sheets/src/main/docs/google-sheets-stream-component.adoc
+++ 
b/components/camel-google-sheets/src/main/docs/google-sheets-stream-component.adoc
@@ -151,7 +151,7 @@ with the following path and query parameters:
 === Query API Parameters (2 APIs):
 
 The Google Sheets Stream endpoint is an API based component and has additional 
parameters based on which API name and method in use.
-The API name and method is located in the endpoint URI as the  path parameters:
+The API name and method is located in the endpoint URI as the apiName path 
parameters:
 
 ----
 google-sheets-stream:apiName
diff --git 
a/components/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpoint.java
 
b/components/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpoint.java
index afeb487..7885f7c 100644
--- 
a/components/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpoint.java
+++ 
b/components/camel-google-sheets/src/main/java/org/apache/camel/component/google/sheets/stream/GoogleSheetsStreamEndpoint.java
@@ -21,6 +21,7 @@ import java.util.List;
 import com.google.api.services.sheets.v4.Sheets;
 import com.google.api.services.sheets.v4.model.Spreadsheet;
 import com.google.api.services.sheets.v4.model.ValueRange;
+import org.apache.camel.Category;
 import org.apache.camel.Consumer;
 import org.apache.camel.Exchange;
 import org.apache.camel.Message;
@@ -37,9 +38,9 @@ import org.apache.camel.support.ScheduledPollEndpoint;
 @UriEndpoint(firstVersion = "2.23.0",
              scheme = "google-sheets-stream",
              title = "Google Sheets Stream",
-             syntax = "google-sheets-stream:apiName",
+             syntax = "google-sheets-stream:apiName", apiPropertyQualifier = 
"apiName",
              consumerOnly = true,
-             label = "api,cloud,sheets")
+             category = { Category.API, Category.CLOUD, Category.SHEETS })
 public class GoogleSheetsStreamEndpoint extends ScheduledPollEndpoint {
 
     @UriParam
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json 
b/core/camel-componentdsl/src/generated/resources/metadata.json
index ae96f41b..15fbdbb 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -3322,7 +3322,7 @@
     "syntax": "google-sheets-stream:apiName",
     "async": false,
     "api": false,
-    "apiPropertyQualifier": "",
+    "apiPropertyQualifier": "apiName",
     "consumerOnly": true,
     "producerOnly": false,
     "lenientProperties": false

Reply via email to