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/05 06:13:43 UTC
[jira] [Resolved] (HELIX-396) Make REST api for /instances
parseable
[ https://issues.apache.org/jira/browse/HELIX-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kanak Biscuitwala resolved HELIX-396.
-------------------------------------
Resolution: Fixed
Done. Review: https://reviews.apache.org/r/18751/
> 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)