You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Dakshika Jayathilaka (JIRA)" <ji...@apache.org> on 2014/11/27 07:21:12 UTC

[jira] [Created] (STRATOS-1010) Incorrect JSON return on GET cartridge/lb REST endpoint

Dakshika Jayathilaka created STRATOS-1010:
---------------------------------------------

             Summary: 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)