Robert Levas created AMBARI-13296:
-------------------------------------
Summary: 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
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)