[ 
https://issues.apache.org/jira/browse/STRATOS-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dakshika Jayathilaka closed STRATOS-1010.
-----------------------------------------
    Resolution: Fixed

this is not applicable for latest stratos implementation 

> Incorrect JSON return on GET cartridge/lb REST endpoint
> -------------------------------------------------------
>
>                 Key: STRATOS-1010
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1010
>             Project: Stratos
>          Issue Type: Bug
>          Components: REST API
>    Affects Versions: 4.0.0 M4
>            Reporter: Dakshika Jayathilaka
>
> 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.  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.. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to