Refactor task output: "wf_name" -> "workflow_name"
Change-Id: I616b61d0b1ce6f2a73cd49b4ccb02ea1c9d29a09
This commit is contained in:
2
AUTHORS
2
AUTHORS
@@ -7,4 +7,6 @@ Kirill Izotov <enykeev@stackstorm.com>
|
|||||||
Leandro I. Costantino <leandro.i.costantino@intel.com>
|
Leandro I. Costantino <leandro.i.costantino@intel.com>
|
||||||
Nikolay Mahotkin <nmakhotkin@mirantis.com>
|
Nikolay Mahotkin <nmakhotkin@mirantis.com>
|
||||||
Renat Akhmerov <rakhmerov@mirantis.com>
|
Renat Akhmerov <rakhmerov@mirantis.com>
|
||||||
|
Tetiana Lashchova <tlashchova@mirantis.com>
|
||||||
Timur Nurlygayanov <tnurlygayanov@mirantis.com>
|
Timur Nurlygayanov <tnurlygayanov@mirantis.com>
|
||||||
|
Winson Chan <wcchan@stackstorm.com>
|
||||||
|
@@ -39,7 +39,7 @@ def format(task=None):
|
|||||||
data = (
|
data = (
|
||||||
task.id,
|
task.id,
|
||||||
task.name,
|
task.name,
|
||||||
task.wf_name,
|
task.workflow_name,
|
||||||
task.execution_id,
|
task.execution_id,
|
||||||
task.state,
|
task.state,
|
||||||
)
|
)
|
||||||
|
@@ -25,7 +25,7 @@ from mistralclient.tests.unit import base
|
|||||||
TASK_DICT = {
|
TASK_DICT = {
|
||||||
'id': '123',
|
'id': '123',
|
||||||
'name': 'some',
|
'name': 'some',
|
||||||
'wf_name': 'thing',
|
'workflow_name': 'thing',
|
||||||
'execution_id': '321',
|
'execution_id': '321',
|
||||||
'state': 'RUNNING',
|
'state': 'RUNNING',
|
||||||
}
|
}
|
||||||
|
@@ -23,7 +23,7 @@ TASK = {
|
|||||||
'id': "1",
|
'id': "1",
|
||||||
'execution_id': '123',
|
'execution_id': '123',
|
||||||
'name': 'my_task',
|
'name': 'my_task',
|
||||||
'wf_name': 'my_wf',
|
'workflow_name': 'my_wf',
|
||||||
'state': 'RUNNING',
|
'state': 'RUNNING',
|
||||||
'tags': ['deployment', 'demo']
|
'tags': ['deployment', 'demo']
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user