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:15 UTC

[camel-kamelets] 02/03: Rename google-*-stream kamelets to google-* since for source we'll use stream by default - google-mail

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 c76e23ab14266862f6f579d8dd2d1bd7e57319f8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 12 13:06:24 2021 +0100

    Rename google-*-stream kamelets to google-* since for source we'll use stream by default - google-mail
---
 .../ROOT/assets/images/kamelets/google-mail-source.svg |  7 +++++++
 docs/modules/ROOT/nav.adoc                             |  2 +-
 ...mail-stream-source.adoc => google-mail-source.adoc} | 18 +++++++++---------
 ...rce.kamelet.yaml => google-mail-source.kamelet.yaml |  4 ++--
 4 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/docs/modules/ROOT/assets/images/kamelets/google-mail-source.svg b/docs/modules/ROOT/assets/images/kamelets/google-mail-source.svg
new file mode 100644
index 0000000..40b7175
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/google-mail-source.svg
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="52 42 88 66">
+<path fill="#4285f4" d="M58 108h14V74L52 59v43c0 3.32 2.69 6 6 6"/>
+<path fill="#34a853" d="M120 108h14c3.32 0 6-2.69 6-6V59l-20 15"/>
+<path fill="#fbbc04" d="M120 48v26l20-15v-8c0-7.42-8.47-11.65-14.4-7.2"/>
+<path fill="#ea4335" d="M72 74V48l24 18 24-18v26L96 92"/>
+<path fill="#c5221f" d="M52 51v8l20 15V48l-5.6-4.2c-5.94-4.45-14.4-.22-14.4 7.2"/>
+</svg>
\ No newline at end of file
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 969f988..f528ede 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -6,7 +6,7 @@
 * xref:ROOT:ftp-source.adoc[image:kamelets/ftp-source.svg[] FTP Source]
 * 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-stream-source.adoc[image:kamelets/google-mail-stream-source.svg[] Google Mail Stream 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:http-source.adoc[image:kamelets/http-source.svg[] HTTP Source]
 * xref:ROOT:jira-source.adoc[image:kamelets/jira-source.svg[] Jira Source]
diff --git a/docs/modules/ROOT/pages/google-mail-stream-source.adoc b/docs/modules/ROOT/pages/google-mail-source.adoc
similarity index 79%
rename from docs/modules/ROOT/pages/google-mail-stream-source.adoc
rename to docs/modules/ROOT/pages/google-mail-source.adoc
index 5128c5d..15a7bf1 100644
--- a/docs/modules/ROOT/pages/google-mail-stream-source.adoc
+++ b/docs/modules/ROOT/pages/google-mail-source.adoc
@@ -1,5 +1,5 @@
 // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
-= image:kamelets/google-mail-stream-source.svg[] Google Mail Stream Source
+= image:kamelets/google-mail-source.svg[] Google Mail Source
 
 *Provided by: "Apache Software Foundation"*
 
@@ -7,7 +7,7 @@ Receive data from Google Mail.
 
 == Configuration Options
 
-The following table summarizes the configuration options available for the `google-mail-stream-source` Kamelet:
+The following table summarizes the configuration options available for the `google-mail-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-mail-stream-source` can be used in various contexts.
+This section summarizes how the `google-mail-source` can be used in various contexts.
 
 === Knative Source
 
-The `google-mail-stream-source` Kamelet can be used as Knative source by binding it to a Knative object.
+The `google-mail-source` Kamelet can be used as Knative source by binding it to a Knative object.
 
-.google-mail-stream-source-binding.yaml
+.google-mail-source-binding.yaml
 [source,yaml]
 ----
 apiVersion: camel.apache.org/v1alpha1
 kind: KameletBinding
 metadata:
-  name: google-mail-stream-source-binding
+  name: google-mail-source-binding
 spec:
   source:
     ref:
       kind: Kamelet
       apiVersion: camel.apache.org/v1alpha1
-      name: google-mail-stream-source
+      name: google-mail-source
     properties:
       accessToken: "The Access Token"
       applicationName: "The Application name"
@@ -63,12 +63,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-mail-stream-source-binding.yaml` file into your hard drive, then configure it according to your needs.
+Save the `google-mail-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-mail-stream-source-binding.yaml
+kubectl apply -f google-mail-source-binding.yaml
 ----
 // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
diff --git a/google-mail-stream-source.kamelet.yaml b/google-mail-source.kamelet.yaml
similarity index 98%
rename from google-mail-stream-source.kamelet.yaml
rename to google-mail-source.kamelet.yaml
index 0fbe7c6..ed4461c 100644
--- a/google-mail-stream-source.kamelet.yaml
+++ b/google-mail-source.kamelet.yaml
@@ -1,7 +1,7 @@
 apiVersion: camel.apache.org/v1alpha1
 kind: Kamelet
 metadata:
-  name: google-mail-stream-source
+  name: google-mail-source
   annotations:
     camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjUyIDQyIDg4IDY2Ij4KPHBhdGggZmlsbD0iIzQyODVmNCIgZD0iTTU4IDEwOGgxNFY3NEw1MiA1OXY0M2MwIDMuMzIgMi42OSA2IDYgNiIvPgo8cGF0aCBmaWxsPSIjMzRhODUzIiBkPSJNMTIwIDEwOGgxNGMzLjMyIDAgNi0yLjY5IDYtNlY1OWwtMjAgMTUiLz4KPHBhdGggZmlsbD0iI2ZiYmMwNCIgZD0iTTEyMCA0OHYyNmwyMC0xNXYtOGMwLTcuNDItOC40Ny0xMS42NS0xNC40LTcuMiIvPgo8cGF0aCBmaWxsPSIjZWE0MzM1IiBkPSJNNzIgNzRWNDhsMjQgMTggMjQtMTh2MjZMOT [...]
     camel.apache.org/provider: "Apache Software Foundation"
@@ -9,7 +9,7 @@ metadata:
     camel.apache.org/kamelet.type: "source"
 spec:
   definition:
-    title: "Google Mail Stream Source"
+    title: "Google Mail Source"
     description: |-
       Receive data from Google Mail.
     required: