2024-07-04 16:08:59 +02:00
|
|
|
@startuml oclib
|
|
|
|
|
|
|
|
|
|
|
|
abstract Ressource {
|
|
|
|
+id: int
|
2024-07-05 17:41:40 +02:00
|
|
|
+name: string
|
|
|
|
+icon: string
|
|
|
|
+description: string
|
|
|
|
+graphic: GraphicElement
|
|
|
|
+element: Data/Processing/Storage/Workflow/Datacenter
|
2024-07-04 16:08:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class Data {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
}
|
|
|
|
|
|
|
|
class Processing {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
+container: string
|
|
|
|
+command: int
|
2024-07-05 17:41:40 +02:00
|
|
|
+environment: int
|
2024-07-04 16:08:59 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Storage {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
+url: string
|
|
|
|
+capacity: int
|
|
|
|
}
|
|
|
|
|
|
|
|
class Datacenter {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Workflow {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
}
|
|
|
|
|
|
|
|
class ResourceSet {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
+ressources: Ressource[]
|
|
|
|
}
|
|
|
|
|
|
|
|
class WorkflowSchedule {
|
|
|
|
+id: int
|
|
|
|
+start: date
|
|
|
|
+end: date
|
|
|
|
+cron : string
|
|
|
|
}
|
|
|
|
|
|
|
|
class Graph {
|
|
|
|
+id: int
|
2024-07-11 16:52:26 +02:00
|
|
|
+ressources: map[GraphicElement.ID]Ressource
|
2024-07-05 17:41:40 +02:00
|
|
|
+links: Link[]
|
2024-07-04 16:08:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class Link {
|
|
|
|
+id: int
|
2024-07-11 16:52:26 +02:00
|
|
|
+source: GraphicElement.ID
|
|
|
|
+target: GraphicElement.ID
|
|
|
|
+graphic: GraphicLink
|
2024-07-05 17:41:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class GraphicLink {
|
|
|
|
+id: int
|
|
|
|
+startXY: coord
|
|
|
|
+endXY: coord
|
|
|
|
+style: string
|
|
|
|
}
|
|
|
|
|
|
|
|
class GraphicElement {
|
|
|
|
+id: int
|
|
|
|
+style: string
|
|
|
|
+xy: coord
|
2024-07-04 16:08:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class Calendar {
|
|
|
|
+id: int
|
|
|
|
+name: string
|
|
|
|
+workflows: Workflow[]
|
|
|
|
+owner: string
|
|
|
|
}
|
|
|
|
|
|
|
|
class UserWorkflows {
|
|
|
|
+id: int
|
|
|
|
+user: string
|
|
|
|
+workflows: Workflow[]
|
|
|
|
}
|
|
|
|
|
|
|
|
class DatacenterWorkflows {
|
|
|
|
+id: int
|
|
|
|
+datacenter: Datacenter
|
|
|
|
+workflows: Workflow[]
|
|
|
|
}
|
|
|
|
|
2024-07-05 17:41:40 +02:00
|
|
|
class Graph {
|
|
|
|
+id: int
|
|
|
|
+graph: Graph
|
|
|
|
+workflows: Workflow[]
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-04 16:08:59 +02:00
|
|
|
UserWorkflows "1" o-- "0..*" Workflow
|
|
|
|
|
|
|
|
DatacenterWorkflows "1" o-- "0..*" Workflow
|
|
|
|
|
|
|
|
Ressource <|-- Data
|
|
|
|
Ressource <|-- Processing
|
|
|
|
Ressource <|-- Storage
|
|
|
|
Ressource <|-- Datacenter
|
|
|
|
Ressource <|-- Workflow
|
|
|
|
|
|
|
|
ResourceSet "1" o-- "0..*" Ressource
|
|
|
|
|
|
|
|
Workflow "1" o-- "0..*" ResourceSet
|
|
|
|
Workflow "1" o-- "0..*" WorkflowSchedule
|
|
|
|
Workflow "1" o-- "0..*" Graph
|
|
|
|
|
2024-07-11 16:52:26 +02:00
|
|
|
Graph "1" o-- "0..*" Resources
|
2024-07-04 16:08:59 +02:00
|
|
|
Graph "1" o-- "0..*" Link
|
|
|
|
|
2024-07-11 16:52:26 +02:00
|
|
|
Ressource --o GraphicElement
|
2024-07-05 17:41:40 +02:00
|
|
|
Link -- GraphicLink
|
|
|
|
|
2024-07-04 16:08:59 +02:00
|
|
|
|
|
|
|
Calendar "1" o-- "0..*" Workflow
|
|
|
|
|
2024-07-11 16:52:26 +02:00
|
|
|
|
2024-07-04 16:08:59 +02:00
|
|
|
@enduml
|