Hi Devs,
I have now implemented the $Subject and pushed to master branch. It enables
us to reuse the same application policy in multiple application deployment.
I have implemented application policy management APIs in AS service and
implemented the following rest APIs.
addApplicationPolicy POST /api/applicationPolicies
getApplicationPolicy GET
/api/applicationPolicies/{applicationPolicyId}
removeApplicationPolicy DELETE
/api//applicationPolicies/{applicationPolicyId}
@Dinithi, Please implement CLI commands for this APIs.
Also pleas note that I have changed the deploy application API as below.
deployApplication POST
/api/applications/{applicationId}/deploy/{applicationPolicyId}
Thanks.
--
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2
Mobile : +94777568639
Blog : rajkumarr.com