You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Kanak Biscuitwala (JIRA)" <ji...@apache.org> on 2014/03/04 22:31:48 UTC

[jira] [Created] (HELIX-396) Make REST api for /instances parseable

Kanak Biscuitwala created HELIX-396:
---------------------------------------

             Summary: Make REST api for /instances parseable
                 Key: HELIX-396
                 URL: https://issues.apache.org/jira/browse/HELIX-396
             Project: Apache Helix
          Issue Type: Improvement
            Reporter: Kanak Biscuitwala
            Assignee: Kanak Biscuitwala


The current representation for /clusters/clusterName/instances is not parseable since it is a concatenation of two things that are parseable, i.e.

[{instanceConfig1}, {instanceConfig2}]{"tag1": ["localhost_1"]}

What we want instead is everything encapsulated in a single JSON object:

{"instanceInfo": [{instanceConfig1}, {instanceConfig2}],
 "tagInfo": {"tag1": ["localhost_1"]}}



--
This message was sent by Atlassian JIRA
(v6.2#6252)