[
https://issues.apache.org/jira/browse/AMBARI-13296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-13296:
----------------------------------
Attachment: AMBARI-13296_trunk_01.patch
AMBARI-13296_branch-2.1_01.patch
> 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)