UI: fixed workflow execution don't work
* fixed workflow execution param name, which was changed on python-mistral-client API. * As we don't have a running regression: PLEASE - if you change any API calls do let a UI developer know and/or open and assign a bug Partially implements blueprint: mistral-dashboard-executions-screen Change-Id: I5321b4b568cc1bd03ff641e4fd120f1ed64c29b8
This commit is contained in:
parent
79d53e818b
commit
de9ce6ea22
@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright 2014 - StackStorm, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -44,6 +42,7 @@ class ExecuteForm(forms.SelfHandlingForm):
|
||||
|
||||
def handle(self, request, data):
|
||||
try:
|
||||
data['workflow_identifier'] = data.pop('workflow_name')
|
||||
ex = api.execution_create(request, **data)
|
||||
|
||||
msg = _('Execution has been created with id "%s".') % ex.id
|
||||
|
@ -1,5 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright 2014 - StackStorm, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -86,8 +84,14 @@ class WorkflowsTable(tables.DataTable):
|
||||
verbose_name=_("Name"),
|
||||
link="horizon:mistral:workflows:detail"
|
||||
)
|
||||
tags = tables.Column(tags_to_string, verbose_name=_("Tags"))
|
||||
inputs = tables.Column(cut, verbose_name=_("Input"))
|
||||
tags = tables.Column(
|
||||
tags_to_string,
|
||||
verbose_name=_("Tags")
|
||||
)
|
||||
inputs = tables.Column(
|
||||
cut,
|
||||
verbose_name=_("Input")
|
||||
)
|
||||
created = tables.Column(
|
||||
"created_at",
|
||||
verbose_name=_("Created"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user