summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add release notes for ksc 2.1.02.1.0Steve Martinelli2016-01-121-0/+17
| | | | | | | in anticipation of a new release, create release notes for bugs and fixes that should have included notes. Change-Id: Icc4be3b42a59e44586020946649c0aeda93feb10
* Updated from global requirementsOpenStack Proposal Bot2016-01-121-1/+1
| | | | Change-Id: Ibc07c96b4ed4e2955781b1deab33db4a67dfb9df
* Merge "Removes MANIFEST.in as it is not needed explicitely by PBR"Jenkins2016-01-121-7/+0
|\
| * Removes MANIFEST.in as it is not needed explicitely by PBRsonu.kumar2015-12-171-7/+0
| | | | | | | | | | | | | | | | This patch removes `MANIFEST.in` file as pbr generates a sensible manifest from git files and some standard files and it removes the need for an explicit `MANIFEST.in` file. Change-Id: I372d49935d4c61b51521a0ce50de6b6d1d99a833
* | Merge "Fix for the deprecated library function"Jenkins2016-01-111-2/+5
|\ \
| * | Fix for the deprecated library functionYatin Kumbhare2016-01-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | os.popen() is deprecated since version 2.6. Resolved with use of subprocess module. Change-Id: I53c21d6e8a9d23646c236ae33d652f1aefc20153 Closes-Bug: #1529836
* | | Updated from global requirementsOpenStack Proposal Bot2016-01-071-1/+1
| | | | | | | | | | | | Change-Id: I2bbe8f29e731642f398b8f70e06c7071bcd8a455
* | | Merge "Support `truncated` flag returned by keystone"Jenkins2016-01-072-8/+55
|\ \ \
| * | | Support `truncated` flag returned by keystoneBoris Bobrov2015-12-282-8/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrap a list of objects into custom class with additional attributes. This is wanted by Horizon, that wants to know that the list returned from keystone is not full and that more strict filters need to be applied. Change-Id: Icfabfd055aed1648dc4130b03ec3dbf9bad4e45a Closes-Bug: 1520244
* | | | Merge "Deprecated tox -downloadcache option removed"Jenkins2016-01-061-3/+0
|\ \ \ \
| * | | | Deprecated tox -downloadcache option removedOndřej Nový2015-12-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: I8524f5cd26d3c7fb76f7d727f0a2135d2b278fd2
* | | | | Merge "Replace textwrap with fast standard code"Jenkins2016-01-061-2/+1
|\ \ \ \ \
| * | | | | Replace textwrap with fast standard codeBernhard M. Wiedemann2015-12-161-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This improves on commit 4350c176048b8d159d08b82b915e9544ac9dee6f We found a major performance regression in keystoneclient when using PKI tokens, related to http://bugs.python.org/issue25870 It can be tested with time python -c "import textwrap; textwrap.wrap('x'*9000, 64)" which has a complexity of O(n*n) because it uses certain regexps in python versions before 3.5. Closes-Bug: #1526686 Related-Bug: #1404402 Change-Id: Ibc81907c4d9db2c09fff41ccf21345fbdb19202d
* | | | | | Merge "Remove "deprecated" internal method"Jenkins2016-01-0610-21/+16
|\ \ \ \ \ \
| * | | | | | Remove "deprecated" internal methodBrant Knudson2015-12-2910-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method says it's deprecated but it's an internal method, so there's no need to deprecate it, just remove it. Change-Id: I916b4a5c9dc2320a4bff7f966fd0c7d5a4957ff9
* | | | | | | Merge "Fix Resource.__eq__ mismatch semantics of object equal"Jenkins2016-01-062-3/+6
|\ \ \ \ \ \ \
| * | | | | | | Fix Resource.__eq__ mismatch semantics of object equalRui Chen2015-12-162-3/+6
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __eq__ of apiclient.base.Resource will return True, if the two objects have same id, even if they have different other attributes value. The behavior is weird and don't match the semantics of object equal. The objects that have different value should be different objects. Fix this issue and add some test cases in this patch. Change-Id: I1565c6e66d6dd6cf7bd2b7e8526157190deb45de Closes-Bug: #1499369
* | | | | | | Merge "Change default endpoint for Keystone v3 to public"Jenkins2016-01-064-3/+19
|\ \ \ \ \ \ \
| * | | | | | | Change default endpoint for Keystone v3 to publicRoxana Gherle2015-12-234-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All of the other Openstack services have a 'public' default endpoint type. Keystone has 'admin' default endpoint type. Why not make Keystone compliant and change the default for Keystone v3 from 'admin' to 'public'. Keystone v2 will remain the same with an 'admin' default. Closes-Bug: #1457702 Change-Id: I515438477dba72c2a0c4595603000690511b5700
* | | | | | | | Merge "Docstring: Mark optional parameter as optional."Jenkins2016-01-061-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Docstring: Mark optional parameter as optional.Rushi Agrawal2015-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In client.Client, providing version number is optional. So write '(optional)' in the docstring describing this parameter. Change-Id: I5e355515de8d043bda85b5abf43c549b4ba22d61
* | | | | | | | | Merge "Wrong usage of "a/an""Jenkins2016-01-062-2/+2
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Wrong usage of "a/an"hgangwx2015-12-302-2/+2
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrong usage of "a/an" in the messages: "string that is the id field for an pre-existing" "build a etree.XML object filling certain" Should be: "string that is the id field for a pre-existing" "build an etree.XML object filling certain" Totally 2 occurrences in python-keystoneclient base code. Change-Id: Icef5247672f95af87375a4a135a961aefb0a4906
* | | | | | | | | Merge "Implements base classes for functional tests"Jenkins2016-01-064-0/+87
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
| * | | | | | | | Implements base classes for functional testsSamuel de Medeiros Queiroz2016-01-044-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the cross project workshop "Establishing key themes for the Mitaka cycle" [1] during the Mitaka summit, one of the agreed point was to implement functional tests for the client libraries. [2] Later on, this will serve to improve our backward compatibility for client libraries. See I72e4e9cfa0539f6b326a0296c065fa3cb754f8ae In preparation to implement the functional tests for both v2 and v3 clients, this patch initializes the new directories and adds the base test classes: V3ClientTestCase and V2ClientTestCase. Each class instantiates its specific keystoneclient version via os-client-config either based on a clouds.yaml config file or from the environment variables. [1] https://mitakadesignsummit.sched.org/event/edd78ade4c7c92581a7cabc26019a85a [2] https://etherpad.openstack.org/p/mitaka-crossproject-themes Change-Id: Ia73d72d5f87051fb46d733782275b548874a1def
* | | | | | | | | Merge "Cleanup release note"Jenkins2016-01-011-3/+3
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | Cleanup release noteBrant Knudson2015-12-291-3/+3
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This note had several typos and words out of order. Change-Id: I1ffafb56b665d2fed23c85bc251d120e63c3790f
* | | | | | | | remove keystoneclient.apiclient.exceptionsSteve Martinelli2015-12-293-75/+10
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | these have been deprecated in favor of keystoneclient.exceptions for a very long time. let's finally remove them. Change-Id: I0fc06a12647a0faac5ba98ed83118269efc304a6 Closes-Bug: 1526651
* | | | | | | Updated from global requirementsOpenStack Proposal Bot2015-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7f754e0fbbdea741aada2078125a80c7c08f051c
* | | | | | | Make tests run against original client and sessionsJamie Lennox2015-12-188-28/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The managers have a bad habit of reaching back into the client and making assumptions about the values that are saved there. These assumptions are not always correct when we use the session object. Test all the versioned managers against a client that was constructed with the old method and with a keystoneclient session object and a keystoneauth1 session object. Change-Id: I93a26db7ae7e4d887aa815108be71c72b4a1f2bb
* | | | | | | Seperate Client base test classJamie Lennox2015-12-1832-67/+66
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client tests are broadly seperated into v2 and v3. These folders don't distinguish between the tests that are on v2/v3 auth and those that are CRUD related. This means that the base v2 and v3 test class always create a client object for the tests to use, even if they don't need it. Whilst this isn't a big deal now, we want to be able to seperate only those tests that require a client so we can test them with multiple different styles of client. Add a new ClientTestCase class that will construct a client object for the tests that need it. Change-Id: I61f463ac5e878107c1889672f4d4cf5874821363
* | | | | | Merge "move hacking to tests folder"Jenkins2015-12-164-2/+2
|\ \ \ \ \ \
| * | | | | | move hacking to tests folderSteve Martinelli2015-12-154-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hacking should go under tests, no reason to pollute the top level directory with non-keystoneclient related bits. Change-Id: Ib4e9a3acfbab5a115c76bbc8bbf7241f42c6eac8
* | | | | | | Merge "remove venv bits from tools"Jenkins2015-12-165-435/+0
|\ \ \ \ \ \ \
| * | | | | | | remove venv bits from toolsSteve Martinelli2015-12-155-435/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to keystone [0], we don't need to carry around these files. - remove run_tests.sh since it's rarely used and an alternative exists - remove all the remaining venv related files since nothing uses them The real value of run_tests.sh over tox is that run_tests.sh enables running tests against against any virtualenv or Python installation. tox is just a tool that runs testr commands in a specific virtualenv. testr can be used directly as a run_tests.sh replacement for running tests in an arbitrary virtualenv or against any Python installation. [0] Change: I9d4ef8bf935eb565af1c8d53d1ed71be9a94a975 Change-Id: I3299c754269130482eb96a3b9276f628c72c4365
* | | | | | | | Merge "remove oslo-incubator's memorycache"Jenkins2015-12-162-104/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | / / / / | |_|_|/ / / / |/| | | | | |
| * | | | | | remove oslo-incubator's memorycacheSteve Martinelli2015-12-142-104/+0
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with middleware removed from keystoneclient we no longer need to keep memorycache around. Change-Id: I98d8ddd1398699f8821e4c36fe911c9d211c46a9 Related-Bug: #1449066
* | | | | | Merge "Add include_subtree to role_list_assignments call"Jenkins2015-12-162-1/+21
|\ \ \ \ \ \
| * | | | | | Add include_subtree to role_list_assignments calldaniel-a-nguyen2015-12-152-1/+21
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for Domain Admin to list role assignments. Related-Bug: 1437407 Depends-On: I3495c7cab3b40811b2722ac7d70ddda30410b62b Closes-Bug: #1462694 Change-Id: I63849d5f39d090fec3ef6b9182f339e198e0c551
* | | | | | Updated from global requirementsOpenStack Proposal Bot2015-12-151-2/+2
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I6ac0be65a0bbc2d276dfe3e903955d35af64b052
* | | | | Merge "remove the default arguments "{}""Jenkins2015-12-141-1/+3
|\ \ \ \ \
| * | | | | remove the default arguments "{}"Javeme2015-12-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove the default arguments "{}" when the function is defined. Change-Id: I81efaf299bc058208a5f553432068e93712cba83 ref: http://docs.python-guide.org/en/latest/writing/gotchas/
* | | | | | Updated from global requirementsOpenStack Proposal Bot2015-12-141-1/+1
|/ / / / / | | | | | | | | | | | | | | | Change-Id: Ic8b46a3a8bbc2ade14403f7adf97cf5fb1345ec8
* | | | | WebOb not needed after auth_token removalJamie Lennox2015-12-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary dependency. Change-Id: Ib465737ab1236cc4b364c3128a71719b7bc84f53
* | | | | Remove keystoneclient.middlewareVictor Stinner2015-12-1112-4429/+10
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code has been moved to the new keystonemiddleware project and keystone.middleware was deprecated since Juno. It's time to drop it in Mitaka. Remove the directory keystoneclient/middleware/. Remove test_auth_token_middleware.py, test_memcache_crypt.py and test_s3_token_middleware.py in keystoneclient/tests/unit/. Remove the create_middleware_cert shell function from examples/pki/gen_pki.sh. And remove the call from examples/pki/run_all.sh. Remove netaddr, pycrypto and WebOb test dependencies, only needed to test the removed middleware. Closes-Bug: #1449066 Change-Id: Iedd6887dcde62177d37e1e1988ed72bcb59c05f6
* | | | Updated from global requirementsOpenStack Proposal Bot2015-12-081-1/+1
| | | | | | | | | | | | | | | | Change-Id: If6cf0acf062cae46f4cc1ba81498b52cc03fc560
* | | | Updated from global requirementsOpenStack Proposal Bot2015-12-062-4/+4
|/ / / | | | | | | | | | Change-Id: I7976cff13bf12c921e2b48d83020ad3c651709d2
* | | Merge "Put py34 first in the env order of tox"Jenkins2015-12-041-1/+1
|\ \ \
| * | | Put py34 first in the env order of toxDave Chen2015-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To solve the problem of "db type could not be determined" on py34 we have to run first the py34 env to, then, run py27. This patch puts py34 first on the tox.ini list of envs to avoid this problem to happen. Change-Id: I0cc290e9fc13c8d61d933fe4b457008df0a29c5a Closes-Bug: #1489059
* | | | Merge "Accept v2 params to v3 service create"Jenkins2015-12-041-6/+14
|\ \ \ \ | |/ / / |/| | |