Arun Kant bbfe47d532 Removed per ACL operations and added support for PUT method.
Changes has been done as per comments in https://review.openstack.org/#/c/178479/

All of APIs for /secrets/{uuid}/acls/{uuid} resource are removed.
ACL resource is changed to /secrets/{uuid}/acl.
PUT (complete update) support is added for above ACL resource.
PUT is used instead of POST for creating ACL resource as per API-WG recommendation.
GET on ACL resource will return response similar to request format.
PUT/PATCH will return above ACL resource reference in response.

Now as every secret or container has a default acl which is returned
on GET call when no explicit ACL is set. That's why PATCH will not
return 404 when used on secret/container with no explicit ACL.
Similarly DELETE will not return 404 on its invocation even if
explicit ACL is not set or called multiple times.

All of above changes are made to container ACL resource as well.

Change-Id: I5bfccf4cb827845084fd2d5d734f476f2ed16146
2015-06-02 10:12:12 -07:00
..