UML executiong management
This commit is contained in:
parent
c6f3d404a7
commit
fba4f9b6cb
35
docs/uml/diag_seq_execution_manager.puml
Normal file
35
docs/uml/diag_seq_execution_manager.puml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
@startuml
|
||||||
|
|
||||||
|
participant main
|
||||||
|
participant manager
|
||||||
|
participant argo_builder
|
||||||
|
participant oc_catalog
|
||||||
|
|
||||||
|
activate main
|
||||||
|
|
||||||
|
main -> manager : startManager(list_schedules)
|
||||||
|
activate manager
|
||||||
|
|
||||||
|
loop while true
|
||||||
|
|
||||||
|
manager -> oc_catalog : get(/v1/schedule/) : \n @start time.Now() \n @end time.Now() + 1 hour
|
||||||
|
oc_catalog --> manager : json schedule workflow
|
||||||
|
manager -> manager : lock(list_workflows)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
main -> manager : launch_exec(list_schedule)
|
||||||
|
|
||||||
|
loop while list_schedule[0].time < time.Now()
|
||||||
|
manager -> argo_builder : create_argo(workflow_name)
|
||||||
|
argo_builder -> oc_catalog : get(/v1/workflow) :\n @name workflow_name
|
||||||
|
oc_catalog --> argo_builder: workflow
|
||||||
|
argo_builder -> argo_builder: create_argo
|
||||||
|
argo_builder --> manager : true/false
|
||||||
|
|
||||||
|
alt true
|
||||||
|
manager -> manager : remove list_schedule[0]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
@enduml
|
Loading…
Reference in New Issue
Block a user