Hi Peter,

That's great, I'm glad you got it working as you need.  I agree with your point 
in your earlier email about the documentation being improved. I've raised a 
JIRA issue for us with your suggestion at  [1]. There is a way to get the 
runtime ID of an app (if I’ve understood your question right), using 
$brooklyn:identity(), see [2] for examples. In general if you are wanting to 
define locations (paths, urls etc) for software processes, you can simply put 
the value in a config item, and then supply that item to the process through 
the environment, see [3] for an example of this in action in an Elasticsearch 
blueprint.


I also agree with you entirely about the bother with creating YAML (and not 
just YAML), it can be tricky to spot indentation issues especially.  I think 
given the way Brooklyn works it might be tricky to create a “dry run” view of 
an app without actually deploying it.  One thing you could have a look at is 
the graphical composer in our shiny new UI. It lets you create the app 
graphically, and switch to a YAML view if you like, and of course it gets its 
indentation right :-)

Hope Brooklyn is a useful tool for you.

Best
Geoff

[1] https://issues.apache.org/jira/browse/BROOKLYN-612
[2] https://github.com/apache/brooklyn-server/pull/219
[3] https://s.apache.org/yOfP


Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to