diff --git a/docs/diag_class_schedules.puml b/docs/diag_class_schedules.puml new file mode 100644 index 0000000..6e2212d --- /dev/null +++ b/docs/diag_class_schedules.puml @@ -0,0 +1,17 @@ +@startuml + +object "SchedulingManager" as manager { + +api_url string + +} + +class "Schedule" { + +start time.Time + +end time.Time + +duration time.Time + +workflow string +} + + + +@enduml \ No newline at end of file diff --git a/docs/uml/deployment_schedule_execution.puml b/docs/uml/deployment_schedule_execution.puml new file mode 100644 index 0000000..0e3dbc5 --- /dev/null +++ b/docs/uml/deployment_schedule_execution.puml @@ -0,0 +1,38 @@ +@startuml +component oc_search +component oc_catalog +interface catalog_api + +component oc_scheduler [ + oc_scheduler + + + Receives notifications about new workflows scheduled + + Retrieve informations about a workflow + + Notifies when to execute a workflow +] + +component oc_workflows [ + oc_workflows + + + executes argo workflows in a kubernetes cluster + + creates processes from a workflow (not a k8s environment) + + creates the logs stream +] + +database loki + +component oc_monitor [ + oc_monitor + + + retrieves logs from loki +] + +catalog_api -l-> oc_catalog +oc_scheduler -l-> catalog_api +oc_workflows -l-> loki +loki -l-> oc_monitor +oc_workflows -d-> oc_scheduler +oc_search -u-> oc_monitor +oc_search -> oc_catalog + +@enduml \ No newline at end of file