kaoto
kaoto copied to clipboard
Support `uri` with and without `//`
Please describe the feature that you want to propose
Currently, Kaoto honors the syntax field of components, and some components do not use // as a delimiter while still supporting it.
Example of this is are ftp and sftp components:
"syntax": "ftp:host:port\/directoryName",
Notice how // it's not included in the syntax but still a user could write the URI as:
uri: ftp://myHost:myPort/dirName # (not supported by Kaoto)
# vs
uri: ftp:myHost:myPort/dirName # (supported by Kaoto)
The goal is to have support for uris using // delimiter, even if not specified in the syntax field.