Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
None
Description
Support queries like the following ...
/api/clusters/mycluster/services/HDFS/components?ServiceComponentInfo/component_name=NAMENODE|ServiceComponentInfo/component_name=DATANODE
This should return the components where the name is NAMENODE or DATANODE ...
{ "href" : "http://localhost:8080/api/clusters/mycluster/services/HDFS/components?ServiceComponentInfo/component_name=NAMENODE|ServiceComponentInfo/component_name=DATANODE", "items" : [ { "href" : "http://localhost:8080/api/clusters/mycluster/services/HDFS/components/NAMENODE", "ServiceComponentInfo" : { "cluster_name" : "mycluster", "component_name" : "NAMENODE", "service_name" : "HDFS" } }, { "href" : "http://localhost:8080/api/clusters/mycluster/services/HDFS/components/DATANODE", "ServiceComponentInfo" : { "cluster_name" : "mycluster", "component_name" : "DATANODE", "service_name" : "HDFS" } } ] }