yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06090
[Bug 1091413] Re: Keystone-doc for endpoints are wrong. Doesn't match code
** Changed in: keystone
Status: Triaged => Fix Released
** Changed in: keystone
Assignee: (unassigned) => Dolph Mathews (dolph)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1091413
Title:
Keystone-doc for endpoints are wrong. Doesn't match code
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
Keystone doc uses "faceing" as attibute name in the document. But in
the code it is called "interace". Which is correct?
// From code
@controller.protected
def create_endpoint(self, context, endpoint):
ref = self._assign_unique_id(self._normalize_dict(endpoint))
self._require_attribute(ref, 'service_id')
self._require_attribute(ref, 'interface')
self.catalog_api.get_service(context, ref['service_id'])
ref = self.catalog_api.create_endpoint(context, ref['id'], ref)
return {'endpoint': ref}
// From doc
Create endpoint: POST /endpoints
Request:
{
"extra": "--json-blob--",
"facing": "[admin|public|internal]",
"name": "name",
"url": "..."
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1091413/+subscriptions