Dmitry Lysnichenko created AMBARI-5832:
------------------------------------------

             Summary: "service_name" field unavailable from Hosts API
                 Key: AMBARI-5832
                 URL: https://issues.apache.org/jira/browse/AMBARI-5832
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 1.6.1


For request URL:
/api/v1/clusters/cl/hosts?fields=host_components/HostRoles/service_name
Response missing "service_name" field:

{
  "href" : 
"http://192.168.56.101:8080/api/v1/clusters/cl/hosts?fields=host_components/HostRoles/service_name";,
  "items" : [
    {
      "href" : 
"http://192.168.56.101:8080/api/v1/clusters/cl/hosts/dev01.hortonworks.com";,
      "Hosts" : {
        "cluster_name" : "cl",
        "host_name" : "dev01.hortonworks.com"
      },
      "host_components" : [
        {
          "href" : 
"http://192.168.56.101:8080/api/v1/clusters/cl/hosts/dev01.hortonworks.com/host_components/APP_TIMELINE_SERVER";,
          "HostRoles" : {



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

Reply via email to