[ https://issues.apache.org/jira/browse/STRATOS-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sajith Kariyawasam resolved STRATOS-995. ---------------------------------------- Resolution: Fixed Assignee: Dakshika Jayathilaka Marking as fixed as per above comment > Application topology return JSON issue > -------------------------------------- > > Key: STRATOS-995 > URL: https://issues.apache.org/jira/browse/STRATOS-995 > Project: Stratos > Issue Type: Bug > Affects Versions: 4.1.0 M4 > Reporter: Dakshika Jayathilaka > Assignee: Dakshika Jayathilaka > Fix For: 4.1.0 Alpha > > > notice some issues on return JSON. > current JSON contain two array nodes called "groups" and "clusters" which > include one or many > objects. > But if returning one cluster or group it just return object instead of > returning array of objects. > ex: > "clusters": { > "serviceName": "tomcat", > "clusterId": "c1alias51.tomcat.domain", > "tenantRange": "*", > "hostNames": [ > "c1alias51.isuruh.lk" > ], > "isLbCluster": false > } > should be > "clusters": [ > { > "serviceName": "tomcat", > "clusterId": "c1alias51.tomcat.domain", > "tenantRange": "*", > "hostNames": [ > "c1alias51.isuruh.lk" > ], > "isLbCluster": false > } > ] > I think we can fix this by adding groups and clusters to > components/org.apache.stratos.rest.endpoint/src/main/webapp/api/WEB-INF/cxf-servlet.xml -- This message was sent by Atlassian JIRA (v6.3.4#6332)