Patrole project is not active anymore and its gate is broken.
We waited for couple of cycle to see if there is any interest
in this project and anyone can maintain it. But we did not get any
new maintainers and current QA team does not have bandwidth/interest
to continue maintaining it.
This project was for RBAc testing which is moving towards unit/functional
tests on service side as well as tempest plugins tests.
In QA 2023.2 PTG, we decided to retire this project
- https://etherpad.opendev.org/p/qa-bobcat-ptg
Change-Id: I7721cf06104e5871ec27cdd87d4608dace60a8b7
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
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: Icd9b8b1faa5e67e372fd411e6720f4c63f14d2bb
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Remove hacking requirements from lower-constraints, they
are not needed for install
Change-Id: I150a5ee2cd08abf5ce9cf9daf2835007dea0dffd
Patrole doesn't have a translation infrastructure, so this is
to remove translation sections from the setup.cfg; these
sections are the same as those documented under:
https://docs.openstack.org/infra/manual/creators.html#python-projects
Change-Id: If2efd6e462933d0d192e331d12f0798ddf12ce46
Updating the patrole entry_point plugin name from
'patrole_tempest_plugin' to 'patrole_tests'
Closes-Bug: #1694813
Change-Id: I31cfd09f2a18345c579a5076b4367486bbd51f7d
This PS auto-generates the sample config file using
oslo-config-generator which is how every project should reliably
produce a config file.
In addition, the Patrole documentation was updated to link to the
generated config file, so that the documentation accurately
shows config options.
Change-Id: Ib3c39084b4c2b5a0078d1293d882cf9a9050b29b
Closes-Bug: #1709490
This commit sets warning-is-error = 1 under the build_sphinx
section of setup.cfg, now the standard across many OS services,
to flag sphinx warnings as errors.
Change-Id: I30a5425d7b6a221121350044ff3d197464b43cdb
The gating on python 3.4 is restricted to <= Mitaka. This is due to the
change from Ubuntu Trusty to Xenial, where only python3.5 is available.
there is no need to continue to keep these settings.
Change-Id: I71db19d9233254ecec89b774585271d47caba75f
As defined in https://governance.openstack.org/tc/goals/pike/python35.html
Pike community goal for py35, adding py35 to setup.cfg.
I believe the py35 unit tests should be enough for this, but eventually we
should setup a py35 dsvm test as well.
Change-Id: I44d5465bf4d6223e603853c03d53d2b8cd98d1e0
Includes:
rbac_util - Utility for switching between roles for tests.
rbac_auth - Determines if a given role is valid for a given api call.
rbac_rule_validation - Determines if a allowed proper access and denied improper access (403 error)
rbac_role_converter - Converts policy.json files into a list of api's and the roles that can access them.
One example rbac_base in tests/api/rbac_base
One example test in tests/api/images/test_images_rbac.py
New config settings for rbac_flag, rbac_test_role, and rbac_roles
Implements bp: initial-framework
Co-Authored-By: Sangeet Gupta <sg774j@att.com>
Co-Authored-By: Rick Bartra <rb560u@att.com>
Co-Authored-By: Felipe Monteiro <felipe.monteiro@att.com>
Co-Authored-By: Anthony Bellino <ab2434@att.com>
Co-Authored-By: Avishek Dutta <ad620p@att.com>
Change-Id: Ic97b2558ba33ab47ac8174ae37629d36ceb1c9de