Hi Shaheed, Thanks for pointing this! Yes in 4.1.0 API we do not have a method to query instances of a cluster. I think we need to add it. @Devs: Anyone would like to contribute to this?
Thanks On Tue, Mar 17, 2015 at 4:59 AM, Shaheedur Haque (shahhaqu) < [email protected]> wrote: > Hi, > > > > In Stratos 4.0.0, I could get a list of instances running against a > subscription with a REST call like this: > > > > 'GET', '/stratos/admin/cluster/clusterId/{}'.format(cluster) > > > > However, in 4.1.0, the commands describe-application and describe > application-runtime equate to: > > > > 'GET', 'applications/{}'.format(subscription) > > # > > # The reply looks like this: > > # > > # {u'status': u'Deployed', u'alias': u'cartridge-proxy', u'multiTenant': > False, u'applicationId': u'cartridge-proxy', u'components': {...}} > > # > > > > And > > > > 'GET', 'applications/{}/runtime'.format(application) > > # > > # The reply looks like this: > > # > > # {u'status': u'Active', u'multiTenant': False} > > # > > > > Is there some other way to list the instances? > > > > Thanks, Shaheed > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos
