summaryrefslogtreecommitdiffstats
path: root/docs/architecture/plantuml/ScriptedPolicyDesign.puml
blob: 2092a4df682293bc42ad8bd8c609ad8a83f973d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@startuml

title Scripted Policy Design

participant Script <<API_User >>

box "PolicyDesign" #LightBlue
  participant PolicyTypeDesign
  participant PolicyDesign
end box

autonumber

activate Script

loop
  Script --> PolicyTypeDesign : Read Policy Type using command
  Script --> Script : Prepare TOSCA Policy for creation
  Script --> Script : Parse parameters from retrieved policy type
  Script --> Script : Set Parameters in TOSCA Policy being prepared
  Script --> PolicyDesign : Create Policy using command
  PolicyDesign --> Script : Policy creation result
end

deactivate Script

@enduml