[Spec] Change grouping into deployment graphs table

Grouping in graphs table changed to grouping by type.
This will help user to have explicit vision of which graphs
are related to a particular graph type.
Also, it would be easy for User to download merged graph tasks
from the table.

Related blueprint ui-custom-graph

Change-Id: Ibe10c33af3091fdf493e98b0e3826f148174b3f4
This commit is contained in:
Julia Aranovich 2016-08-01 18:36:49 +03:00
parent 5cbcc8f805
commit ba450436df
1 changed files with 21 additions and 25 deletions

View File

@ -40,52 +40,48 @@ Cluster page in Fuel UI should be extended with new 'Workflows' tab.
The 'Workflows' tab should contain a table with all graphs available for
the cluster.
Rows in a workflows table should be grouped by graph level that can be
'release', 'plugin' or 'cluster'.
Rows in a workflows table should be grouped by graph type attribute.
Workflows table should have the following columns:
* graph name
* graph type
* 'Download' button (to download the graph tasks in JSON format)
* 'Delete' button (to remove the graph; available for graphs of 'cluster only)
* graph level
* 'Download' button (to download the graph tasks JSON)
* 'Delete' button (to remove the graph; available for cluster-level graphs
only)
+-------------------+-------------+-----------+-----------+
| Graph Name | Graph Type | | |
| Name | Level | | |
+===================+=============+===========+===========+
| RELEASE | | | |
| Type "default" | | | Download |
+-------------------+-------------+-----------+-----------+
| | default | Download | |
| - | release | | Download |
+-------------------+-------------+-----------+-----------+
| mu-1-release | 9.0-mu-1 | Download | |
| - | cluster | Delete | Download |
+-------------------+-------------+-----------+-----------+
| Type "9.0-mu-1" | | | Download |
+-------------------+-------------+-----------+-----------+
| PLUGIN "LMA" | | | |
| mu-1-release | cluster | Delete | Download |
+-------------------+-------------+-----------+-----------+
| lma-plugin | default | Download | |
| mu-1-plugin | plugin | | Download |
| | (Contrail) | | |
+-------------------+-------------+-----------+-----------+
| lma-plugin | upgrade | Download | |
| Type "upgrade" | | | Download |
+-------------------+-------------+-----------+-----------+
| - | release | | Download |
+-------------------+-------------+-----------+-----------+
| PLUGIN "CONTRAIL" | | | |
| upgrade-graph | cluster | Delete | Download |
+-------------------+-------------+-----------+-----------+
| contrail-graph | default | Download | |
+-------------------+-------------+-----------+-----------+
+-------------------+-------------+-----------+-----------+
| CLUSTER | | | |
+-------------------+-------------+-----------+-----------+
| | default | Download | Delete |
+-------------------+-------------+-----------+-----------+
| mu-1-cluster | 9.0-mu-1 | Download | Delete |
+-------------------+-------------+-----------+-----------+
| my new graph | 9.0-mu-1 | Download | Delete |
| my-plugin-graph | plugin | | Download |
| | (LMA) | | |
+-------------------+-------------+-----------+-----------+
Note that workflows table should not include graphs of not enabled cluster
plugins.
Graph should be sorted by type in the table and graphs with 'default' type
should go first.
Graphs of 'default' type should go first in the table. Inside each group
graphs should be sorted by its level (release, cluster, and then plugin
graphs).
Workflows table should support filtering by deployment graph level and by
graph type. Both filters should support multiple values selection.