Github user aledsage commented on the issue:
https://github.com/apache/brooklyn-server/pull/551
@neykov I like your idea of something like:
`$brooklyn:urlBuilder("http://host/path.to.jar").userInfo(external("artifactory.credentials")).build()`.
Or perhaps (IMO) in more "idiomatic yaml":
```
$brooklyn:urlBuilder:
url: "http://host/path.to.jar"
user: $brooklyn:external("creds", "artifactory.username")
password: $brooklyn:external("creds", "artifactory.password")
```
I'd prefer the yaml we write to look like configuration rather than code
(even if it is turned into method calls under the covers).
@neykov Do you want to capture this discussion in an Apache Brooklyn jira
"improvement"?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---