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 <lak...@wso2.com> wrote: > Thanks Imesh take care if it > > > On Saturday, January 24, 2015, Imesh Gunaratne <im...@apache.org> 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 Gunaratne <im...@apache.org> >> wrote: >> >>> 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 get duplicated in different deployment policies. >>> >>> Now we have introduced logic to manage them in the global context in >>> Autoscaler so that application deployment process can pick network >>> partitions from the available list. This introduces following REAT API >>> methods: >>> >>> POST /networkPartitions -d {networkPartition.json} >>> GET /networkPartitions >>> GET /networkPartitions/{networkPartitionId} >>> DELETE /networkPartitions/{networkPartitionId} >>> >>> Please note that this improvement has not changed any of the existing >>> API methods or artifact definitions. >>> >>> More information can be found in this JIRA: >>> https://issues.apache.org/jira/browse/STRATOS-1121 >>> >>> Thanks >>> >>> -- >>> Imesh Gunaratne >>> >>> Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> Imesh Gunaratne >> >> Technical Lead, WSO2 >> Committer & PMC Member, Apache Stratos >> > > > -- > Sent from Gmail Mobile >