[
https://issues.apache.org/jira/browse/AMBARI-13296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941495#comment-14941495
]
Hudson commented on AMBARI-13296:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #3588 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3588/])
AMBARI-13296. Credential Resource API should return an empty list rather
(rlevas:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4b437ea4f1461d6bec197b7d748b7aa86f7e89f6])
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/CredentialResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/CredentialResourceProvider.java
> Credential Resource API should return an empty list rather than a 404 error
> ---------------------------------------------------------------------------
>
> Key: AMBARI-13296
> URL: https://issues.apache.org/jira/browse/AMBARI-13296
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.3
> Reporter: Robert Levas
> Assignee: Robert Levas
> Priority: Minor
> Fix For: 2.1.3
>
> Attachments: AMBARI-13296_branch-2.1_01.patch,
> AMBARI-13296_trunk_01.patch
>
>
> When no credentials resources are found when listing credential resources via
> the Credential Resource API, an empty list should be returned rather than a
> 404 error.
> For example:
> {code:title=GET /api/v1/clusters/c1/credentials}
> {
> "href": "http://host:port/api/v1/clusters/c1/credentials",
> "items": []
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)