This reverts commit 728b294add.
Reason for revert: This should be wf_identifier because it's using mistralclient and not the REST API.
Change-Id: I71e154f53f26655e9d1aeb93b0ee9d1ac21f0f49
The field workflow_identifier causes an exception
in the API and in Wallaby the API was moved to
using workflow_id.
Change-Id: I328ce3584f225dc47264a9cba10be7ca788b8e5b
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
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
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
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
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
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
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