Commit Graph

40 Commits

Author SHA1 Message Date
Ghanshyam Mann c1e41862fd Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I7790eb33aabcc87dd3722508999b6ebc92f90913
2024-01-03 23:55:59 -08:00
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
sunyonggen a59020fdab OAuth 2.0 Mutual-TLS Support
The oauth2_mtls_token filter has been added for accepting or denying
incoming requests containing OAuth 2.0 certificate-bound access
tokens that are obtained from keystone identity server by users
through their OAuth 2.0 credentials and Mutual-TLS certificates.

Co-Authored-By: Hiromu Asahina <hiromu.asahina.az@hco.ntt.co.jp>
Depends-On: https://review.opendev.org/c/openstack/keystoneauth/+/860614
Change-Id: I49127d845954ad6eab39e6e6305948ef0e4ed7b5
Implements: blueprint support-oauth2-mtls
2023-03-03 11:28:01 +09:00
Yi Feng f7ac6a1b24 OAuth2.0 Client Credentials Grant Flow Support
The oauth2_token filter has been added for accepting or denying
incoming requests containing OAuth2.0 client credentials access tokens
that are obtained from keystone identity server by users through their
application credentials.

Change-Id: I15e438681749ed2c2666804a9efd8d4712a7b01c
2022-08-23 09:39:18 +00:00
Zuul dd31878b29 Merge "setup.cfg: Replace dashes by underscores" 2022-06-07 15:25:50 +00:00
Zuul f442cb3ad4 Merge "Update python testing as per zed cycle teting runtime" 2022-06-07 15:25:25 +00:00
Zuul f550deec96 Merge "Remove translation sections from setup.cfg" 2022-06-03 19:02:24 +00:00
Takashi Kajinami bad107ef79 setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Id43f253899b5af1f40a41d7fff1f78c316b31367
2022-06-01 20:18:18 +09:00
Takashi Kajinami 9e827f7781 Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I0b6a6b22ce7e9e2de4cf7eadd87699d7b26cdda6
2022-05-27 16:20:15 +00:00
Zuul 255808424c Merge "Add oslo.config.opts entrypoint for audit middleware options" 2022-05-06 17:33:40 +00:00
Takashi Kajinami 5c676b72d3 Add Python 3 only classifier
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.

Change-Id: I4bfe0bd6eaed2c5edeef00de4c5f9830ceaee71b
2022-02-08 23:33:44 +09:00
Takashi Kajinami 7b8a72d2c5 Add oslo.config.opts entrypoint for audit middleware options
... so that each service using the audit middleware can include these
parameters in .conf file generated by oslo-config-generator by adding
that entrypoint to the command.

Closes-Bug: #1939632
Change-Id: Ied954c633570c51af9504514ffed18e12de8caac
2021-08-12 11:17:13 +09:00
melissaml 2f614b4641 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I50b3b5feef4b5e78e9f920bc20bbaf75db70b787
2020-05-14 18:07:27 +08:00
Ben Nemec 66352680ab Remove universal wheel configuration
Now that we've dropped py2 support we shouldn't be setting this
anymore.

Change-Id: I6c5f0a87ac7551674ce09f5fde5fdbce103e2a47
2020-02-06 17:31:16 +00: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 c706ceb014 Drop py35 jobs
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: I7304a04870bd5a41ae593d543291a25d73cabe60
2019-03-01 11:37:06 +01:00
Vieri 58c5115e4a Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ic98b7942c1f394a45958c86eb2d091490fc25b1f
2018-12-05 03:37:34 +00: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
melissaml 18c2c4faf8 Update home-page url
The url of home-page is out of date. We need update it.

Change-Id: I9b9b3033d3fdb7c1db5eea090b558c160c673243
2018-02-26 01:24:48 +08:00
OpenStack Proposal Bot 9df878e7db Updated from global requirements
Change-Id: I8f3fb853bf358db8fe01427d57b0823f5e3d82c0
2017-10-15 17:00:19 +00:00
Jenkins 1c12eb4131 Merge "Added "warning-is-error" sphinx check for docs" 2017-07-14 20:32:00 +00:00
OpenStack Proposal Bot c86bbd076f Updated from global requirements
Change-Id: I119fbce30d448bcda1be5da1122922b1ea5c3b57
2017-06-03 13:05:19 +00:00
Gage Hugo 7e209b9767 Added "warning-is-error" sphinx check for docs
This change adds the "warning-is-error" setting
to setup.cfg in order to enforce strict doc validation which
will cause the build to fail if any warnings are thrown.

This also removes the redundant loading of the todo plugin
warning that shows up while running 'tox -e docs' with
'warning-is-error' enabled.

Change-Id: I33c110073feec7dd38ab75981d6f97c654852f37
2017-04-24 16:31:00 -05:00
OpenStack Proposal Bot 9b14d80fe0 Updated from global requirements
Change-Id: I5c42ec052c4b8f6a3cabc5e2456b1aacc322e479
2017-04-06 22:03:25 +00:00
Gage Hugo 126cad8dee Remove old comment referencing fixed bug
There was an old comment left regarding this bug:

https://bugs.launchpad.net/pbr/+bug/1260495

which was fixed over a year ago but left over.

This change removes the comment and related extension
and adds the referenced pbr setting.

Change-Id: Ib334c136835a9b5b43cabe13b9616cce45e578e0
2017-03-08 11:02:46 -06:00
Eric Brown 96dac98364 Use https for *.openstack.org references
The openstack.org pages now support https and our references to
the site should by default be one signed by the organization.

