Tom Beerbower created AMBARI-3706:
-------------------------------------

             Summary: Absent cluster name validation on query for Requests
                 Key: AMBARI-3706
                 URL: https://issues.apache.org/jira/browse/AMBARI-3706
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower


On following request:
/api/v1/clusters/<any-value>/requests?fields=Requests
UI recieve succesfull response with invalid cluster name value, instead of 
error:
{noformat}
{
  "href" : 
"http://192.168.56.101:8080/api/v1/clusters/<any-value>/requests?fields=Requests",
  "items" : [
    {
      "href" : 
"http://192.168.56.101:8080/api/v1/clusters/<any-value>/requests/1",
      "Requests" : {
        "aborted_task_count" : 0,
        "cluster_name" : "<any-value>",
        "completed_task_count" : 27,
        "failed_task_count" : 0,
        "id" : 1,
        "progress_percent" : 100.0,
        "queued_task_count" : 0,
        "request_context" : "Install Services",
        "request_status" : "COMPLETED",
        "task_count" : 27,
        "timed_out_task_count" : 0
      }
    }
}
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to