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:14 UTC
[camel-kamelets] 01/03: Rename google-*-stream kamelets to google-*
since for source we'll use stream by default - google-calendar
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 e2c23cc8411055244c62c0a109202e1f8cd63fbc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 12 13:03:29 2021 +0100
Rename google-*-stream kamelets to google-* since for source we'll use stream by default - google-calendar
---
...ar-stream-source.svg => google-calendar-source.svg} | 0
docs/modules/ROOT/nav.adoc | 2 +-
...-stream-source.adoc => google-calendar-source.adoc} | 18 +++++++++---------
...kamelet.yaml => google-calendar-source.kamelet.yaml | 4 ++--
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/docs/modules/ROOT/assets/images/kamelets/google-calendar-stream-source.svg b/docs/modules/ROOT/assets/images/kamelets/google-calendar-source.svg
similarity index 100%
rename from docs/modules/ROOT/assets/images/kamelets/google-calendar-stream-source.svg
rename to docs/modules/ROOT/assets/images/kamelets/google-calendar-source.svg
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index bec5223..969f988 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -5,7 +5,7 @@
* xref:ROOT:bitcoin-source.adoc[image:kamelets/bitcoin-source.svg[] Bitcoin Source]
* 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-stream-source.adoc[image:kamelets/google-calendar-stream-source.svg[] Google Calendar Stream 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-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]
diff --git a/docs/modules/ROOT/pages/google-calendar-stream-source.adoc b/docs/modules/ROOT/pages/google-calendar-source.adoc
similarity index 78%
rename from docs/modules/ROOT/pages/google-calendar-stream-source.adoc
rename to docs/modules/ROOT/pages/google-calendar-source.adoc
index b30e607..8140694 100644
--- a/docs/modules/ROOT/pages/google-calendar-stream-source.adoc
+++ b/docs/modules/ROOT/pages/google-calendar-source.adoc
@@ -1,5 +1,5 @@
// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
-= image:kamelets/google-calendar-stream-source.svg[] Google Calendar Stream Source
+= image:kamelets/google-calendar-source.svg[] Google Calendar Source
*Provided by: "Apache Software Foundation"*
@@ -7,7 +7,7 @@ Receive data from Google Calendar.
== Configuration Options
-The following table summarizes the configuration options available for the `google-calendar-stream-source` Kamelet:
+The following table summarizes the configuration options available for the `google-calendar-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-calendar-stream-source` can be used in various contexts.
+This section summarizes how the `google-calendar-source` can be used in various contexts.
=== Knative Source
-The `google-calendar-stream-source` Kamelet can be used as Knative source by binding it to a Knative object.
+The `google-calendar-source` Kamelet can be used as Knative source by binding it to a Knative object.
-.google-calendar-stream-source-binding.yaml
+.google-calendar-source-binding.yaml
[source,yaml]
----
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
- name: google-calendar-stream-source-binding
+ name: google-calendar-source-binding
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
- name: google-calendar-stream-source
+ name: google-calendar-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-calendar-stream-source-binding.yaml` file into your hard drive, then configure it according to your needs.
+Save the `google-calendar-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-calendar-stream-source-binding.yaml
+kubectl apply -f google-calendar-source-binding.yaml
----
// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
diff --git a/google-calendar-stream-source.kamelet.yaml b/google-calendar-source.kamelet.yaml
similarity index 98%
rename from google-calendar-stream-source.kamelet.yaml
rename to google-calendar-source.kamelet.yaml
index 2a88829..478809c 100644
--- a/google-calendar-stream-source.kamelet.yaml
+++ b/google-calendar-source.kamelet.yaml
@@ -1,7 +1,7 @@
apiVersion: camel.apache.org/v1alpha1
kind: Kamelet
metadata:
- name: google-calendar-stream-source
+ name: google-calendar-source
annotations:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE4NiAzOCA3NiA3NiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTI0NCA1NmgtNDB2NDBoNDBWNTZ6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgZD0iTTI0NCAxMTRsMTgtMThoLTE4djE4eiIvPjxwYXRoIGZpbGw9IiNGQkJDMDQiIGQ9Ik0yNjIgNTZoLTE4djQwaDE4VjU2eiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Ik0yNDQgOTZoLTQwdjE4aDQwVjk2eiIvPjxwYXRoIGZpbGw9IiMxODgwMzgiIGQ9Ik0xODYgOTZ2MTJjMCAzLjMxNSAyLjY4NSA2IDYgNmgxMlY5NmgtMTh6Ii8+PH [...]
camel.apache.org/provider: "Apache Software Foundation"
@@ -9,7 +9,7 @@ metadata:
camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Google Calendar Stream Source"
+ title: "Google Calendar Source"
description: |-
Receive data from Google Calendar.
required: