summaryrefslogtreecommitdiff
path: root/keystoneclient/v3/endpoints.py
Commit message (Collapse)AuthorAgeFilesLines
* Use region_id filter for List Endpointslin-hua-cheng2015-09-091-2/+5
| | | | | | | | The old region filter didn't work, it was not available in Keystone. Change-Id: Ic4d60a046df1f231d02a45998c8a0ef7c5b7b107 Closes-bug: #1482772
* I18nBrant Knudson2014-10-281-1/+2
| | | | | | | | | | | Keystoneclient didn't provide translated messages. With this change, the messages are marked for translation. DocImpact Implements: blueprint keystoneclient-i18n Change-Id: I85263a71671a1dffed524185266e6bb7ae559630
* Start using positional decoratorJamie Lennox2014-03-251-0/+4
| | | | | | | | | Apply the positional decorator to functions. It has been added as I think best practice would dictate, though in some places it has been added in a way that doesn't break existing tests. Closes-Bug: #1295881 Change-Id: I4f7ddbede4cba4ab79d144ad1f9dc83ea76f204a
* Replace OpenStack LLC with OpenStack Foundation0.4.1ZhiQiang Fan2013-10-171-1/+1
| | | | | | | | | | Some files still use trademark OpenStack LLC in header, which should be changed to OpenStack Foundation. NOTE: tools/install_venv.py is not touched, should sync with oslo Change-Id: I01d4f6b64cf1a152c4e190407799ce7d53de845f Fixes-Bug: #1214176
* Fix H202 assertRaises ExceptionKui Shi2013-10-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Align the hacking version between test-requirement and global requirement. The change of H202 detection from 0.6 to 0.7 in hacking is: - if logical_line.startswith("self.assertRaises(Exception)"): + if logical_line.startswith("self.assertRaises(Exception,"): then more cases are detected by this change. Fix the exposed H202 error. There is a special test case: tests/v3/test_endpoints.py:test_update_invalid_interface ref = self.new_ref(interface=uuid.uuid4().hex) this line can not generate proper parameter for self.manager.update, add a parameter "endpoint" for it, according to the definition in keystoneclient/v3/endpoints.py:EndpointManager.update. Otherwise, there will be following error after changing the Exception to exceptions.ValidationError: TypeError: update() takes at least 2 arguments (6 given) Fixes Bug #1220008 Change-Id: I8f7ed7a6eebf8576a6db5fecd86b9d19a15c8d60
* Remove endpoint.name attribute from v3 manager (bug 1191152)Dolph Mathews2013-06-141-8/+10
| | | | | | | This also provides backwards compatible support for any clients that were specifying a name by handling it through **kwargs. Change-Id: I49c542c52e1cdfde5fff1be46d658a805d233320
* Refactor v3 API to support filteringJ. Matt Peterson2013-05-061-3/+9
| | | | | | | | | | | | | | | | | Fixes: bug #1175356 Future implementations of keystone API v3 will support server-side filtering using key/value attributes. See additional details: https://github.com/openstack/identity-api/blob/master/openstack-identity-api/src/markdown/identity-api-v3.md#list-entities-filtered-by-attribute To support this functionality **kwargs need to be passed from the v3 API classes to keystoneclient.base.CrudManager.list. This is not fully implemented server-side for all attributes so it's difficult to document exactly which attributes will work. An example of a working attribute is: keystone.users.list(name="someone") Change-Id: I148093fbe37700f890ed44148aa3f63f34ee5ff5
* Enable/disable services/endpoints (bug 1048662)feature/keystone-v3Dolph Mathews2012-10-101-6/+12
| | | | Change-Id: I664b7f7dfa281a4481bfc37eab0948a901f1c0c5
* v3 Endpoint CRUDDolph Mathews2012-10-081-0/+80
Change-Id: Iff60668a80f8a6679a691a8f256652d7814f2785