python-adjutant 1.0.0 (victoria)
We exuberantly announce the release of: python-adjutant 1.0.0: An admin task workflow service for openstack. This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/python-adjutant Download the package from: https://tarballs.openstack.org/adjutant/ For more details, please see below. 1.0.0 ^^^^^ New Features ************ * Tasks can now be configured to required a user to be authenticated when an Adjutant token is submitted for the final phase of a task. Actions will now be passed the "keystone_user" who submitted the token to do any processing on that as needed for the final step. Deprecation Notes ***************** * All actions now need to have "keystone_user" as a second optional paramater in the "submit``function. It should have a default of ``None", set as "keystone_user=None". Any existing actions without this will continue to work with a fallback, but that fallback will be removed in the W release cycle. Changes in python-adjutant 0.5.0..1.0.0 --------------------------------------- 43e0c62 Allow authenticated token requirement for tasks c42463b Ignore blame for Black formatting update b35fdcc Reformat with updated version of black formatter 9dd1f3a Update CONFspirator with example and toml support 9ef78c4 Fix pygments style de347e3 Stop to use the __future__ module. b32d0be Switch to newer openstackdocstheme and reno versions 571aa70 Add py38 package metadata 92793e3 Add pyc cleanup and black check to tox f61f6f2 Fix migration ordering issue 64e9a8b Community goal contributing docs 34bba2e Add Python3 victoria unit tests c5701a7 Update master for stable/ussuri de799a8 Update for Python 3 67b87e9 Use constraints for installing doc requirements 4b08096 Use unittest.mock instead of third party mock 46045d4 Add tests for Black, and ignore reformat blame 2c62daf Reformat code using the Black style linter Diffstat (except docs and test files) ------------------------------------- .git-blame-ignore-revs | 4 + .zuul.yaml | 21 +- adjutant/actions/migrations/0001_initial.py | 38 +- .../actions/migrations/0002_action_auto_approve.py | 7 +- .../actions/migrations/0003_auto_20190610_0205.py | 13 +- .../actions/migrations/0004_auto_20190610_0209.py | 13 +- adjutant/actions/models.py | 6 +- adjutant/actions/utils.py | 42 +- adjutant/actions/v1/base.py | 149 +- adjutant/actions/v1/misc.py | 59 +- adjutant/actions/v1/projects.py | 285 ++-- adjutant/actions/v1/resources.py | 241 ++-- adjutant/actions/v1/serializers.py | 55 +- adjutant/actions/v1/users.py | 278 ++-- adjutant/api/exception_handler.py | 13 +- adjutant/api/migrations/0001_initial.py | 89 +- adjutant/api/migrations/0002_auto_20160815_2249.py | 7 +- adjutant/api/migrations/0003_task_approved_by.py | 7 +- adjutant/api/migrations/0004_auto_20160929_0317.py | 7 +- adjutant/api/migrations/0005_auto_20190610_0209.py | 7 +- adjutant/api/migrations/0006_auto_20190610_0209.py | 13 +- adjutant/api/migrations/0007_auto_20190610_0209.py | 13 +- adjutant/api/migrations/0008_auto_20190610_0209.py | 13 +- adjutant/api/models.py | 7 +- adjutant/api/urls.py | 12 +- adjutant/api/utils.py | 28 +- adjutant/api/v1/openstack.py | 242 ++-- adjutant/api/v1/tasks.py | 55 +- adjutant/api/v1/urls.py | 19 +- adjutant/api/v1/utils.py | 18 +- adjutant/api/v1/views.py | 228 ++-- adjutant/api/views.py | 37 +- .../commands/management/commands/exampleconfig.py | 82 +- adjutant/common/openstack_clients.py | 27 +- adjutant/common/quota.py | 181 ++- adjutant/common/user_store.py | 132 +- adjutant/config/__init__.py | 62 +- adjutant/config/api.py | 34 +- adjutant/config/django.py | 6 +- adjutant/config/identity.py | 28 +- adjutant/config/quota.py | 84 +- adjutant/config/workflow.py | 23 +- adjutant/core.py | 6 - adjutant/exceptions.py | 26 +- adjutant/feature_set.py | 29 +- adjutant/middleware.py | 55 +- adjutant/notifications/utils.py | 6 +- adjutant/notifications/v1/base.py | 9 +- adjutant/notifications/v1/email.py | 2 +- adjutant/settings.py | 122 +- adjutant/startup/__init__.py | 2 +- adjutant/startup/checks.py | 18 +- adjutant/startup/loading.py | 2 +- adjutant/tasks/migrations/0001_initial.py | 55 +- .../tasks/migrations/0002_auto_20190619_0613.py | 72 +- adjutant/tasks/models.py | 42 +- adjutant/tasks/v1/base.py | 166 ++- adjutant/tasks/v1/manager.py | 27 +- adjutant/tasks/v1/projects.py | 22 +- adjutant/tasks/v1/resources.py | 12 +- adjutant/tasks/v1/users.py | 74 +- adjutant/tasks/v1/utils.py | 81 +- adjutant/urls.py | 2 +- adjutant/wsgi.py | 12 +- api-ref/source/conf.py | 72 +- etc/adjutant.yaml | 573 +++----- .../notes/authed_token-6d29688676e7ee32.yaml | 14 + releasenotes/notes/toml-d8fba261f61313bf.yaml | 6 + releasenotes/source/conf.py | 63 +- releasenotes/source/index.rst | 1 + releasenotes/source/ussuri.rst | 6 + requirements.txt | 3 +- setup.cfg | 1 + setup.py | 2 +- test-requirements.txt | 2 +- tox.ini | 38 +- 92 files changed, 5735 insertions(+), 5335 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index cfc10da..f39647c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16 +15,0 @@ python-octaviaclient>=1.8.0 -PyYAML>=5.1 @@ -18 +17 @@ six>=1.12.0 -confspirator>=0.1.6 +confspirator>=0.2.2 diff --git a/test-requirements.txt b/test-requirements.txt index 258f549..77bddba 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -9 +8,0 @@ doc8>=0.8.0 # Apache-2.0 -mock>=3.0.0 # BSD @@ -11,0 +11 @@ flake8-bugbear>=19.3.0;python_version>='3.4' # MIT +black>=19.3b0;python_version>='3.4' # MIT
participants (1)
-
no-reply@openstack.org