Added two REST API methods for global deployment policy add/update. I have
pushed those changes to the "4.1.0-beta-deployment-policy-fix" branch.

POST

/deploymentpolicy
<https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Adding+a+Cartridge+via+REST+API>
Add a deployment policyPUT/deploymentpolicy
<https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Updating+a+Cartridge+via+REST+API>
 Update existing deployment policy
Added the sample deployment policy to the single-cartridge sample.Will
update the other samples as well.

Will add another REST methods for retrieve and remove deployment policy.

Thanks,
Gayan



-- 

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : gay...@wso2.com  | mobile : +94 766819985

Reply via email to