Commit Graph

18 Commits

Author SHA1 Message Date
sunyonggen de15a610e1 External OAuth2.0 Authorization Server Support
The external_oauth2_token filter has been added for accepting or denying
incoming requests containing OAuth 2.0 access tokens that are obtained
from an External Authentication Server.

Depends-On: https://review.opendev.org/c/openstack/keystoneauth/+/860614
Implements: blueprint enhance-oauth2-interoperability
Change-Id: I529c5b0c89933395b126e86651ef09368dd7e6b4
2023-08-30 13:30:32 +00:00
Hiromu Asahina 1c820f0c1c Add missing doc requirements
This updates the test-requirements to fix No module error in oslo_config.sphinxconfiggen when executing tox with doc env.

Change-Id: I4bfe30b3517f4a6c5c536afa150c66ef8522a2d0
2023-02-10 18:53:03 +00:00
Zuul 11ea4a8bd2 Merge "Use unittest.mock instead of third party mock" 2020-08-24 19:38:38 +00:00
Andreas Jaeger a9e9de2f21 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* parallelizing building of documents

Update Sphinx version as well.

Remove the doc requirements from lower-constraints, they are not
needed during installation.

openstackdocstheme renames some variables, so follow the renames. A
couple of variables are also not needed anymore, remove them.

Set openstackdocs_pdf_link to link to PDF file.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ic7c901ff19aa073b6e003ccb95aaf77886f20152
2020-05-21 13:43:00 +00:00
Sean McGinnis 215217ea8b
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Idc319f3f8a3ddd57cba91e4cefc66dbb18d5cc22
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:53:42 -05:00
Vishakha Agarwal bf39733017 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

keystonemiddleware 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: Ia6f0e14efd19b0b98227258e7264b4850a197f4f
2020-01-07 09:31:56 -05:00
Vishakha Agarwal 381e81cfb2 Generate pdf documentation
Change-Id: I4bc8c036ce91795129970ab4f8c2536401c2a135
2019-09-27 17:43:03 +00:00
Zuul 90c6872615 Merge "Bump the openstackdocstheme extension to 1.20" 2019-08-16 16:13:11 +00:00
pengyuesheng f7d8334829 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I161a3983e23b0ae50c232eb63ca78f8fd230e91e
2019-08-02 15:11:07 +08:00
pengyuesheng 3e4eda0e83 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: Ia166252623563438c42538320f6fbf7c74785520
2019-08-02 15:07:35 +08:00
Gage Hugo e93d078958 Blacklist bandit 1.6.0 & cap sphinx for 2.7
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.

Change-Id: I5d32d835886360522af21f735c74b2f85036f7f1
2019-05-20 11:26:34 -05:00
melissaml a451b28c43 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Ia0a27229f09467980ff4af014001febb017bb36d
2018-06-06 15:22:22 +00:00
OpenStack Proposal Bot fadab2fb2b Updated from global requirements
Change-Id: I71330bf5adcdd55a1a782189a29886f9189dddd0
2018-03-23 01:02:54 +00:00
OpenStack Proposal Bot e15e2d040b Updated from global requirements
Change-Id: Ia31fc31bd33e85622a15bc383cf1bb7af753de7e
2018-03-17 08:35:04 +00:00
OpenStack Proposal Bot 04cd4676cc Updated from global requirements
Change-Id: I29e02c0626456f34663c1d223a9512f083a21309
2018-01-24 00:57:26 +00:00
OpenStack Proposal Bot 316d1b4659 Updated from global requirements
Change-Id: Iafc586a8752d08e5b4ce1dd6599f674aad3e2943
2018-01-17 20:37:16 +00:00
OpenStack Proposal Bot 8b7ac8e3e4 Updated from global requirements
Change-Id: I6effa91e130eaf7ebdf30dd36e1c486e2f36df07
2018-01-16 04:09:47 +00:00
Colleen Murphy ba9c1a3bec Fix docs builds
With the new way of generating docs in the gate[1] our autodoc builds
are slightly broken. Put the required dependencies for doc building and
autodoc generation into doc/requirements.txt. We can also now remove
docs-related requirements from test-requirements.txt.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Ifbd16fe364bb216821125c70bb7d3ab0ac1f10a3
2017-12-20 00:39:46 +01:00