You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2014/08/26 02:02:58 UTC

[jira] [Created] (AMBARI-7007) href is wrong for sub resource query of request resource

Tom Beerbower created AMBARI-7007:
-------------------------------------

             Summary: href is wrong for sub resource query of request resource
                 Key: AMBARI-7007
                 URL: https://issues.apache.org/jira/browse/AMBARI-7007
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower
             Fix For: 1.7.0


the href under "items" is incorrect in that it has a trailing '/' which shouldn't be there

"href" : "http://172.19.226.16:8080/api/v1/requests?tasks/Tasks/status=COMPLETED/"

{code}
{
  "href" : "http://c6401.ambari.apache.org:8080/api/v1/requests/1?tasks/Tasks/status=COMPLETED/",
  "Requests" : {
    "id" : 1
  },
  "tasks" : [
    {
      "href" : "http://c6401.ambari.apache.org:8080/api/v1/requests/1/tasks/2",
      "Tasks" : {
        "id" : 2,
        "request_id" : 1,
        "status" : "COMPLETED"
      }
    }
  ]
}
{code}



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