Updated the auto-scalar policy removal with validations.Also we have noticed that validations missing in the Application definition and deployment policy also. Added a JIRA(STRATOS-1096) for this and I will work on this.
Thanks, Gayan On Wed, Jan 21, 2015 at 3:02 PM, Gayan Gunarathne <gay...@wso2.com> wrote: > Hi Udara, > > Yeah.I am adding those validations currently with validating the > auto-scale policy removal process. > > Thanks, > Gayan > > > > On Wed, Jan 21, 2015 at 2:56 PM, Udara Liyanage <ud...@wso2.com> wrote: > >> Hi Gayan, >> >> I glanced through the code. You need to return 404 when there is no >> policy exist with the given ID. Currently it returns only 200 OK. >> >> On Wed, Jan 21, 2015 at 11:55 AM, Gayan Gunarathne <gay...@wso2.com> >> wrote: >> >>> We have added new rest API method to remove the Autoscaling policies( >>> STRATOS-1090 <https://issues.apache.org/jira/browse/STRATOS-1090>) >>> . >>> HTTP MethodResource Path >>> >>> DELETE /autoscalePolicies/{autoscalePolicyId} >>> <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Describing+an+Auto-scaling+Policy+via+REST+API> >>> Related Commit IDs : >>> >>> aca5f2ec249f44a1765146aef51b876ce80ea28a/ef2838479a72ccda642e5a32318e29369c73c728 >>> >>> Currently I am working on the validating the auto-scale policy removal >>> process. >>> >>> >>> Thanks, >>> Gayan >>> >>> >>> -- >>> >>> Gayan Gunarathne >>> Technical Lead >>> WSO2 Inc. (http://wso2.com) >>> email : gay...@wso2.com | mobile : +94 766819985 >>> >>> >> >> >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > > > -- > > Gayan Gunarathne > Technical Lead > WSO2 Inc. (http://wso2.com) > email : gay...@wso2.com | mobile : +94 766819985 > > -- Gayan Gunarathne Technical Lead WSO2 Inc. (http://wso2.com) email : gay...@wso2.com | mobile : +94 766819985