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/12 12:10:16 UTC
[camel-kamelets] 03/03: Rename google-*-stream kamelets to google-*
since for source we'll use stream by default - google-sheets
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch google-rename
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 1c8c5b1ec3bae976578b7d224ee8e7c73e971531
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 12 13:09:55 2021 +0100
Rename google-*-stream kamelets to google-* since for source we'll use stream by default - google-sheets
---
.../assets/images/kamelets/google-sheets-source.svg | 16 ++++++++++++++++
docs/modules/ROOT/nav.adoc | 2 +-
...ts-stream-source.adoc => google-sheets-source.adoc} | 18 +++++++++---------
google-sheets-source.kamelet.yaml | 4 ++--
4 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/docs/modules/ROOT/assets/images/kamelets/google-sheets-source.svg b/docs/modules/ROOT/assets/images/kamelets/google-sheets-source.svg
new file mode 100644
index 0000000..4dc41ae
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/google-sheets-source.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 64 88" style="enable-background:new 0 0 64 88;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:#0DC54C;}
+ .st1{fill:#08962D;}
+ .st2{fill:#FDFFFF;}
+</style>
+<g id="Layer_4">
+ <path class="st0" d="M58,88H6c-3.3,0-6-2.7-6-6V6c0-3.3,2.7-6,6-6h36l22,22v60C64,85.3,61.3,88,58,88z"/>
+ <path class="st1" d="M42,0l22,22H42V0z"/>
+ <path class="st2" d="M12,34.5v28h40v-28H12z M17,39.5h12.5V46H17V39.5z M17,51h12.5v6.5H17V51z M47,57.5H34.5V51H47V57.5z M47,46
+ H34.5v-6.5H47V46z"/>
+</g>
+</svg>
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index f528ede..ac6d265 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -7,7 +7,7 @@
* xref:ROOT:ftps-source.adoc[image:kamelets/ftps-source.svg[] FTPS Source]
* xref:ROOT:google-calendar-source.adoc[image:kamelets/google-calendar-source.svg[] Google Calendar Source]
* xref:ROOT:google-mail-source.adoc[image:kamelets/google-mail-source.svg[] Google Mail Source]
-* xref:ROOT:google-sheets-stream-source.adoc[image:kamelets/google-sheets-stream-source.svg[] Google Sheets Stream Source]
+* xref:ROOT:google-sheets-source.adoc[image:kamelets/google-sheets-source.svg[] Google Sheets Source]
* xref:ROOT:http-source.adoc[image:kamelets/http-source.svg[] HTTP Source]
* xref:ROOT:jira-source.adoc[image:kamelets/jira-source.svg[] Jira Source]
* xref:ROOT:kafka-source.adoc[image:kamelets/kafka-source.svg[] Kafka Source]
diff --git a/docs/modules/ROOT/pages/google-sheets-stream-source.adoc b/docs/modules/ROOT/pages/google-sheets-source.adoc
similarity index 79%
rename from docs/modules/ROOT/pages/google-sheets-stream-source.adoc
rename to docs/modules/ROOT/pages/google-sheets-source.adoc
index 3940e9d..03b787b 100644
--- a/docs/modules/ROOT/pages/google-sheets-stream-source.adoc
+++ b/docs/modules/ROOT/pages/google-sheets-source.adoc
@@ -1,5 +1,5 @@
// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
-= image:kamelets/google-sheets-stream-source.svg[] Google Sheets Stream Source
+= image:kamelets/google-sheets-source.svg[] Google Sheets Source
*Provided by: "Apache Software Foundation"*
@@ -7,7 +7,7 @@ Receive data from Google Sheets.
== Configuration Options
-The following table summarizes the configuration options available for the `google-sheets-stream-source` Kamelet:
+The following table summarizes the configuration options available for the `google-sheets-source` Kamelet:
[width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
|===
| Property| Name| Description| Type| Default| Example
@@ -27,25 +27,25 @@ NOTE: Fields marked with ({empty}*) are mandatory.
== Usage
-This section summarizes how the `google-sheets-stream-source` can be used in various contexts.
+This section summarizes how the `google-sheets-source` can be used in various contexts.
=== Knative Source
-The `google-sheets-stream-source` Kamelet can be used as Knative source by binding it to a Knative object.
+The `google-sheets-source` Kamelet can be used as Knative source by binding it to a Knative object.
-.google-sheets-stream-source-binding.yaml
+.google-sheets-source-binding.yaml
[source,yaml]
----
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
- name: google-sheets-stream-source-binding
+ name: google-sheets-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
- name: google-sheets-stream-source
+ name: google-sheets-source
properties:
accessToken: "The Access Token"
applicationName: "The Application name"
@@ -64,12 +64,12 @@ spec:
Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to.
-Save the `google-sheets-stream-source-binding.yaml` file into your hard drive, then configure it according to your needs.
+Save the `google-sheets-source-binding.yaml` file into your hard drive, then configure it according to your needs.
You can run the source using the following command:
[source,shell]
----
-kubectl apply -f google-sheets-stream-source-binding.yaml
+kubectl apply -f google-sheets-source-binding.yaml
----
// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
diff --git a/google-sheets-source.kamelet.yaml b/google-sheets-source.kamelet.yaml
index f6f0a10..c0590a6 100644
--- a/google-sheets-source.kamelet.yaml
+++ b/google-sheets-source.kamelet.yaml
@@ -1,7 +1,7 @@
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
- name: google-sheets-stream-source
+ name: google-sheets-source
annotations:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA2NCA4OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjQgODg7Ii [...]
camel.apache.org/provider: "Apache Software Foundation"
@@ -9,7 +9,7 @@ metadata:
camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Google Sheets Stream Source"
+ title: "Google Sheets Source"
description: |-
Receive data from Google Sheets.
required: