On Thu, Feb 26, 2015 at 12:26 PM, Rajkumar Rajaratnam <rajkum...@wso2.com>
wrote:

> As I mentioned earlier, deployment polices are applied top to bottom in an
> application tree. So if we define a deployment policy for a cartridge and
> its parent, the cartridge will use its parent deployment policy. But we may
> think that it is using its deployment policy. In a very complex app, I
> thought it will be useful if we display it in the topology tree in the UI.
>

And UI should give all the information right? I guess I can't get this
information nowhere in the current UI. We shouldn't go another place to
find out which deployment policy a cartridge is using in an application :)

Just my thought.


>
> Lets see others' view on this.
>
> Thanks.
>
> On Thu, Feb 26, 2015 at 12:17 PM, Dakshika Jayathilaka <daksh...@wso2.com>
> wrote:
>
>> Sorry about my previous reply. Yes i was referring that.
>>
>>
>> We can easily show that on topology. but -1 for creating separate API
>> method for that.
>> If we want to show related deployment policy it should come along with
>>
>> *"GET","/applications/{ appId }/runtime'*
>>
>> Otherwise we need to make several calls on UI to show it. Do we have any
>> real user story for this?
>>
>> Thank you,
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> 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
>



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

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to