Svetoslav Neykov created BROOKLYN-438:
-----------------------------------------
Summary: Expose URL builder-like functionality as DSL
Key: BROOKLYN-438
URL: https://issues.apache.org/jira/browse/BROOKLYN-438
Project: Brooklyn
Issue Type: Improvement
Reporter: Svetoslav Neykov
The existing {{BrooklynDslCommon.urlEncode}} function is affected by the
problems described in https://issues.apache.org/jira/browse/BROOKLYN-437.
A nice improvement would be to expose a URL builder as DSL so it's clear which
parts of the URL the user wants escaped.
It could like like this in "idiomatic yaml" as suggested by [~aledsage]:
{noformat}
$brooklyn:urlBuilder:
url: "http://host/path.to.jar"
user: $brooklyn:external("creds", "artifactory.username")
password: $brooklyn:external("creds", "artifactory.password")
{noformat}
See https://github.com/apache/brooklyn-server/pull/551 for discussion details.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)