Skip to content

Commit

Permalink
Rename google-*-stream kamelets to google-* since for source we'll us…
Browse files Browse the repository at this point in the history
…e stream by default - google-sheets
  • Loading branch information
oscerd authored and nicolaferraro committed Mar 12, 2021
1 parent 32bbb70 commit 3784162
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
16 changes: 16 additions & 0 deletions docs/modules/ROOT/assets/images/kamelets/google-sheets-source.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// 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"*

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
Expand All @@ -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"
Expand All @@ -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
4 changes: 2 additions & 2 deletions google-sheets-source.kamelet.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA2NCA4OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjQgODg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojMERDNTRDO30KCS5zdDF7ZmlsbDojMDg5NjJEO30KCS5zdDJ7ZmlsbDojRkRGRkZGO30KPC9zdHlsZT4KPGcgaWQ9IkxheWVyXzQiPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTU4LDg4SDZjLTMuMywwLTYtMi43LTYtNlY2YzAtMy4zLDIuNy02LDYtNmgzNmwyMiwyMnY2MEM2NCw4NS4zLDYxLjMsODgsNTgsODh6Ii8+Cgk8cGF0aCBjbGFzcz0ic3QxIiBkPSJNNDIsMGwyMiwyMkg0MlYweiIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTEyLDM0LjV2MjhoNDB2LTI4SDEyeiBNMTcsMzkuNWgxMi41VjQ2SDE3VjM5LjV6IE0xNyw1MWgxMi41djYuNUgxN1Y1MXogTTQ3LDU3LjVIMzQuNVY1MUg0N1Y1Ny41eiBNNDcsNDYKCQlIMzQuNXYtNi41SDQ3VjQ2eiIvPgo8L2c+Cjwvc3ZnPgo="
camel.apache.org/provider: "Apache Software Foundation"
labels:
camel.apache.org/kamelet.type: "source"
spec:
definition:
title: "Google Sheets Stream Source"
title: "Google Sheets Source"
description: |-
Receive data from Google Sheets.
required:
Expand Down

0 comments on commit 3784162

Please sign in to comment.