[ 
https://issues.apache.org/jira/browse/AMBARI-7007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110672#comment-14110672
 ] 

Hudson commented on AMBARI-7007:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #21 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/21/])
AMBARI-7007 - href is wrong for sub resource query of request resource 
(tbeerbower: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8bed25926031736ae6eed2f774e7996f230b5e13)
* 
ambari-server/src/main/java/org/apache/ambari/server/api/resources/RequestResourceDefinition.java


> 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)

Reply via email to