diff --git a/doc/model.puml b/doc/model.puml index ce1d9ce..50a4c72 100644 --- a/doc/model.puml +++ b/doc/model.puml @@ -1,7 +1,7 @@ @startuml oclib -abstract Ressource { +abstract Resource{ +UUID: int +name: string +icon: string @@ -57,7 +57,7 @@ class WorkflowSchedule { class Graph { +UUID: int - +ressources: map[GraphicElement.UUID]Ressource + +ressources: map[GraphicElement.UUID]Resource +links: Link[] } @@ -107,16 +107,60 @@ class Graph { } +class Workspace { + +UUID: int + +name: string + +resources: ResourceSet[] + +peers: Peer[] +} + +class Peer { + +UUID: int + +name: string + +url: string +} + +class SharedWorkspace { + +UUID: int + +name: string + +version: string + +description: string + +attributes: map[string]string + +workspaces: Workspace[] + +workflows: Workflow[] + +peers: Peer[] +} + +class RuleSet { + +UUID: int + +name: string + +description: string + +rules: Rule[] +} +class Rule { + +UUID: int + +name: string + +description: string + +condition: string + +action: string +} + +SharedWorkspace "1" o-- "0..*" Workspace +SharedWorkspace "1" o-- "0..*" Peer +Workspace "1" o-- "0..*" ResourceSet +Peer -- Resource +RuleSet "1" o-- "0..*" Rule +SharedWorkspace -- RuleSet UserWorkflows "1" o-- "0..*" Workflow DatacenterWorkflows "1" o-- "0..*" Workflow -Ressource <|-- DataResource -Ressource <|-- ProcessingResource -Ressource <|-- StorageResource -Ressource <|-- DatacenterResource -Ressource <|-- Workflow +Resource<|-- DataResource +Resource<|-- ProcessingResource +Resource<|-- StorageResource +Resource<|-- DatacenterResource +Resource<|-- Workflow ResourceSet "1" o-- "0..*" Ressource @@ -127,7 +171,7 @@ Workflow "1" o-- "0..*" Graph Graph "1" o-- "0..*" Resources Graph "1" o-- "0..*" Link -Ressource --o GraphicElement +Resource--o GraphicElement Link -- GraphicLink