brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murdo Aird"<murdo.a...@cloudsoftcorp.com>
Subject Is nested DSL supported?
Date Thu, 25 May 2017 12:59:40 GMT
Can Brooklyn DSL be nested? 

I want to retrieve a secret from vault using the external provider and the following syntax
works:

$brooklyn:external("vault", "name-of-secret")

However, the secret I want to retrieve is variable and depends on the way the blueprint is
deployed. I, therefore, want to be able to pull the "name-of-secret" from some other config.
For example:

$brooklyn:external("vault", $brooklyn:entity("blah").config("name-of-secret"))

However that syntax does not work. Any guidance would be appreciated. 

Thanks
Murdo

Mime
View raw message