* Update mistral-dashboard from branch 'master'
to 7114feec8470e5159ded24c2977984b716a1384c
- 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: I03447ec39b2456a8ae57fdfc3b1efc3ad9d256ef
* Update mistral-dashboard from branch 'master'
to 27fe8009b5a9f929b4cbb4792af4c44b11d9cf84
- Merge "Use wf_identifier when creating a execution"
- Use wf_identifier when creating a execution
The parameter in mistralclient was changed from
workflow_identifier to wf_identifier.
Change-Id: Idae13cd39c909127a0772e970426c98235e8a993
* Update mistral-dashboard from branch 'master'
to df869fdf609bd37758d27317d1a50bd5c17e7211
- Merge "Revert "Use workflow_id when creating a execution""
- Revert "Use workflow_id when creating a execution"
This reverts commit 728b294add48f61e8862a90ab13cfb19cb5f4fd5.
Reason for revert: This should be wf_identifier because it's using mistralclient and not the REST API.
Change-Id: I71e154f53f26655e9d1aeb93b0ee9d1ac21f0f49
* Update mistral-dashboard from branch 'master'
to 8edaafe2c354c3b0e9108addc090da8db958344d
- Merge "Replace deprecated inspect.getargspec"
- Replace deprecated inspect.getargspec
inspect.getargspec was deprecated since Python 3.0 and
inspect.getfullargspec is its replacement with correct handling of
function annotations and keyword-only parameters[1].
[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec
Change-Id: I2f5c95b9dd00a2460e81788343c47a5206589693
* Update mistral-dashboard from branch 'master'
to 728b294add48f61e8862a90ab13cfb19cb5f4fd5
- Use workflow_id when creating a execution
The field workflow_identifier causes an exception
in the API and in Wallaby the API was moved to
using workflow_id.
Change-Id: I328ce3584f225dc47264a9cba10be7ca788b8e5b
* Update mistral-dashboard from branch 'master'
to 2afede75cae1b8f84b17518a5e9ab2483eec4d22
- Fix tox4 error
tox.ini started failing with tox4 which had some
incompatible changes. One of them is to allow
external command to run by adding them into allowlist_externals
and make passenv in new lines.
Fixing tox.ini for tox4 changes.
Change-Id: Ic10c68cf73f0e181c1182b348f49b9fff1f4cf24
* Update mistral-dashboard from branch 'master'
to cee7e2ae84ee7ec6adf6c73cb6003b2d712300c3
- Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ie4b3100688d0716fd7a9f7c4dc0d555f3bd4df10
* Update mistral-dashboard from branch 'master'
to a78160170b436a1e1c1bba152ea78b072bd53586
- Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: Ib3d216ece69333d6973e46f3363aa7f2fdfdfb27
* Update mistral-dashboard from branch 'master'
to 43903b7f3cd0fb7fe04da88517148539e865b9fc
- remove unicode from code
Change-Id: I2c367b245f005466fdfefd5413324bb72056393d
* Update mistral-dashboard from branch 'master'
to a08b56b760b073bf7fa2cb40c74e7f8466117a2a
- Merge "Enforce usage of raw definitions"
- Enforce usage of raw definitions
This change ensures that any definitions passed is treated as raw
contents. With this change mistral-dashboard no longer tries to load
contents based on file path or uri passed in by users, and this
prohibits access to any local files or any internal contents accessible
without authentication.
Depends-on: https://review.opendev.org/800950
Closes-Bug: #1931558
Change-Id: I4de45cadc4e174794d0c2ef82223a9da5cbdcabc
* Update mistral-dashboard from branch 'master'
to 56951582b5ea2f2c92d915f52266528224db8f3e
- Merge "Update TOX_CONSTRAINTS_FILE"
- Update TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated, Please see [1].
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
Change-Id: I28baaa83b3bfc2373c963b8b15575ca3ddfafd21
* Update mistral-dashboard from branch 'master'
to be78ab03524f6330c909b60920ed7b1dd6f8c688
- Merge "Use TOX_CONSTRAINTS_FILE"
- Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I5a45367ad1086d3a079ab54481d1d0460298e47d
* Update mistral-dashboard from branch 'master'
to c3daa34c60fd715c72141a8c0d6698676f2dc52e
- Merge "Address RemovedInDjango40Warning"
- Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].
[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093
Change-Id: I3e95a2ec718b473ffed698652f6bdaba4e9de8a5
* Update mistral-dashboard from branch 'master'
to 5adb5bfad753b289a32b533d15dcc284225a5197
- Merge "Replace deprecated ugettext_lazy and ungettext_lazy"
- Replace deprecated ugettext_lazy and ungettext_lazy
The ugettext_lazy method and the ungettext_lazy method are both
deprecated since Django 3.0[1].
These were already replaced in Horizon repo by [2].
[1] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
[2] cd7c1b5110fe1f64cd9dfbeb1072b37912d0efee
Change-Id: I6697e4c006e7b8ec94a08ad4625a1980582b4d6d
* Update mistral-dashboard from branch 'master'
to 04545fc3e7cc6b242bcedfb993576df2ddd3a7db
- Merge "Update python testing as per zed cycle testing runtime"
- Update python testing as per zed cycle testing 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: I6e78e80c2e5c4e5a39bd3c3dfbfddaf3973abb77
* Update mistral-dashboard from branch 'master'
to 649d174b5561fadcfac804512c3ab0dffd753a69
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Id2516847f2a07bfef49147f3bdc38e452a060916
* Update mistral-dashboard from branch 'master'
to 0d5eb8c9122442ce922e6423cc538be7d933da8f
- Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: I5c1c10b6a48105e67dd1d28d499fe9f8d62b7cb6
* Update mistral-dashboard from branch 'master'
to 2980dfc44f11400c75a1113e468f50e7c6d6396c
- [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].
[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38537
Change-Id: I8b318b0a915de1875f6b2f81fd104483f716d802
* Update mistral-dashboard from branch 'master'
to fa785b2bb8314d0981d343bd51fe645017a38cca
- setup.cfg: Replace dashes with underscores
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: I136843f66db8d10f59fa95bd69c87c7dde15632c
* Update mistral-dashboard from branch 'master'
to 10a54c6343ce67d7624eafcaddf9be6eef043fbd
- Merge "Add Python3 xena unit tests"
- Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I3a42ec28f6c4a2de874b83a1f0230c12fec5cea1
* Update mistral-dashboard from branch 'master'
to 9e04d8b77ed0d7e0f61c376fb9b8d24011f28bc3
- Merge "Update master for stable/wallaby"
- Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I25353ef4cf2d31da031e715ad797f42c149da500
* Update mistral-dashboard from branch 'master'
to 7fd7c820d106cdaacb3e13c80bc8628744c4f80c
- Setting DEFAULT to False.
In openstack when user logged in, user is redirected to project page
but after installation of mistral , now default dashboard page is
set to mistral.
In order to make project as default dashboard page setting
DEFAULT as False.
Change-Id: I663149cc4986f5c1ca83a819eb10bf484baa228a
* Update mistral-dashboard from branch 'master'
- Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Iff841e79b6afc850fd0467ba110283c4be777efa
* Update mistral-dashboard from branch 'master'
- Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I5e3038346f9b778aef16c5e0da8b015f97edd734
Sem-Ver: feature
* Update mistral-dashboard from branch 'master'
- Merge "[goal] Migrate testing to ubuntu focal"
- [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
Closes-Bug: #1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.
Story: #2007865
Task: #40196
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: I29eae255a0cb87c41d1d739e3bb608c303c5b9b8
* Update mistral-dashboard from branch 'master'
- Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .
Change-Id: Ib56b35b164057b821b5e9755202b87c9e1ea5572
* Update mistral-dashboard from branch 'master'
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: Iacfc706dc2a0c5d845c7473d7e0123c20a2b20ee
* Update mistral-dashboard from branch 'master'
- 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
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
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.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I4ae8e3811b184219c1715af0629f668b393ad3c2
* Update mistral-dashboard from branch 'master'
- Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: I77603777138a8f39f22ac9f51c2beb8e63c00c02
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update mistral-dashboard from branch 'master'
- Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: I03c16d54a670974e5949b25240011ddfc10f95f8
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update mistral-dashboard from branch 'master'
- Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I4eec1727ce4867df3eb30ecbd360480716f6bf41
* Update mistral-dashboard from branch 'master'
- Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I9b98cd7b175b496fa617f98da38f2cbb56226b30
Sem-Ver: feature
* Update mistral-dashboard from branch 'master'
- s/assertItemsEqual/assertCountEqual/g
assertItemsEqual was renamed to assertCountEqual in Python 3, and the
testsuite is failing now - rename it.
See also https://six.readthedocs.io/#six.assertCountEqual
This unbreaks the testsuite.
Change-Id: I910c7f2b3eae107a8d8022366f738b006cf4831a
* Update mistral-dashboard from branch 'master'
- Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.
Change-Id: Id84564d8350fb793a2511abae218db17ea122873
Needed-By: https://review.opendev.org/701743
* Update mistral-dashboard from branch 'master'
- Drop Django 1.11 support
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.
tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.
horizon>=17.1.0 is required to use Django 2.2.
requirements.txt is updated accordingly.
Depends-On: https://review.opendev.org/#/c/700733/
Change-Id: I8f97ac0e749c6c108d809f246b044ba3e8a0010d
* Update mistral-dashboard from branch 'master'
- Use Horizon project template for django jobs
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]
[1] https://review.opendev.org/#/c/681969/
Change-Id: Ib3e48ff828faef59a6594f9a1155eaa3a8bf0cf0
* Update mistral-dashboard from branch 'master'
- Update master for stable/train
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: Idc64656ad8222171003f902a0853830087d89922
Sem-Ver: feature
* Update mistral-dashboard from branch 'master'
- Fix error when use keystone federation
If we config keystone federation, we was received a error when
we change to region other.
Change-Id: Ie475b8ab5b40d5b365eeb9f63ecb34b13a810f8c
* Update mistral-dashboard from branch 'master'
- Add Python 3 Train unit tests
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: I298d3edae82bb54d8f23bd87be8cd641edec9714
Story: #2005924
Task: #34222
* Update mistral-dashboard from branch 'master'
- Merge "Add the unit test for executions"
- Add the unit test for executions
Change-Id: I89145b7bb71cbcb74c7a29534362bbf0c558a5f7
* Update mistral-dashboard from branch 'master'
- Merge "Add the unit test for cron_triggers"
- Add the unit test for cron_triggers
Change-Id: Ic792830a679a14b9a349ad1a07349575999a72c5
* Update mistral-dashboard from branch 'master'
- Merge "Remove the ErrorHandleTests class"
- Remove the ErrorHandleTests class
ErrorHandleTests is not being used, so remove it
Change-Id: Ib0774e90a202e46213cbe733333c2e675d02fc91