Re: Nice-to-have: Built-in Cluster Sensor List Generator

2016-05-06 Thread Alex Heneveld
Mike, All- Rather than move the YAML into Java how about working towards being able to import YAML fragments? In the simplest case this could be something like brooklyn.enrichers: - $brooklyn:import(cluster-list-member-addresses-enrichers.yaml) - ... # another enricher Where

Re: Nice-to-have: Built-in Cluster Sensor List Generator

2016-05-06 Thread Thomas Bouron
+0.5 I like the idea but I'm afraid it is too specific (i.e for DynamicClusters only) whereas enrichers are supposed to be generic. I would then do something like this: - You can have this for the generic case: ``` brooklyn.enrichers: - type:

Re: Nice-to-have: Built-in Cluster Sensor List Generator

2016-05-06 Thread Geoff Macartney
+1 looks like an excellent suggestion to me Gnu PGP key - http://is.gd/uI > On 6 May 2016, at 01:44, Mike Zaccardo > wrote: > > Hi all, > > I've encountered the following task numerous times when authoring > `DynamicCluster`

Re: Nice-to-have: Built-in Cluster Sensor List Generator

2016-05-05 Thread David Bush
+1 Using this in a couple of blueprints at the moment and would be really nice to have a concise method. -- David Bush • Systems Integrator • Cloudsoft Corporation • http://www.cloudsoftcorp.com T: 07834 127195 • SKYPE: david.c.bush > On 6 May 2016, at 01:44,

Nice-to-have: Built-in Cluster Sensor List Generator

2016-05-05 Thread Mike Zaccardo
Hi all, I've encountered the following task numerous times when authoring `DynamicCluster` blueprints: write a sensor that returns a comma separated list of values for each member of a cluster (e.g. the host address of each member). This is currently how to achieve such a task: