summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* OpenDev Migration Patchocata-eolstable/ocataOpenDev Sysadmins2019-04-191-1/+1
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Avoid tox_install.sh for constraints supportAndreas Jaeger2018-10-192-39/+4
| | | | | | | | | | | | We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: Iee9939776d5552b818aec5cab0b8c2a1133f74b9 (cherry picked from commit 40f4a6b282757d7dd9ebd60de0c4cfbeccfcb16f)
* import zuul job settings from project-configDoug Hellmann2018-09-072-0/+20
| | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Also while we're there we need to make these tox environments compatible with pip>=10 Change-Id: I96b5a8de89f6607e64b3f9b88bfb3b36ab63d1a6 Story: #2002586 Task: #24304
* Update UPPER_CONSTRAINTS_FILE for stable/ocataOpenStack Release Bot2017-01-251-1/+1
| | | | Change-Id: I77670e46ff2aa2b61ac38918d0b78be3ec95a06d
* Update .gitreview for stable/ocataOpenStack Release Bot2017-01-251-0/+1
| | | | Change-Id: I6e378f28f446347787dd637b9d12fa238af0c1f4
* Merge "Allow Multiple Filters of the Same Key"ocata-em3.10.0Jenkins2017-01-253-1/+33
|\
| * Allow Multiple Filters of the Same KeySamuel Pilla2017-01-243-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the way filters were passed in would not allow filtering on the same key. For example: keystone.users.list(name__contains='test', name__contains='user') This fails because of how kwargs handles key/value pairs. This patch allows using multiple values for the same filter. Example: keystone.users.list(name__contains=['test', 'user']) Specifying the only one filter value is still functional as expected. Co-Authored-By: Jeffrey Augustine <ja224e@att.com> Partially-Implements: bp pci-dss-query-password-expired-users Change-Id: I89cecf7e18974e7860ba0925840d6264168eabcb
* | Updated from global requirementsOpenStack Proposal Bot2017-01-211-1/+1
|/ | | | Change-Id: Ia7be0de146563e59b7ba50cc9d27f9d790c8b25a
* Fix response body being omitted in debug mode incorrectlyTin Lam2017-01-172-2/+18
| | | | | | | | | | In debug mode, when a response's header Content-Type is set to "application/json" with a parameter, i.e., "application/json; charset=UTF-8". This patch set ignores the additional parameter and only match the mimetype. Change-Id: Ie8fcb1061e0e49b039436947524cfdc704c83846 Closes-Bug: #1656981
* Updated from global requirementsOpenStack Proposal Bot2017-01-161-1/+1
| | | | Change-Id: Id01542e6bd83908f1859a047ec49bc16de87c8a3
* Merge "Removes unnecessary utf-8 encoding"Jenkins2017-01-132-3/+0
|\
| * Removes unnecessary utf-8 encodingji-xuepeng2017-01-132-3/+0
| | | | | | | | Change-Id: Ide4cb14246394522e35929cf08978aaf5fa9eb59
* | Only log application/json in session to start3.9.0Steve Martinelli2017-01-103-36/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When whitelisting content types to debug print from session we chose application/json and application/text. application/text is not a real mime type, text is typically text/plain. Rather than guess at mime types only print application/json to start with, but make it easy for additional types to be added later. Adapted from keystoneauth: Ica5fee076cdab8b1d5167161d28af7313fad9477 Related-Bug: 1616105 Change-Id: Ieaa8fb3ea8d25e09b89498f23b70b18c0f6153f1
* | X-Serivce-Token should be hashed in the logTin Lam2017-01-093-2/+8
| | | | | | | | | | | | | | | | | | | | Currently, logs display the hash values of X-Auth-Token, Authorization, and X-Subject-Token, but not the value of the X-Service-Token. This patch set adds the X-Service-Token to the list of header fields to be hashed for logging purposes. Change-Id: Iaa3a27f4b6c3baf964fa0c71328ffe9df43b2c0a Closes-Bug: #1654847
* | Merge "Do not log binary data during request"Jenkins2017-01-082-7/+9
|\ \
| * | Do not log binary data during requestSteve Martinelli2017-01-062-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not log binary data during debug logging of a session. Replace the binary data with the string <binary_data> instead. sort of a backport of: I5184002f3a21c5e0ee510b21b9a7884c8dccd1e3 Change-Id: I07ddbc3967f297597542f1975004d94c490f6e6b Related-Bug: 1616105
* | | Merge "remove hacking checks from keystoneclient"Jenkins2017-01-065-149/+0
|\ \ \
| * | | remove hacking checks from keystoneclientSteve Martinelli2017-01-065-149/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the only hacking check in keystoneclient is related to older versions of oslo libraries, which are no longer supported by keystoneclient, for example: $ pip freeze | grep oslo.utils oslo.utils==3.18.0 $ python >>> import oslo.utils Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named oslo.utils >>> import oslo_utils >>> Let's just remove the hacking check since theres no way someone could incorrectly import the older versions. Closes-Bug: 1652458 Signed-off-by: Adam Williamson <awilliam@redhat.com> Change-Id: I14165903b46d2fc26e8c9de591917893f58516db
* | | Merge "Remove references to Python 3.4"Jenkins2017-01-062-2/+1
|\ \ \
| * | | Remove references to Python 3.4Eric Brown2017-01-052-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that there exists only a gate job for Python 3.5 and not 3.4, we should remove those references to the 3.4 that is untested. Change-Id: Id32fca50f5f1834175b6003be61f2cc4c8b9aeeb
* | | | Updated from global requirementsOpenStack Proposal Bot2017-01-051-1/+1
|/ / / | | | | | | | | | Change-Id: Ie02917c0904dfa52205acbd65fe3bbb867efcdb3
* | | Merge "Prevent MemoryError when logging response bodies"Jenkins2017-01-054-14/+82
|\ \ \ | |/ / |/| |
| * | Prevent MemoryError when logging response bodiesTobias Diaz2017-01-054-14/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Response bodies are loaded into memory prior to being logged. Loading huge response bodies may result in a MemoryError. This patch proposes that only JSON and TEXT responses be logged, i.e when the Content-Type header is application/json or application/text. Responses that do not include or have a different Content-Type header will have their body omitted. This is a sort of backport of the fix for keystoneauth sessions, see I93b6fff73368c4f58bdebf8566c4948b50980cee Co-Authored-By: Samuel de Medeiros Queiroz <samueldmq@gmail.com> Closes-bug: 1616105 Change-Id: I8f43eee3a0b35041c6cf672e476f8151cf2f8d14
* | | Merge "re-work inference rule bindings"Jenkins2016-12-215-131/+383
|\ \ \
| * | | re-work inference rule bindingsSteve Martinelli2016-12-185-131/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - At least one API was not implemented (list_implied_roles) - the tests were lacking assertions and proper mocked responses - some of the functionality just didn't work (see bug) - returning Role objects instead of InferenceRule objects Related commits: - I80a40e88b571fe9b0eca3af8b705ea79f28eb904 - I66e863fb83f8dfcca2c48116d4377df060f402c3 Closes-Bug: 1647934 Change-Id: I7b449a93d7d4d3eb9ca857f6c1f78f884bad2534
* | | | Add Constraints supportTony Breeds2016-12-212-3/+36
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding constraints support to libraries is slightly more complex than services as the libraries themselves are listed in upper-constraints.txt which leads to errors that you can't install a specific version and a constrained version. This change adds constraints support by also adding a helper script to edit the constraints to remove python-keystoneclient. Change-Id: I8933945ab8948c43022963ba6cff4d38cec5a04f
* | | Updated from global requirementsOpenStack Proposal Bot2016-12-151-1/+1
| | | | | | | | | | | | Change-Id: I0cda41be17bf1e8f65819e7dc6aca10cc7bffd49
* | | Merge "Deprecate the generic client"Jenkins2016-12-083-0/+13
|\ \ \
| * | | Deprecate the generic clientJamie Lennox2016-12-073-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generic client has been around and unused for a really long time. I dont think it works at all and was never updated to support V3 concepts. Realistically we can probably just remove it and noone will notice, but give it a quick deprecation cycle. Closes-Bug: #1647930 Change-Id: Ie68c8995275bcd55aede49d8f4af4e0d172de089
* | | | Use assertIsNone(...) instead of assertEqual(None, ...)chenaidong12016-12-082-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refer to:http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises [H203] Use assertIs(Not)None to check for None (off by default) Unit test assertions tend to give better messages for more specific assertions. As a result, assertIsNone(...) is preferred over assertEqual(None, ...) and assertIs(None, ...) Change-Id: I4e60f3f7f3557080669b98cb48627acc40a72606
* | | Refactor test_projectsRodrigo Duarte Sousa2016-12-051-37/+36
| | | | | | | | | | | | | | | | | | | | | Do not reuse the environment's domain and project, create new ones for the tests. Change-Id: I91a5c1b42c0b31f548c1154a4ef028f45cf1cd24
* | | Refactor test_credentialsRodrigo Duarte Sousa2016-12-051-13/+18
| | | | | | | | | | | | | | | | | | | | | Do not reuse client's domain, create a new one to be used only by the test, which is destroyed later. Change-Id: I4e3bb11a92535650317a30e6a1854bfd161ee93f
* | | Merge "Updated from global requirements"Jenkins2016-12-041-1/+1
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2016-12-041-1/+1
| | | | | | | | | | | | | | | | Change-Id: I943665eef62b3427e66e2f9c5f5f9d1088ff36ee
* | | | Fix Failing tests with openssl >= 1.1.0Ondřej Kobližek2016-12-041-4/+15
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keystoneclient.tests.unit.test_cms.CMSTest.test_cms_verify keystoneclient.tests.unit.test_cms.CMSTest.test_cms_verify_token_no_files failing with: Command 'openssl' returned non-zero exit status 1 I think its OpenSSL >= 1.1 bug, which returns wrong exit code (1 instead of 2) if input file not exists. Change-Id: I776596487f305c759b88c0d4c604571c33c6ef70 Closes-Bug: #1646858
* | | skip failing functional testSteve Martinelli2016-12-041-0/+3
| | | | | | | | | | | | Change-Id: If3894679d21709ab813b4675c4bc721a3987596a
* | | Merge "Fix missing service_catalog parameter in Client object"3.8.0Jenkins2016-12-013-1/+20
|\ \ \
| * | | Fix missing service_catalog parameter in Client objectMikhail Nikolaenko2016-08-053-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return None if service_catalog parameter does not exist. service_catalog is the property and it is not initialized on object creation. service_catalog tries to get value from auth_ref and raises AttributeError exception if auth_ref is not initialized. It worked before we introduced sessions, because authentication happened on client instantiation. Now, when sessions are used, auth_ref is not initialized until the first request. This change adds try-catch block in service_catalog property to catch this error. Change-Id: I58eb888f0989241f9e5626564bd48d901b324d36 Closes-Bug: #1508374
* | | | Merge "Pass allow_expired to token validate"Jenkins2016-11-293-4/+36
|\ \ \ \
| * | | | Pass allow_expired to token validateJamie Lennox2016-11-293-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow passing the allow_expired flag to v3 token validation to support extended service to service communication. Implements bp: allow-expired Change-Id: Ia1763fedc1838ad3c58c7f8f98f00b7eaad55a5c
* | | | | Show team and repo badges on READMEFlavio Percoco2016-11-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the team's and repository's badges to the README file. The motivation behind this is to communicate the project status and features at first glance. For more information about this effort, please read this email thread: http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html To see an example of how this would look like check: https://gist.github.com/9ccb4a8d24c50452d5c816c357a4c220 Change-Id: I79ea8e8aafe99d729b7ee64899b6e7342afc40ee
* | | | | Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'howardlee2016-11-182-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trivial fix. Change-Id: I818245eaa9e63322b1c6de049368aa4e09b01b4b
* | | | | Fix some spelling mistaks in base.py & auth.pyzhangyanxian2016-11-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | TrivialFix:"dependant" should be "dependent" Change-Id: I276876e5909ac5958c9e0e911b45e813b8104702
* | | | | Merge "Fix typo in access.py"Jenkins2016-11-171-1/+1
|\ \ \ \ \
| * | | | | Fix typo in access.pyzhangyanxian2016-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TrivalFix Change-Id: I44250004eb56b579c227874e4b08e358e8dd8712
* | | | | | Refactor test_domain_configsRodrigo Duarte Sousa2016-11-161-13/+18
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not reuse the environment domain, create a new one to be fully controlled by the test cases. Change-Id: Idb894da724e252b01405fc937c021fd8981ee090
* | | | | Merge "Do not add last_request_id"3.7.0Jenkins2016-11-141-2/+0
|\ \ \ \ \
| * | | | | Do not add last_request_idBoris Bobrov2016-11-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is untested and doesn't work for a while. It also causes a failure when the method is used by other client or by keystoneclient itself. Change-Id: Icdd53936a107933e275acd43b5ebe94b8d04bc4b Closes-Bug: 1637530
* | | | | | Merge "Remove revocation event code"Jenkins2016-11-112-318/+0
|\ \ \ \ \ \
| * | | | | | Remove revocation event codeBoris Bobrov2016-11-102-318/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was added in 2014 and was supposed to be used for sharing revocation events with keystonemiddleware. It was never finished, and the code is untested and is not used by anything. Change-Id: I905b7b3d95274b3c501b1e584e492eefa72158c1