This is now fixed with commit revision:
25be14335cf3e7663ab0ff8277339b59c2b74f7b

Thanks

On Sat, Dec 13, 2014 at 11:20 PM, Reka Thirunavukkarasu <[email protected]>
wrote:
>
> It seems that  cfx-servlet.xml didn't get updated with the array name in
> order to convert even one element in the list to list via cfx.
>
> Thanks,
> Reka
>
> On Sat, Dec 13, 2014 at 11:15 PM, Imesh Gunaratne <[email protected]>
> wrote:
>>
>> Hi Devs,
>>
>> It seems like the REST API GET Applications method is returning instances
>> element as an object and not as an array:
>>
>>
>> {"applications":[{"clusters":[{"alias":"tomcat","serviceName":"tomcat","clusterId":"tomcat.tomcat.domain","member":[{"serviceName":"tomcat","clusterId":"tomcat.tomcat.domain","networkPartitionId":"network-p1","partitionId":"p1","memberId":"tomcat.tomcat.domain7df0d83e-467c-4918-a750-bf72bcbd6f64","status":"Activated","memberIp":"10.0.0.6","memberPublicIp":"20.0.0.6","property":[{"name":"PRIMARY","value":false},{"name":"MIN_COUNT","value":1}]}],"tenantRange":"*","hostNames":["
>> tomcat.tomcat.apache.org"],"isLbCluster":false,
>> *"instances":{"status":"Active","instanceId":"single-cartridge-app_1"}*
>> }],"id":"single-cartridge-app",
>> *"instances":{"status":"Active","instanceId":"single-cartridge-app_1"}*
>> ,"tenantAdminUsername":"admin","tenantDomain":"carbon.super"}]}
>>
>> Thanks
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to