model update - shared workspaces

This commit is contained in:
ycc 2024-08-07 18:50:25 +02:00
parent 0ec80473cc
commit 9040d141c8

View File

@ -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