Change-Id: I8521461203fe40e4576f4de7cfb500bd64027d6d
2017-02-05 20:36:42 -08:00
Eric Brown 0c1dee4a9d Remove references to Python 3.4
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: I77626618b9c8a61017df3e28c10a779a54422080
2017-01-05 15:30:50 -08:00
OpenStack Proposal Bot 3dab9e2a41 Updated from global requirements
Change-Id: I4b215fe4c7e8994f0e1ba34f2217b9d05b90ea0e
2016-12-07 13:32:26 +00:00
Deepak 1efbaf774b Changed the home-page link
Set the correct url link for home-page

Change-Id: Ib5f627a4f7a64a9f23a092e1714da2f89a25c7d4
Closes-Bug: #1631092
2016-10-06 23:40:27 +05:30
Yatin Kumbhare 8873c4870b Add Python 3.5 classifier
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier.

Change-Id: I134c602346e2eac0cba46e9e884c8255c460f9b5
2016-07-20 16:50:46 +05:30
Steve Martinelli ef29dfce89 Use extras for oslo.messaging dependency
Install the oslo.messaging optional dependency by doing:

  keystonemiddleware[audit_notifications]

pbr documentation:

  http://docs.openstack.org/developer/pbr/#environment-markers

Partial-Bug: 1540115

Change-Id: I59eea1f7eb0e770ac4fe30211eff49ae76fb2550
2016-06-28 23:56:47 +00:00
Jamie Lennox f0965c955d Split oslo_config and list all opts
The intent of providing the list_auth_token_opts function was to provide
the oslo_config sample config file generator a list of options to
include in its sample files. However, services like zaqar have come to
rely on the list_auth_token_opts to list all the options that may be
consumed by auth_token middleware so that they can register them against
a non-global oslo_config object.

By removing deprecated options from the list_auth_token_opts we remove
these options from the config objects that the services use, however by
keeping them we will forever have deprecated options in sample config
files.

To split these two functionalities create a new function that lists the
options available for sample config files and update the entrypoint to
reflect this. This function is currently private because it should only
need to be accessed via entrypoint. The old deprecated options are then
added back to the original list_auth_token_opts function.

Closes-Bug: #1533932
Change-Id: I2aae5483c9309ab75985298c8de5b6f24cbc0f0d
2016-02-11 13:00:28 +11:00
Tom Cocozzello 63e7e662d3 Define entry points for filter factories for Paste Deployment
Define filter factories so projects can reference them by name
and can take advantage of the python egg instead of referencing
by the direct path.

Change-Id: I555ca5e4ae6bd89775d8ef95940b6915f4cef4da
Closes-Bug: #1505407
2015-11-06 12:16:44 -06:00
Eric Brown e7dde0bb79 py34 not py33 is tested and supported
The setup.cfg refers to Programming Language of Python 3.3 whereas
jenkins is setup only to test Python 3.4. This patch updates setup.cfg
and removes py33 from tox.ini.

TrivialFix

Change-Id: I6e4b01bf4997a99fd0ac0c2602d87321c076d2ad
2015-07-13 11:43:06 +00:00
Morgan Fainberg 8aa9e80745 Drop py2.6 support for keystone middleware
Since it is not supported to run very modern Keystonemiddleware
with much older services, py26 is no longer needed for Kyestonemiddleware.

This will allow us to cleanup the test-requires and other py26-specific
requirements from the project.

Depends-On: I316d3ec56ade662cb5deeca0d3d48230c878f35d

Change-Id: If4bbac7b5d14107037591e8916170841e17d0ef1
2015-05-30 12:30:18 -07:00
Jenkins 1ed7d547c9 Merge "Mark keystonemiddleware as being a universal wheel" 2014-07-28 22:53:17 +00:00
Morgan Fainberg bc143620b7 Mark keystonemiddleware as being a universal wheel
Keystonemiddleware is pure python and is version agnostic. 
It should be marked as a universal wheel as it can be installed 
anywhere by pip (see the documentation on python packaging and
wheels). This mirrors python-keystoneclient's marking as a
universal wheel (as most of the code in keystonemiddleware
originated from python-keystoneclient).
 
Change-Id: I3e25578e6fc7a30b5eb7544d85a7ef39e711bd34
2014-07-18 17:38:02 +00:00
Zhi Yan Liu 62093bfc85 Expose an entry point to list auth_token middleware config options
Register a 'keystonemiddleware.auth_token' entry point in the
oslo.config.opts namespace which, when called, returns a list of the
configuration options which may be registered by the project at runtime.

The idea here is that the sample config file generator can query this
and include the returned options in the sample config file of any
applications which use the middleware, e.g. currently the options
were listed in 'keystone_authtoken' section for those major projects.

Related-Change-Id: I15686708fc9460948a58cfea3d18dae40ba1fda9
Related-Change-Id: Ic28351258652d2ea38974e2f4d1aa6b1d3dd7192
Related-Change-Id: I76043b08e2872867e5af2a5ac902e4d092fda5c8
Related-Bug: #1300546

Change-Id: Iae31856d5886ee78786972d80c7c103c3460a2b3
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
2014-07-02 13:23:09 -07:00
Morgan Fainberg 5b8fe9a2ff Update setup.cfg to remove keystoneclient ref
Remove a reference to keystoneclient from the setup.cfg file.

Change-Id: I2b67f3baf832b337f1c756d6e82db54774720b8a
2014-06-24 14:50:26 -07:00
Morgan Fainberg 0fa3fe5576 Initial commit
The initial commit of the keystonemiddleware repo
2014-06-19 15:45:29 -07:00