stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: Incorrect JSON return on GET cartridge/lb REST endpoint
Date Thu, 27 Nov 2014 05:33:03 GMT
Hi,

Yes this should be fixed.

The issue us from CC side it sends a CartridgeInfo type object which is
created from Cartridge type. During conversion some details are missed out
in CCImpl getCartridgeInfo().

On Thu, Nov 27, 2014 at 10:45 AM, Dakshika Jayathilaka <dakshika@wso2.com>
wrote:

> Hi Devs,
>
> I have notice that there are certain issues on cartridge detail return
> endpoint.
>
> AFAIK *"GET","/cartridge/lb"* is expected to return all available LB on
> context.
> but endpoint return something like below.
>
> {
>
>    - "activeInstances":0,
>    - "cartridgeAlias":"-",
>    - "cartridgeType":"lb",
>    - "defaultAutoscalingPolicy":"autoscale-policy-1",
>    - "defaultDeploymentPolicy":"economyDeploymentPolicy",
>    - "description":"Lb Cartridge",
>    - "displayName":"Lb",
>    - "hostName":"stratos.apache.org",
>    - "isPublic":false,
>    - "loadBalancer":true,
>    - "multiTenant":false,
>    - "persistance":false,
>    - "provider":"lb",
>    - "version":1
>
> }
>
> But IMHO we need to get similar output as our input. Also *cartridgeAlias
> *is not related to
> this context as wel.
>
> Please be kind enough to correct me if i wrong.
>
> Thanks lot
>
> Bst Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Mime
View raw message