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/12/01 09:57:14 UTC

[camel-kamelets] branch main updated (d809a6ea -> 2526f7a3)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from d809a6ea Added Microsoft Exchange IMAP OAUTH source kamelet
     new 1ca27e32 Added Microsoft Exchange IMAP OAUTH source kamelet
     new 6092cd40 Added Microsoft Exchange IMAP OAUTH source kamelet
     new cf9591ac Added Microsoft Exchange IMAP OAUTH source kamelet
     new 2526f7a3 Added Microsoft Exchange IMAP OAUTH source kamelet

The 4 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.


Summary of changes:
 kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml            | 4 ++--
 .../kamelets}/ms-exchange-online-imap-oauth-source.kamelet.yaml       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
 copy {kamelets => library/camel-kamelets/src/main/resources/kamelets}/ms-exchange-online-imap-oauth-source.kamelet.yaml (98%)


[camel-kamelets] 03/04: Added Microsoft Exchange IMAP OAUTH source kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit cf9591ac00c90ecab562bc5d2aa31a895fd75614
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 1 10:56:16 2022 +0100

    Added Microsoft Exchange IMAP OAUTH source kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml b/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
index 3c1f7f1a..8523bea2 100644
--- a/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
+++ b/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
@@ -17,7 +17,7 @@
 apiVersion: camel.apache.org/v1alpha1
 kind: Kamelet
 metadata:
-  name:   name:ms-exchange-online-imap-oauth-source
+  name: ms-exchange-online-imap-oauth-source
   annotations:
     camel.apache.org/kamelet.support.level: "Stable"
     camel.apache.org/catalog.version: "main-SNAPSHOT"


[camel-kamelets] 04/04: Added Microsoft Exchange IMAP OAUTH source kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 2526f7a33b5d5f3d5a3af4e554dfc47984e4d88d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 1 10:57:04 2022 +0100

    Added Microsoft Exchange IMAP OAUTH source kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
index 3c1f7f1a..8523bea2 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
@@ -17,7 +17,7 @@
 apiVersion: camel.apache.org/v1alpha1
 kind: Kamelet
 metadata:
-  name:   name:ms-exchange-online-imap-oauth-source
+  name: ms-exchange-online-imap-oauth-source
   annotations:
     camel.apache.org/kamelet.support.level: "Stable"
     camel.apache.org/catalog.version: "main-SNAPSHOT"


[camel-kamelets] 02/04: Added Microsoft Exchange IMAP OAUTH source kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6092cd401bf22da1bb1ab1f003d04e21b6a4e804
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 1 10:54:55 2022 +0100

    Added Microsoft Exchange IMAP OAUTH source kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 ...-exchange-online-imap-oauth-source.kamelet.yaml | 104 +++++++++++++++++++++
 1 file changed, 104 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
new file mode 100644
index 00000000..3c1f7f1a
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
@@ -0,0 +1,104 @@
+# ---------------------------------------------------------------------------
+# 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:   name:ms-exchange-online-imap-oauth-source
+  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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjQgOCA1NSA0OCI+PHRpdGxlPkV4Y2hhbmdlXzY0eDwvdGl0bGU+PHBhdGggZD0iTTU1LjUwOTc3LDhoLTEyLjIwN0EzLjQ4ODM1LDMuNDg4MzUsMCwwLDAsNDAuODM1LDkuMDIyNDZMMTIuMDIyNDYsMzcuODM1QTMuNDg4MzUsMy40ODgzNSwwLDAsMCwxMSw0MC4zMDI3M3YxMi4yMDdBMy40OTAwNiwzLjQ5MDA2LDAsMCwwLDE0LjQ5MDIzLDU2aDEyLjIwN0EzLjQ4ODM1LDMuNDg4MzUsMCwwLDAsMjkuMTY1LDU0Ljk3NzU0TDU3Ljk3OCwyNi4xNjVBMy40ODk5NCwzLjQ4OTk0LDAsMC [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "Mail"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Microsoft Exchange IMAP OAuth2 Source"
+    description: |-
+      Receive unread emails from an IMAP Microsoft Exchange mail server, marking them as read once they are received.
+      It uses OAuth2 to authenticate IMAP session.
+    required:
+      - tenantId
+      - clientId
+      - clientSecret
+      - username
+    type: object
+    properties:
+      connectionHost:
+        title: Connection Host
+        description: The IMAP server host
+        type: string
+        default: outlook.office365.com
+      connectionPort:
+        title: Connection Port
+        description: The IMAP server port
+        type: string
+        default: 993
+      tenantId:
+        title: Tenant ID
+        description: Azure Active Directory Tenant ID
+        type: string
+      clientId:
+        title: Client ID
+        description: Azure Active Directory Application Client ID
+        type: string
+        x-descriptors:
+          - urn:camel:group:credentials
+      clientSecret:
+        title: Client Secret
+        description: The Azure Active Directory Application Client Secret
+        type: string
+        format: password
+        x-descriptors:
+          - urn:alm:descriptor:com.tectonic.ui:password
+          - urn:camel:group:credentials
+      username:
+        title: Username
+        description: The username to access the mail box
+        type: string
+        example: arthur@mycompany.com
+        x-descriptors:
+          - urn:camel:group:credentials
+      fetchSize:
+        title: Fetch Size
+        description: The number of messages fetched for each poll (-1 for no limits)
+        type: integer
+        default: 10
+      delay:
+        title: Delay
+        description: The delay between fetches in milliseconds
+        type: integer
+        default: 60000
+  dependencies:
+    - "camel:core"
+    - "camel:kamelet"
+    - "camel:mail-microsoft-oauth"
+  template:
+    beans:
+      - name: exchangeAuthenticator
+        type: "#class:org.apache.camel.component.mail.microsoft.authenticator.MicrosoftExchangeOnlineOAuth2MailAuthenticator({{tenantId}}, {{clientId}}, {{clientSecret}}, {{username}})"
+    from:
+      uri: "imaps:{{connectionHost}}:{{connectionPort}}"
+      parameters:
+        mail.imaps.auth.mechanisms: "XOAUTH2"
+        username: "{{username}}"
+        fetchSize: "{{fetchSize}}"
+        delay: "{{delay}}"
+        authenticator: "#bean:{{exchangeAuthenticator}}"
+      steps:
+        - to: "kamelet:sink"


[camel-kamelets] 01/04: Added Microsoft Exchange IMAP OAUTH source kamelet

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 1ca27e32a552f7f847419808cda3fae8dd5ba22d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Dec 1 10:54:36 2022 +0100

    Added Microsoft Exchange IMAP OAUTH source kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml b/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
index e774f276..3c1f7f1a 100644
--- a/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
+++ b/kamelets/ms-exchange-online-imap-oauth-source.kamelet.yaml
@@ -101,4 +101,4 @@ spec:
         delay: "{{delay}}"
         authenticator: "#bean:{{exchangeAuthenticator}}"
       steps:
-        - to: "kamelet:sink"
\ No newline at end of file
+        - to: "kamelet:sink"