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 2022/07/15 09:55:04 UTC
[camel-kamelets] branch azure-functions-kamelet created (now d9b8f347)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch azure-functions-kamelet
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
at d9b8f347 Added Azure Functions Sink Kamelet
This branch includes the following new commits:
new b3d4dd07 Added Azure Functions Sink Kamelet
new d1641975 Added Azure Functions Sink Kamelet
new df688861 Added Azure Functions Sink Kamelet
new b029f9cb Added Azure Functions Sink Kamelet
new d9b8f347 Added Azure Functions Sink Kamelet
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[camel-kamelets] 02/05: Added Azure Functions Sink Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-functions-kamelet
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit d1641975516fb1dadbd631689bd0c43e8f469662
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 15 11:46:49 2022 +0200
Added Azure Functions Sink Kamelet
---
kamelets/azure-functions-sink.kamelet.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kamelets/azure-functions-sink.kamelet.yaml b/kamelets/azure-functions-sink.kamelet.yaml
index 8e6dd830..15b59916 100644
--- a/kamelets/azure-functions-sink.kamelet.yaml
+++ b/kamelets/azure-functions-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
annotations:
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/catalog.version: "main-SNAPSHOT"
- camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE4LjI0IDIxLjQ2IDY0IDY0IiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPjxwYXRoIGQ9Ik04MS44MzcgNTMuODVjLjU4NS0uNTg1LjQ4Ny0xLjcgMC0yLjMwN2wtMy4wODctMy4wODctMTMuOC0xMy4zODZjLS41ODUtLjU4NS0xLjQ5NS0uNTg1LTIuMiAwLS41ODUuNTg1LS44MTIgMS43IDAgMi4zMDdsMTQuNSAxNC4xOThjLjU4NS41ODUuNTg1IDEuNyAwIDIuMzA3TDYyLjQ0IDY4LjU2OGMtLjU4NS41ODUtLjU4NSAxLjcgMCAyLjMwNy41ODUuNTg1IDEuNy40ODcgMi4yIDBsMTMuOC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Functions"
labels:
@@ -39,7 +39,7 @@ spec:
description: The Azure Functions URL you want to send the data to.
type: string
example: "https://my-service/path"
- pattern: "^(http|https)://.*"
+ pattern: "^(https)://.*"
method:
title: Method
description: The HTTP method to use.
[camel-kamelets] 03/05: Added Azure Functions Sink Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-functions-kamelet
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit df688861f2d27b5d76db52a9269965cd2cab1db8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 15 11:48:52 2022 +0200
Added Azure Functions Sink Kamelet
---
kamelets/azure-functions-sink.kamelet.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kamelets/azure-functions-sink.kamelet.yaml b/kamelets/azure-functions-sink.kamelet.yaml
index 15b59916..2aa0a649 100644
--- a/kamelets/azure-functions-sink.kamelet.yaml
+++ b/kamelets/azure-functions-sink.kamelet.yaml
@@ -38,7 +38,7 @@ spec:
title: URL
description: The Azure Functions URL you want to send the data to.
type: string
- example: "https://my-service/path"
+ example: "https://azure-function-demo-12234.azurewebsites.net/api/httpexample"
pattern: "^(https)://.*"
method:
title: Method
[camel-kamelets] 01/05: Added Azure Functions Sink Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-functions-kamelet
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit b3d4dd075677f35f9a1855981780397c0f9def7a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 15 11:44:43 2022 +0200
Added Azure Functions Sink Kamelet
---
kamelets/azure-functions-sink.kamelet.yaml | 69 ++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/kamelets/azure-functions-sink.kamelet.yaml b/kamelets/azure-functions-sink.kamelet.yaml
new file mode 100644
index 00000000..8e6dd830
--- /dev/null
+++ b/kamelets/azure-functions-sink.kamelet.yaml
@@ -0,0 +1,69 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: azure-functions-sink
+ annotations:
+ camel.apache.org/kamelet.support.level: "Stable"
+ camel.apache.org/catalog.version: "main-SNAPSHOT"
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ camel.apache.org/kamelet.group: "Azure Functions"
+ labels:
+ camel.apache.org/kamelet.type: sink
+spec:
+ definition:
+ title: Azure Function Sink
+ description: Forward data to an Azure Function.
+ required:
+ - url
+ type: object
+ properties:
+ url:
+ title: URL
+ description: The Azure Functions URL you want to send the data to.
+ type: string
+ example: "https://my-service/path"
+ pattern: "^(http|https)://.*"
+ method:
+ title: Method
+ description: The HTTP method to use.
+ type: string
+ default: POST
+ key:
+ title: Key
+ description: A function-specific API key is required, if the authLevel of the function is FUNCTION or master key if the authLevel is ADMIN.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
+ dependencies:
+ - "camel:http"
+ - "camel:kamelet"
+ - "camel:core"
+ template:
+ from:
+ uri: kamelet:source
+ steps:
+ - remove-header:
+ name: CamelHttpUri
+ - set-header:
+ name: CamelHttpMethod
+ constant: "{{method}}"
+ - to: "{{url}}?code={{?key}}"
[camel-kamelets] 04/05: Added Azure Functions Sink Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-functions-kamelet
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit b029f9cb55984e7f1a6c68e9327df29365777d32
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 15 11:49:37 2022 +0200
Added Azure Functions Sink Kamelet
---
.../kamelets/azure-functions-sink.kamelet.yaml | 69 ++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
new file mode 100644
index 00000000..2aa0a649
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
@@ -0,0 +1,69 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: azure-functions-sink
+ annotations:
+ camel.apache.org/kamelet.support.level: "Stable"
+ camel.apache.org/catalog.version: "main-SNAPSHOT"
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE4LjI0IDIxLjQ2IDY0IDY0IiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPjxwYXRoIGQ9Ik04MS44MzcgNTMuODVjLjU4NS0uNTg1LjQ4Ny0xLjcgMC0yLjMwN2wtMy4wODctMy4wODctMTMuOC0xMy4zODZjLS41ODUtLjU4NS0xLjQ5NS0uNTg1LTIuMiAwLS41ODUuNTg1LS44MTIgMS43IDAgMi4zMDdsMTQuNSAxNC4xOThjLjU4NS41ODUuNTg1IDEuNyAwIDIuMzA3TDYyLjQ0IDY4LjU2OGMtLjU4NS41ODUtLjU4NSAxLjcgMCAyLjMwNy41ODUuNTg1IDEuNy40ODcgMi4yIDBsMTMuOC [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ camel.apache.org/kamelet.group: "Azure Functions"
+ labels:
+ camel.apache.org/kamelet.type: sink
+spec:
+ definition:
+ title: Azure Function Sink
+ description: Forward data to an Azure Function.
+ required:
+ - url
+ type: object
+ properties:
+ url:
+ title: URL
+ description: The Azure Functions URL you want to send the data to.
+ type: string
+ example: "https://azure-function-demo-12234.azurewebsites.net/api/httpexample"
+ pattern: "^(https)://.*"
+ method:
+ title: Method
+ description: The HTTP method to use.
+ type: string
+ default: POST
+ key:
+ title: Key
+ description: A function-specific API key is required, if the authLevel of the function is FUNCTION or master key if the authLevel is ADMIN.
+ type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
+ dependencies:
+ - "camel:http"
+ - "camel:kamelet"
+ - "camel:core"
+ template:
+ from:
+ uri: kamelet:source
+ steps:
+ - remove-header:
+ name: CamelHttpUri
+ - set-header:
+ name: CamelHttpMethod
+ constant: "{{method}}"
+ - to: "{{url}}?code={{?key}}"
[camel-kamelets] 05/05: Added Azure Functions Sink Kamelet
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch azure-functions-kamelet
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit d9b8f347503e0b42b725ce5a64d203b0f7d0f0c6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 15 11:52:16 2022 +0200
Added Azure Functions Sink Kamelet
---
docs/modules/ROOT/nav.adoc | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index eac83996..8285e7a8 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -26,6 +26,7 @@
* xref:azure-cosmosdb-source.adoc[]
* xref:azure-eventhubs-sink.adoc[]
* xref:azure-eventhubs-source.adoc[]
+* xref:azure-functions-sink.adoc[]
* xref:azure-servicebus-sink.adoc[]
* xref:azure-servicebus-source.adoc[]
* xref:azure-storage-blob-changefeed-source.adoc[]