Skip to content

cop-pilot-eu/workflows-uml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COP-PILOT's common workflow UML library

This repository creates a UML library dedicated to COP-PILOT and its main platform components. The purpose of this library is to be used by all COP-PILOT stakeholders to design sequence diagrams that concern:

  • Internal interactions among platform components
  • Interactions between COP-PILOT stakeholders and the platform
  • Interactions of the COP-PILOT platform and the various Cluster infrastructures.

To exploit this common UML library and design your desired workflow, please follow the steps below.

Install VSCode with extensions

  • Install VSCode
  • Install the following VSCode Extensions (Shift+Ctrl+X):
    • Markdown All in One (yzhang.markdown-all-in-one)
    • PlantUML (jebbs.plantuml)

Configure VSCode

Go to File > Preferences > Settings:

  • Select "User" tab to apply the settings to user-wide VSCode or "Workspace" tab to apply them to this workspace only.
    • Both options are valid; it depends if you want to inherit these settings in other workspaces.
  • Find the following settings using the search box and apply the values indicated:
    • plantuml.server : https://www.plantuml.com/plantuml
    • plantuml.render : PlantUMLServer

UML template library

The basic templates of this library can be classified in three categories:

  • a color palette template providing the main colors.
  • a theme template providing the look and feel of the UML environment as well as the style of the primitive elements.
  • a library of central components template providing the central COP-PILOT components.

These templates should be augmented with Cluster-specific ones to compose Cluster-specific workflows. More details are provided in the next section.

Cluster workflows

If you work for one of the COP-PILOT clusters, go to the respective clusters/cl<number> folder.

In this folder you need to design Cluster and use-case-specific components following this example.

Once your UC-specific components are in place, then you may design your cluster workflow following this example.

This latter Markdown file imports both the central COP-PILOT components defined here as well as your Cluster and UC-specific components designed for a given scenario (e.g., cl1-uc1 in this case) to create the end-to-end COP-PILOT ecosystem for this specific scenario.

Any other COP-PILOT UC should follow the same approach, inheriting the central components from the template and extending the workflow with UC specific components according to your scenario.

Platform workflows

For those partners wishing to design Platform-related workflows, go to the platform folder.

An example workflow shows how components of the central platform interact to realize peering between the ESO and the SIF.

Preview a Markdown file in VSCode

Open the example workflow file, e.g., cop-pilot-wf-cl1-uc1.

Right click on it and click Open Preview or press Shift+Ctrl+V.

Shortly you will get the rendered Markdown page with the rendered diagram figure as below:

Example image

You can extend this example or generate a similar file with your preferred workflow.

Show only the necessary blocks

In the figure above, you see the entire view of the COP-PILOT system, although this example only displays a single connection between a stakeholder (i.e., service provider) and the COP-PILOT LLM-enhanced Business Portal. To hide the boxes that do not participate in your workflow, consider adding:

hide unlinked

at the top part of your custom workflow.

Then, the same workflow transforms into a minimal figure showing only the essential elements:

Example image

About

A UML library - based on plantuml - for designing homogeneous COP-PILOT workflows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors