Thanks Imesh for pointing this out. I have now implemented and pushed these
APIs to master branch.

@Dinithi, we have 5 new APIs to manage application policies and a change in
deploy application API.

addApplicationPolicy          POST         /api/applicationPolicies
getApplicationPolicy           GET
/api/applicationPolicies/{applicationPolicyId}
removeApplicationPolicy   DELETE
/api//applicationPolicies/{applicationPolicyId}
updateApplicationPolicy    PUT           /api/applicationPolicies
getApplicationPolicies        GET           /api/applicationPolicies

Thanks.

On Thu, Mar 5, 2015 at 3:56 AM, Imesh Gunaratne <[email protected]> wrote:

> Great work Raj!! You have done it in a very short period of time.
> Don't you think we need an UPDATE /api/applicationPolicies/{
> applicationPolicyId} method and a GET /api/applicationPolicies method?
>
> Thanks
>
> On Wed, Mar 4, 2015 at 8:08 PM, Rajkumar Rajaratnam <[email protected]>
> wrote:
>
>> 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
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to