I have already implemented this method also. If you pass the application id, it will return aliasToDeploymentPolicyId map. Is that you are referring?
Thanks. On Thu, Feb 26, 2015 at 12:10 PM, Dakshika Jayathilaka <daksh...@wso2.com> wrote: > Hi Raj, > > Actually this will needs to expose in application level. Once we pass > application ID to API method it should return all related deployment policy > which are belongs to cartridge or cartridge group. > > Regards, > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > > On Thu, Feb 26, 2015 at 12:04 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> > wrote: > >> Hi Devs, >> >> Since the application can be very complex and deployment policies are >> applied top to bottom in an application tree, it will be very useful if we >> display what are the deployment polices each cartridges/cartridge-groups >> are using. >> >> I have already implemented the functionality and using it for some other >> purposes. If you pass the cartridge alias or cartridge group alias, it will >> return the deployment policy it is using. If we are okay to do the >> $Subject, I can expose this as an API. >> >> wdyt? >> >> Thanks. >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com