Re: [Q] Get info from other Cartridge Group's instance

2015-06-29 Thread Imesh Gunaratne
Hi David, You could use a Metadata API for this purpose. Stratos has one built in [1] or you could use something like etcd [2]. Once the relevant instance is started a cartridge agent extension/plugin [3] can publish its IP Address to the Metadata API. Then the dependent instance can read it usin

Re: [Q] Get info from other Cartridge Group's instance

2015-06-29 Thread David Hbase
Thanks Mariangela, But from my purpose, when I define the ESB cartridge, I do not know the ActivaMQ IP ("*10.100.1.13*"), { "name": "payload_parameter.MB_IP", "value": "*10.100.1.13*" } The ESB MB_IP will be created by our Stratos Application deployment. So the "*10.100.1

Re: [Q] Get info from other Cartridge Group's instance

2015-06-29 Thread Reka Thirunavukkarasu
Thanks Mari..! On Mon, Jun 29, 2015 at 1:36 PM, Mariangela Hills wrote: > Will do! > > Regards, > Mariangela > > > *Mariangela Hills* > Senior Technical Writer - WSO2, Inc. http://wso2.com > Committer and PMC member - Apache Stratos > email:mariang...@wso2.com | mobile: +94 773 500185 > > On Mon

Re: [Q] Get info from other Cartridge Group's instance

2015-06-29 Thread Mariangela Hills
Will do! Regards, Mariangela *Mariangela Hills* Senior Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Mon, Jun 29, 2015 at 10:33 AM, Reka Thirunavukkarasu wrote: > Hi David, > > Yah..This is possibl

Re: [Q] Get info from other Cartridge Group's instance

2015-06-28 Thread Reka Thirunavukkarasu
Hi David, Yah..This is possible..You can use properties section in cartridge definition to pass any key/value pairs to a cartridge which could be read by cartridge agent and exported as system properties. Hence you can use them in cartridge extensions. Sample key value pair would be as below: {

[Q] Get info from other Cartridge Group's instance

2015-06-28 Thread David Hbase
Setup Stratos for a composition app, etc: Activemq, Wso2ESB In the ESB, we need the activemq's IP, In there anyway, we can pass or get this IP via a Macro / Parameter in the Cartridge definitions? Thanks -D