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/08 11:13:17 UTC
[camel-kamelets] 01/02: Added FTPS Source Kamelet
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch ftps
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 5228e9d7b7035cc3e22003eb6b339cf9a355a64f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 8 12:12:18 2021 +0100
Added FTPS Source Kamelet
---
ftps-source.kamelet.yaml | 69 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/ftps-source.kamelet.yaml b/ftps-source.kamelet.yaml
new file mode 100644
index 0000000..476a44e
--- /dev/null
+++ b/ftps-source.kamelet.yaml
@@ -0,0 +1,69 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+ name: ftps-source
+ annotations:
+ camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAyMjEuMSAzMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwID [...]
+ camel.apache.org/provider: "Apache Software Foundation"
+ labels:
+ camel.apache.org/kamelet.type: "source"
+ camel.apache.org/kamelet.group: "FTP"
+spec:
+ definition:
+ title: "FTPS Source"
+ description: |-
+ Receive data from an FTPS Server.
+ required:
+ - host
+ - port
+ - username
+ - password
+ - directoryName
+ properties:
+ host:
+ title: Host
+ description: Hostname of the FTPS server
+ type: string
+ port:
+ title: Port
+ description: Port of the FTPS server
+ type: string
+ default: 21
+ username:
+ title: Username
+ description: The username to access the FTPS server
+ type: string
+ password:
+ title: Password
+ description: The password to access the FTPS server
+ type: string
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ directoryName:
+ title: Directory Name
+ description: The starting directory
+ type: string
+ passiveMode:
+ title: Passive Mode
+ description: Sets passive mode connection
+ type: boolean
+ default: false
+ recursive:
+ title: Recursive
+ description: If a directory, will look for files in all the sub-directories as well.
+ type: boolean
+ default: false
+ types:
+ out:
+ mediaType: application/json
+ flow:
+ from:
+ uri: "ftps:{{username}}@{{host}}:{{port}}/{{directoryName}}"
+ parameters:
+ password: "{{password}}"
+ passiveMode: "{{passiveMode}}"
+ recursive: "{{recursive}}"
+ steps:
+ - convert-body-to:
+ type: "java.lang.String"
+ - to: "kamelet:sink"