To visualize the deployment model attached to activities, the deployment graph shall be shown within the workflow modeler.
Issue Dependencies
Depends on: #3
Expected Behaviour
There should be a button on activities that contain a deployment model.
Users shall be able to toggle the visualization of the deployment graph by clicking the deployment model icon.
Moreover, the deployment model shall be clearly distinguished from activities of the workflow (see below):
Tasks
[x] Use the given icon to mark tasks containing a deployment model URL
[x] Retrieve ServiceTemplate content from deployment model URL
[x] Visualize the deployment model as follows:
[x] The visualization shall be toggled when clicking on the deployment model icon
[x] The top node of the deployment model containing the uploaded artifact is represented by the activity
[x] To identify the the top level node TOSCA Tags shall be used (key: "top-node"; value: "NODE_XYZ").
[ ] When building a ServiceTemplate via uploading an artifact, the tag shall be set automatically to the node containing the uploaded deployment artifact.
[x] When using an existing Service Template, it shall be checked if the "top-node" tag is available. If the tag is not available it shall be checked if a top-node can be identified (if exactly one without incoming hosted-on should suffice). If no top-node can be identified, the topology will not be shown.
[x] All other nodes of the deployment model shall be shown below the activity as depicted above
[x] The layout of the deployment model shall be derived from the visualization in the Winery. Use the coordinates given in the ServiceTemplate response
[x] A new modeling element representing deployment topology nodes shall be added. The style of above figure shall be used
[x] A new arrow type for connecting deployment nodes shall be added. The style of above figure shall be used
[x] The options enabling users to change the type or delete a node shall be deactivated for all deployment nodes
Problem Statement
To visualize the deployment model attached to activities, the deployment graph shall be shown within the workflow modeler.
Issue Dependencies
Depends on: #3
Expected Behaviour
There should be a button on activities that contain a deployment model. Users shall be able to toggle the visualization of the deployment graph by clicking the deployment model icon. Moreover, the deployment model shall be clearly distinguished from activities of the workflow (see below):
Tasks