You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Dinithi De SIlva (JIRA)" <ji...@apache.org> on 2015/05/14 11:49:00 UTC
[jira] [Updated] (STRATOS-995) Application topology return JSON
issue
[ https://issues.apache.org/jira/browse/STRATOS-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinithi De SIlva updated STRATOS-995:
-------------------------------------
Fix Version/s: 4.1.0 RC1
> 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, 4.1.0 RC1
>
>
> 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)