Can the SFTP protocol be used for rhq:url-file or rhq:url-archive in JON bundles?
Issue
- SFTP URL not possible in
rhq:url-file
orrhq:url-archive
- sftp is not a valid URL.
-
Bundle creation fails:
java.lang.Exception:Failed to parse the bundle Ant script. -> org.apache.tools.ant.BuildException:URL specified by 'url' attribute [sftp://myuser:mysecret@example.com/files.zip] is malformed - it must be a valid URL.
-
Can sftp be used as the protocol in the value for url?
Environment
- Red Hat JBoss Operations Network (ON) 3.1
- JBoss ON provisioning bundle
-
Bundle recipe that includes the
rhq:url-file
orrhq:url-archive
element:... <rhq:deployment-unit name="files"> <rhq:url-archive url="sftp://myuser:mysecret@example.com/files.zip" exploded="true" /> </rhq:deployment-unit> ...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.