stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakshika Jayathilaka <daksh...@wso2.com>
Subject Re: Incorrect JSON return on GET cartridge/lb REST endpoint
Date Thu, 27 Nov 2014 06:21:14 GMT
Jira added https://issues.apache.org/jira/browse/STRATOS-1010

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

On Thu, Nov 27, 2014 at 11:13 AM, Udara Liyanage <udara@wso2.com> wrote:

> Hi,
>
> As I mentioned earlier those information are missed out when converting to
> the bean. Please create a jira.
>
> On Thu, Nov 27, 2014 at 11:02 AM, Dakshika Jayathilaka <dakshika@wso2.com>
> wrote:
>
>> Forget to mention another thing.. Normally we are adding *type *but
>> return come along with *cartridgeType. *Also we need to show extra info
>> like Port Mapping, Network Interfaces so on..
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>> 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