summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix doc error to unblock the gatestable/ussuriRadomir Dopieralski2022-07-221-0/+1
| | | | | | | | | /home/zuul/src/opendev.org/openstack/python-keystoneclient/.tox/docs/lib/python3.8/site-packages/keystoneauth1/fixture/discovery.py:docstring of keystoneauth1.fixture.discovery.DiscoveryList:1:duplicate object description of keystoneauth1.fixture.discovery.DiscoveryList, other instance in api/keystoneclient.fixture, use :noindex: for one of them Change-Id: Id2722a1b275be88af6d0337684f1eb012b7f4ce1 (cherry picked from commit f6569e22fc9a69bc2126fbc009121e88f17c0411) (cherry picked from commit 65883c41faf732a1e433651f3132869fe2bf82c0) (cherry picked from commit 041ea4a1c9174f7b391c0a6949ad9f6eecbf9e31)
* Merge "Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri" into stable/ussuriZuul2020-04-221-1/+1
|\
| * Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuriOpenStack Release Bot2020-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/ussuri branch, tests will continue to use the upper-constraints list on master. Change-Id: Idd98129468ea2a3e9e5f50b827f86e7366444ee9
* | Merge "Update .gitreview for stable/ussuri" into stable/ussuriZuul2020-04-221-0/+1
|\ \ | |/
| * Update .gitreview for stable/ussuriOpenStack Release Bot2020-04-111-0/+1
| | | | | | | | Change-Id: I72042536fb059fd0828a0f521a8e26febfb098ce
* | Fix docs publishingAndreas Jaeger2020-04-155-8/+16
|/ | | | | | | | | | | | | Use sphinx-build so that the output happens in the right place. Remove ChangeLog, instead link to the release notes. Use apidoc for API doc building. Fix main index page display so that title has higher level, use link to OpenDev. (cherry picked from commit a9d01eef93eef576bcecabf54e86c3a7a49651c8) Change-Id: Iaa8d7f2143d411be31ad10b546455f18015566f3
* Cleanup py27 supportussuri-em4.0.0Andreas Jaeger2020-04-043-23/+1
| | | | | | | | | | | | | Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove obsolete section from setup.cfg: Wheel is not needed for python 3 only repo - Update requirements, no need for python_version anymore - Remove future import from doc/source/conf.py Change-Id: Ibf594171cea8f81cc4139b29cbdce54f6d5107a7
* Merge "Update master for stable/train"Zuul2020-04-032-0/+7
|\
| * Update master for stable/trainOpenStack Release Bot2019-09-122-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: I4809a26e1eab621087a4b00488074f7f706df7ce Sem-Ver: feature
* | Update hacking for Python3Andreas Jaeger2020-03-318-3/+13
| | | | | | | | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: Ic161a8f88c28d88898863e5b9d9380016fbb0d08
* | [ussuri][goal] Drop python 2.7 support and testingVishakha Agarwal2020-01-225-20/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. python-keystoneclient is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: Ib6b6f7ca394dfa78cd5c8aeac0941dd625efef3b
* | Merge "Add support for app cred access rules"3.22.0Zuul2019-10-106-1/+194
|\ \ | |/ |/|
| * Add support for app cred access rulesColleen Murphy2019-08-216-1/+194
| | | | | | | | | | | | | | | | | | | | | | | | This change adds access_rules as a parameter for creating application credentials, and also adds the ability to list access rules and to retrieve and delete individual rules. Directly creating an access rule or updating one is not supported. bp whitelist-extension-for-app-creds Depends-On: https://review.opendev.org/671374 Change-Id: I490f1e6b421d4f36f588f83a511ce39b9b4204e2
* | Merge "Generate pdf documentation"train-em3.21.0Zuul2019-09-112-4/+27
|\ \
| * | Generate pdf documentationVishakha Agarwal2019-09-042-4/+27
| |/ | | | | | | | | | | | | | | | | This patch adds a new tox job/command for building the pdf version of documentation. tox -epdf-docs Change-Id: I0c0ef99190ea2a834bfdb47eb443b88a93bc802c
* | Merge "Add parent project filter for listing projects"Zuul2019-09-104-3/+47
|\ \
| * | Add parent project filter for listing projectsTakashi Kajinami2019-08-294-3/+47
| |/ | | | | | | | | | | | | | | | | | | This patch introduces the interface into listing project, to specify parent_id to filter projects which has the given project as their parent[1]. [1] https://docs.openstack.org/api-ref/identity/v3/?expanded=list-projects-detail#list-projects Change-Id: If78030425468d4f99cba708540142871a2bf9190
* | Fix unit tests broken by requests-mockTakashi Kajinami2019-09-062-3/+1
|/ | | | | | | | | | | | | Now requests-mock records request url in log[1], so it is invalid to check that the logger output does NOT contain request url. Also, fix url passed to request mock as now it requires complete url is passed [1] https://github.com/jamielennox/requests-mock/pull/93 Change-Id: I4bab30a6705b7cab6b5a569dd61c442263e39995
* Bump the openstackdocstheme extension to 1.20pengyuesheng2019-08-013-34/+1
| | | | | | | | | | | | | | Some options are now automatically configured by the version 1.20: - project - html_last_updated_fmt - latex_engine - latex_elements - version - release. Depends-On:https://review.opendev.org/#/c/660609/ Change-Id: I83ee2a89ae0a8158ed955581b738cea6ca93707d
* Merge "Update the constraints url"3.20.0Zuul2019-07-101-1/+1
|\
| * Update the constraints urlpengyuesheng2019-07-031-1/+1
| | | | | | | | | | | | For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: Ia23ddddb2c1488ea6bc036507f13e6adcf52108e
* | Merge "Add support for app cred access rules header"Zuul2019-07-101-3/+18
|\ \
| * | Add support for app cred access rules headerColleen Murphy2019-02-251-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This header is set to indicate to the keystone server that the client, usually keystonemiddleware, will validate application credential access rules. If not provided and the token uses access rules, the server will return a 401. bp whitelist-extension-for-app-creds Change-Id: I64ac952d663e916150fbf7e5a8f70b76dddf3319
* | | Blacklist bandit 1.6.0 & cap sphinx for 2.7Vishakha Agarwal2019-07-042-3/+5
| |/ |/| | | | | | | | | | | | | | | | | | | | | The latest version of bandit has broken directory exclusion, so multiple test files are getting flagged. This change blocks version 1.6.0 while this issue is fixed for 1.6.1. This change also caps sphinx at <2.0.0 for python version 2.7. This also updates the keyring version. Change-Id: I69a86ef21791698e4dd749fe5640fcdc7df1b0fc
* | Add Python 3 Train unit testsCorey Bryant2019-06-282-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I88c28ddf9601bb7b69b663a44562ab2c118050de Story: #2005924 Task: #34215
* | Follow bandit B105: hardcoded_password_stringVishakha Agarwal2019-06-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | tox -e bandit failing due to the string 'token' in [1]. According to the bandit 105 any password assigned to a string should not contain any of the variables in [2] [1]https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/common/cms.py#L41 [2]https://bandit.readthedocs.io/en/latest/plugins/b105_hardcoded_password_string.html Change-Id: I822e1195532df2b701f10087cabceda458211986
* | Merge "Update json module to jsonutils"Zuul2019-05-024-16/+18
|\ \
| * | Update json module to jsonutilscao.yuan2019-02-254-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oslo project provide jsonutils, and keystoneclient use it in many place[1], this PS to update the remained json module to oslo jsonutils for consistency. [1]: https://github.com/openstack/python-keystoneclient/search?utf8=%E2%9C%93&q=jsonutils&type= Change-Id: Id5275b5e6b5bf8f6d54406dac7ab95a30828cf58
* | | Replace git.openstack.org URLs with opendev.org URLsjacky062019-04-242-2/+2
| | | | | | | | | | | | | | | Change-Id: Ifdc21541715cc03b0f6eac5a27a7ee3009d53046 Closes-Bug: #1826197
* | | OpenDev Migration PatchOpenDev Sysadmins2019-04-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge "Update master for stable/stein"Zuul2019-04-122-0/+7
|\ \ \
| * | | Update master for stable/steinOpenStack Release Bot2019-03-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/stein. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/stein. Change-Id: Iff1711b5af0861ad025119dce7f69ccde9f3a990 Sem-Ver: feature
* | | | Update the min version of toxVishakha Agarwal2019-04-091-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | In Train, we will use python3.6 and 3.7 for which the minimum tox version required is 2.5[1] [1]https://tox.readthedocs.io/en/latest/changelog.html#v2-6-0-2017-02-04 Change-Id: Idb9a12258fb47a20b4afea7a2d9780b776d7a990
* | | Merge "Make tests pass in 2020"Zuul2019-03-066-21/+21
|\ \ \
| * | | Make tests pass in 2020Bernhard M. Wiedemann2019-02-286-21/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, build failed after 2019-12-31 with Traceback (most recent call last): File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY) File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs self.assertEqual(json, val) Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77
* | | Drop py35 jobsVishakha Agarwal2019-03-013-3/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | Python 3.5 was the target runtime for the Rocky release. The current target py3 runtime for Stein is Python 3.6, so there is no reason to keep testing against the older version. Also correct setup.cfg and tox.ini to reflect the current supported Python versions. https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein Change-Id: I67c892e0b5afaf8e603a77102e06567a1bfe2eb6
* | add python 3.7 unit test job3.19.0Corey Bryant2019-02-141-0/+1
|/ | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.7. See ML discussion here [1] for context. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c01 Story: #2004073 Task: #27422
* Merge "Add return-request-id-to-caller function(v3/contrib)"Zuul2019-01-168-21/+39
|\
| * Add return-request-id-to-caller function(v3/contrib)openstack2019-01-168-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added return-request-id-to-caller function to resources and resource managers in the following files. * keystoneclient/v3/projects.py * keystoneclient/v3/registered_limits.py * keystoneclient/v3/roles.py * keystoneclient/v3/limits.py * keystoneclient/v3/contrib/federation/saml.py Also made changes in base.py for _put() method so that if include_metadata is True, the response data should include request_id instead of returning None as response. Change-Id: Ifc0ec9a9d666cccfee3b08ac61596a3692307f23 Implements: blueprint return-request-id-to-caller
* | Update hacking versionZhijunWei2019-01-042-4/+4
| | | | | | | | | | | | | | 1. update hacking version to latest 2. fix pep8 failed Change-Id: Iecc112206633a7e771c5e45547c573d74cce6f67
* | Merge "Change openstack-dev to openstack-discuss"Zuul2018-12-071-1/+1
|\ \
| * | Change openstack-dev to openstack-discusssunjia2018-12-031-1/+1
| |/ | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: Ia14ecbd5f6051b9e391cd2ed0cfbde14913813bf
* | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-301-0/+1
|/ | | | Change-Id: Idd26135eb12bfa4acaed9f42f0a5d6ad9492c7fc
* Merge "Fix keystoneclient-devstack-functional job"Zuul2018-11-303-2/+16
|\
| * Fix keystoneclient-devstack-functional jobJens Harbott2018-11-283-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | The keystoneclient-devstack-functional job works fine when being run against this repo, but fails when running against the keystone repo because of conflicts within the tools/test-setup.sh script there. Do our own definition of the job to make sure that we always run tox against the correct repo. Also base the job on devstack-minimal to avoid installing more serviced than needed. Change-Id: Ie4c03de48a3b7f2fb3967a185486c6fb0d6e0a5f
* | Merge "Add release notes for return-request-id-to-caller"Zuul2018-11-291-0/+7
|\ \
| * | Add release notes for return-request-id-to-callerMaho Koshiya2018-11-291-0/+7
| | | | | | | | | | | | | | | | | | Change-Id: I6a9b5ec4f2a82c87f9819f5195f72540a13573b8 Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Implements: blueprint return-request-id-to-caller
* | | Merge "Add return-request-id-to-caller function(v3/contrib)"Zuul2018-11-299-29/+364
|\ \ \ | |/ / | | / | |/ |/|
| * Add return-request-id-to-caller function(v3/contrib)openstack2018-10-229-29/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added return-request-id-to-caller function tovresources and resource managers in the following files. * keystoneclient/v3/contrib/simple_cert.py * keystoneclient/v3/contrib/endpoint_policy.py * keystoneclient/v3/contrib/oauth1/access_tokens.py * keystoneclient/v3/contrib/oauth1/request_tokens.py Adding request-id to below V3 contrib API's is covered in base patch [1] but this patch is specifically for V3 API's so covered their test cases in this patch. * keystoneclient/v3/contrib/endpoint_filter.py * keystoneclient/v3/contrib/federation/identity_providers.py * keystoneclient/v3/contrib/federation/mappings.py * keystoneclient/v3/contrib/federation/protocols.py * keystoneclient/v3/contrib/federation/service_providers.py The methods in the resource class and resource manager return a 'base.Response' class that has 'request_ids' property. The caller can get request ids of the callee via that property. [1] https://review.openstack.org/#/c/329913 Change-Id: I5f90c31020e0dd672a160c7b587f41ba8f2b596c Co-authored-by: Dinesh Bhor <dinesh.bhor@nttdata.com> Co-authored-by: Ankit Agrawal <ankit11.agrawal@nttdata.com> Co-authored-by: Neha Alhat <neha.alhat@nttdata.com> Implements: blueprint return-request-id-to-caller
* | Merge "Add py36 tox environment"Zuul2018-11-191-1/+1
|\ \