[
https://issues.apache.org/jira/browse/AMBARI-7664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161233#comment-14161233
]
Hudson commented on AMBARI-7664:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #493 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/493/])
AMBARI-7664 - Views : View API request for non-existent view should return 404
(tbeerbower:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5b60658766856232b1198a21866db2aefe655662)
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterControllerImplTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterControllerImpl.java
> Views : View API request for non-existent view should return 404
> ----------------------------------------------------------------
>
> Key: AMBARI-7664
> URL: https://issues.apache.org/jira/browse/AMBARI-7664
> Project: Ambari
> Issue Type: Bug
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
> Fix For: 1.7.0
>
> Attachments: AMBARI-7664.patch
>
>
> The request ...
> {code}
> GET http://c6401.ambari.apache.org:8080/api/v1/views/BadView
> {code}
> ... where 'BadView' is not a deployed view, should return a 404.
> {code}
> {
> "status" : 404,
> "message" : "The requested resource doesn't exist: View not found,
> ViewInfo/view_name=BadView"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)