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