Dashboard - Action Execution screens

Registered by Gal Margalit

Summary
========
1. Implement missing Action Executions screens: list, overview, update.
2. Follow OpenStack Horizon look and feel.

Motivation
========
1. Lack of Action Executions screens

Mock
====
Needed!

Description
=========
Implement the following GUI:
1. Action Execution list
  a. Columns are:
    * ID - Link to open Action Execution Overview
    * Workflow - Link to Workflows screen
    * Input - A "View" link that opens a dialog and shows the result of action-execution-get-input API
      request)
    * Output - A "View" link that opens a dialog and shows the result of action-execution-get-output API
      request)
    * State (tooltip will show state info)
    * Task - A "View" link that navigates to the the corresponding task overview screen
     * Actions - Delete button and a drop down of other actions:
      - Update state / output (Opens a dialog)
    * Is accepted

  b. Sort allowed by all columns. Default sort by name DESC
     (client side sorting until API v3)
  c. Filter by name and state.

2. Action Execution overview
  a. Shows the following info:
    * ID
    * Workflow - Link to Workflows screen
    * Input (automatically sends request to action-execution-get-input API)
    * Output (automatically sends request to action-execution-get-output API)
    * Task - A "View" link that navigates to thecorresponding task overview screen
    * State
    * State info
    * Is accepted

3. Action Execution delete
  a. From an action menu button in the row
  b. From top level button to allow multi delete.

4. Action Execution update modal: user could update both state and output

5. Auto refresh the entire screen

6. Pagination
  a. Based upon the server side API implementation
  b. Based upon Horizon:
  c. Page size will be taken from user -> settings -> items per page

Outside Dependencies
==================
API calls are supported (Mistral base API):

action-execution-delete
action-execution-get
action-execution-get-input
action-execution-get-output
action-execution-list
action-execution-update
run-action

Doc Impact
=========
1. Add explanation to the new UI elements
2. Add explanation to the new flow

Blueprint information

Status:
Complete
Approver:
Renat Akhmerov
Priority:
Medium
Drafter:
Gal Margalit
Direction:
Approved
Assignee:
Gal Margalit
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-2
Started by
Renat Akhmerov
Completed by
Gal Margalit

Related branches

Sprints

Whiteboard

melisha:

Thanks! Few comments:

1. I think that "Tasks" should be "Task" because every Action Execution has one Task. The column should show the task name and the link should go directly to Task overview.

2. Action Execution update - user should be able to update status and output in one click (it is supported by the API).

galmargalit:
Thanks melisha! agree. will edit the blueprint accordingly.

Gerrit topic: https://review.openstack.org/#q,topic:bp/mistral-dashboard-action-execution-screens,n,z

Addressed by: https://review.openstack.org/401188
    mistral-dashboard: added action executions screens

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.