You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John Speidel (JIRA)" <ji...@apache.org> on 2014/11/15 04:15:33 UTC

[jira] [Created] (AMBARI-8342) Requesting the config_groups collection resource with no registered configuration groups results in a 404 response

John Speidel created AMBARI-8342:
------------------------------------

             Summary: Requesting the config_groups collection resource with no registered configuration groups results in a 404 response
                 Key: AMBARI-8342
                 URL: https://issues.apache.org/jira/browse/AMBARI-8342
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
            Reporter: John Speidel


GET http://AMBARI_HOST:8080/api/v1/clusters/c1/config_groups

{
  "status" : 404,
  "message" : "The requested resource doesn't exist: ConfigGroup not found, ConfigGroup/cluster_name=c1"
}

The cluster c1 exists and has no configuration groups.  The above response is incorrect.  As per the api specification, it should return an empty collection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)