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/01/03 13:59:13 UTC

[camel-kamelets] branch pr-source-github created (now 3a1616c)

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

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


      at 3a1616c  Added Github Pull Request Source Kamelet

This branch includes the following new commits:

     new b907649  Added Github Pull Request Source kamelet
     new 9261d9a  Added Github pull Request Source kamelet
     new 0ff542f  Added Github Pull Request Source Kamelet
     new 425b6bd  Added Github Pull Request Source Kamelet
     new 3a1616c  Added Github Pull Request Source 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] 03/05: Added Github Pull Request 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 pr-source-github
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0ff542f180bd78ca058a9e3f7250b030d6a4a748
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 3 14:56:14 2022 +0100

    Added Github Pull Request Source 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 fe14fed..16ded7c 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -55,6 +55,7 @@
 * xref:ftps-source.adoc[]
 * xref:github-commit-source.adoc[]
 * xref:github-event-source.adoc[]
+* xref:github-pullrequest-source.adoc[]
 * xref:github-source.adoc[]
 * xref:github-tag-source.adoc[]
 * xref:google-calendar-source.adoc[]

[camel-kamelets] 01/05: Added Github Pull Request 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 pr-source-github
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit b9076491b55830eaa5b7af15c73c81be6ce85eaa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 3 14:55:13 2022 +0100

    Added Github Pull Request Source kamelet
---
 kamelets/github-pullrequest-source.kamelet.yaml | 74 +++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/kamelets/github-pullrequest-source.kamelet.yaml b/kamelets/github-pullrequest-source.kamelet.yaml
new file mode 100644
index 0000000..0dd9d0f
--- /dev/null
+++ b/kamelets/github-pullrequest-source.kamelet.yaml
@@ -0,0 +1,74 @@
+# ---------------------------------------------------------------------------
+# 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: github-pullrequest-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Preview"
+    camel.apache.org/catalog.version: "main-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "GitHub"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Github Pull Request Source"
+    description: |-
+      Receive pull request From Github.
+    required:
+      - repoName
+      - repoOwner
+      - oauthToken
+      - startingSha
+    type: object
+    properties:
+      repoName:
+        title: Repository Name
+        description: The Github Repository name
+        type: string
+      repoOwner:
+        title: Repository Owner
+        description: The repository owner
+        type: string
+      oauthToken:
+        title: OAuth Token
+        description: Oauth token
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+  types:
+    out:
+      mediaType: application/json
+  dependencies:
+  - "camel:jackson"
+  - "camel:github"
+  - "camel:kamelet"
+  flow:
+    from:
+      uri: "github://pullRequest"
+      parameters:
+        repoName: "{{repoName}}"
+        repoOwner: "{{repoOwner}}"
+        oauthToken: "{{oauthToken}}"
+      steps:
+      - marshal:
+          json: {}
+      - to: "kamelet:sink"

[camel-kamelets] 05/05: Added Github Pull Request 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 pr-source-github
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 3a1616c4c5c0477815f645c25c4031c84d6456a8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 3 14:58:36 2022 +0100

    Added Github Pull Request Source Kamelet
---
 .../src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
index 0dd9d0f..af2b042 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
@@ -35,7 +35,6 @@ spec:
       - repoName
       - repoOwner
       - oauthToken
-      - startingSha
     type: object
     properties:
       repoName:

[camel-kamelets] 02/05: Added Github pull Request 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 pr-source-github
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9261d9a0753fadc412136504c1e32fa0636e1772
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 3 14:55:50 2022 +0100

    Added Github pull Request Source kamelet
---
 .../github-pullrequest-source.kamelet.yaml         | 74 ++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
new file mode 100644
index 0000000..0dd9d0f
--- /dev/null
+++ b/library/camel-kamelets/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
@@ -0,0 +1,74 @@
+# ---------------------------------------------------------------------------
+# 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: github-pullrequest-source
+  annotations:
+    camel.apache.org/kamelet.support.level: "Preview"
+    camel.apache.org/catalog.version: "main-SNAPSHOT"
+    camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "GitHub"
+  labels:
+    camel.apache.org/kamelet.type: "source"
+spec:
+  definition:
+    title: "Github Pull Request Source"
+    description: |-
+      Receive pull request From Github.
+    required:
+      - repoName
+      - repoOwner
+      - oauthToken
+      - startingSha
+    type: object
+    properties:
+      repoName:
+        title: Repository Name
+        description: The Github Repository name
+        type: string
+      repoOwner:
+        title: Repository Owner
+        description: The repository owner
+        type: string
+      oauthToken:
+        title: OAuth Token
+        description: Oauth token
+        type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
+        - urn:camel:group:credentials
+  types:
+    out:
+      mediaType: application/json
+  dependencies:
+  - "camel:jackson"
+  - "camel:github"
+  - "camel:kamelet"
+  flow:
+    from:
+      uri: "github://pullRequest"
+      parameters:
+        repoName: "{{repoName}}"
+        repoOwner: "{{repoOwner}}"
+        oauthToken: "{{oauthToken}}"
+      steps:
+      - marshal:
+          json: {}
+      - to: "kamelet:sink"

[camel-kamelets] 04/05: Added Github Pull Request 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 pr-source-github
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 425b6bd1f1855f4393fbb972492ae2bf7e114baf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 3 14:57:40 2022 +0100

    Added Github Pull Request Source Kamelet
---
 kamelets/github-pullrequest-source.kamelet.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kamelets/github-pullrequest-source.kamelet.yaml b/kamelets/github-pullrequest-source.kamelet.yaml
index 0dd9d0f..af2b042 100644
--- a/kamelets/github-pullrequest-source.kamelet.yaml
+++ b/kamelets/github-pullrequest-source.kamelet.yaml
@@ -35,7 +35,6 @@ spec:
       - repoName
       - repoOwner
       - oauthToken
-      - startingSha
     type: object
     properties:
       repoName: