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
When update action execution fails,
two prompt messages are displayed,
one successful and one fails.
This patch Correct error messages
Change-Id: I7001106d804e893e10726695956c9db519fa22f8
* added pagination: adressed all comments given to Liat on:
https://review.openstack.org/#/c/266826/
* removed redundant template inheritance
* resolved bug: [ui] Pagination is absent in the "Actions" tab
* resolved bug: [ui] Every click on "Actions" tab takes too much time
* resolved bug: [ui] Problem with "Actions" page layout
Screenshots:
http://pasteboard.co/1yhuS10g.png
Partially implements blueprint: Actions-screen-improvements
Closes-Bug: #1505657
Closes-Bug: #1505668
Closes-Bug: #1505662
Change-Id: I4c15e39830ca425a8321b09e7d6039e6623eea8b
* following https://review.openstack.org/#/c/266826/ suggestion: API requests
that required UI pagination will be passed via generic handler.
* At first I've written a decorator - which I didn't like,
feel faulty by design - too many returns and over complicated blocks...
Partially implements blueprint: mistral-dashboard-executions-screen
Change-Id: Ie131bf74a74b816d2779888c6c23e7bcfa4b8f22
Added “Run Action” screen to each row
which allows of a specific action execution run.
Added "Filter Action" to actions list.
Print screen
http://pasteboard.co/vRURv4E.pnghttp://pasteboard.co/VqKFjEw.png
Partially implements blueprint: Actions-screen-improvements
Closes-Bug: #1505665
Change-Id: I359b402bbb60defe40112c7c95c7e18351277107
* added execution list
client side pagination
which rely on the server api
* both next and previous iteration
are supported
* items per page are coherent to
user settings
Screenshots:
http://pasteboard.co/2p5A512S.pnghttp://pasteboard.co/2p5Cd1qW.png
Partially implements blueprint: mistral-dashboard-executions-screen
Change-Id: If13482d8fe62e4989dd1a62874c88c08c3e43d54
* added execution get method to mistral-dashboard api
Partially implements blueprint: mistral-dashboard-executions-screen
Change-Id: I290558b2e44f9cdcff43596b62d88341009a8730
Add a link to workbook name field to show the definition.
Partially implements blueprint mistral-dashboard-crud-operations
Change-Id: Iabf0632282840f25466810c597e8810aacfa15ea
Add a link to workflow name field to show the definition.
Partially implements blueprint mistral-dashboard-crud-operations
Change-Id: I02aacd2db80c4a3edd721fb39e016af52040ecbb
Mistralclient is created every time methods in api.
It leads to regeneration of API HTTP connections.
This commit caches API client object for a WSGI request
to reduce the number of HTTP connection to backends.
As WSGI request object is recreated, a cached API client
object will live in a single request.
Change-Id: I46f101505801f8d650722c9c84397ab4d813e097
Mistral v1 api is not supported since april 2015
Change-Id: Icfc7d511b5bb6ea1f36356e52dc6880ef8599951
Partially implements blueprint mistral-enrich-dashboard