Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Sajith Kariyawasam
I have already implemented persisting applicationId - applicationPolicy map, and getApplicationPolicy by application Id, in PolicyManager May be you can expose the same via AutoscalerServiceImpl On Wed, Feb 18, 2015 at 10:23 PM, Rajkumar Rajaratnam wrote: > > > On Wed, Feb 18, 2015 at 10:17 PM,

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Rajkumar Rajaratnam
On Wed, Feb 18, 2015 at 10:17 PM, Rajkumar Rajaratnam wrote: > > > On Wed, Feb 18, 2015 at 7:54 PM, Imesh Gunaratne wrote: > >> Great effort Raj! Validations look good! >> >> I think we could introduce a new API method to query network partition >> references in a given application. This would a

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Rajkumar Rajaratnam
On Wed, Feb 18, 2015 at 7:54 PM, Imesh Gunaratne wrote: > Great effort Raj! Validations look good! > > I think we could introduce a new API method to query network partition > references in a given application. This would allow the UI to generate the > application deployment page with a set of ch

Re: [Discuss] Application Policy Validation Implementation

2015-02-18 Thread Imesh Gunaratne
Great effort Raj! Validations look good! I think we could introduce a new API method to query network partition references in a given application. This would allow the UI to generate the application deployment page with a set of checkboxes to select "active by default" property in each network par

[Discuss] Application Policy Validation Implementation

2015-02-18 Thread Rajkumar Rajaratnam
Hi Devs, I am almost done with application policy validation logic and would like to give an update on the implementation. This is the sample application policy. { "networkPartition":[ { "id":"network-partition-1", "activeByDefault":"true" }, { "id"