You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2014/12/13 19:10:16 UTC

[Discuss] Cartridge definitions used in in REST API methods are different

Hi Devs,

It seems like the cartridge definition class we have used in cartridge
deploy method and other GET cartridge methods are different:

Deploy Cartridge method has used:
org.apache.stratos.rest.endpoint.bean.cartridge.definition.CartridgeDefinitionBean

Other GET cartridge methods have used:
org.apache.stratos.manager.dto.Cartridge

Thanks


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Cartridge definitions used in in REST API methods are different

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Dakshika! This is now fixed with commit revision:
5780b44c447af300f97455a58f520355a769f192

On Sun, Dec 14, 2014 at 9:09 AM, Dakshika Jayathilaka <da...@wso2.com>
wrote:
>
> Hi Imesh,
>
> +1 for having same definition for POST and GET. Then we can easily show
> edit details on UI as wel.
>
> Thank you,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Sat, Dec 13, 2014 at 11:40 PM, Imesh Gunaratne <im...@apache.org>
> wrote:
>>
>> Hi Devs,
>>
>> It seems like the cartridge definition class we have used in cartridge
>> deploy method and other GET cartridge methods are different:
>>
>> Deploy Cartridge method has used:
>>
>> org.apache.stratos.rest.endpoint.bean.cartridge.definition.CartridgeDefinitionBean
>>
>> Other GET cartridge methods have used:
>> org.apache.stratos.manager.dto.Cartridge
>>
>> Thanks
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Cartridge definitions used in in REST API methods are different

Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi Imesh,

+1 for having same definition for POST and GET. Then we can easily show
edit details on UI as wel.

Thank you,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Sat, Dec 13, 2014 at 11:40 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
> Hi Devs,
>
> It seems like the cartridge definition class we have used in cartridge
> deploy method and other GET cartridge methods are different:
>
> Deploy Cartridge method has used:
>
> org.apache.stratos.rest.endpoint.bean.cartridge.definition.CartridgeDefinitionBean
>
> Other GET cartridge methods have used:
> org.apache.stratos.manager.dto.Cartridge
>
> Thanks
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>