Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Dakshika Jayathilaka
Thank you Imesh *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Jan 25, 2015 at 8:47 AM, Imesh Gunaratne wrote: > I'm sorry I couldn't send it in the previous mail, you could find it here > Dakshika: > > https://github.com/apache/stratos/blob/ma

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Imesh Gunaratne
I'm sorry I couldn't send it in the previous mail, you could find it here Dakshika: https://github.com/apache/stratos/blob/master/samples/single-cartridge/mock/artifacts/network-partition.json We have also added a sample curl command in the above sample application. Thanks On Sun, Jan 25, 2015 a

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Dakshika Jayathilaka
Hi Imesh, can i have sample for network partition. (networkPartition.json) ? Thank you, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sat, Jan 24, 2015 at 9:26 PM, Lakmal Warusawithana wrote: > Thanks Imesh take care if it > > > On Saturday, Janu

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Lakmal Warusawithana
Thanks Imesh take care if it On Saturday, January 24, 2015, Imesh Gunaratne wrote: > I have now added logic to validate partitions of the network partition in > the following API method: > POST /networkPartitions -d {networkPartition.json} > > Thanks > > On Sat, Jan 24, 2015 at 10:10 AM, Imesh G

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-23 Thread Imesh Gunaratne
I have now added logic to validate partitions of the network partition in the following API method: POST /networkPartitions -d {networkPartition.json} Thanks On Sat, Jan 24, 2015 at 10:10 AM, Imesh Gunaratne wrote: > Hi Devs, > > I have done an improvement to globally manage Network Partitions

[Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-23 Thread Imesh Gunaratne
Hi Devs, I have done an improvement to globally manage Network Partitions after a discussion we had with Lakmal and Dakshika. In 4.1.0-Alpha we manage Network Partitions within Deployment Policies. This makes it difficult to deploy an application via the UI and at the same time network partitions