summaryrefslogtreecommitdiffstats
path: root/docs/architecture/plantuml/ScriptedPolicyDesign.puml
blob: e97021748ffec8ae6225b28d04c0a300d67e5a96 (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
28
29
@startuml

title Scripted Policy Design

participant Script <<API_User >>
collections DirectiveFile

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

autonumber

activate Script

loop
  Script --> DirectiveFile : Read next directive from script file
  Script --> PolicyTypeDesign : Read Policy Type for directive
  Script --> Script : Prepare TOSCA Policy for coreation
  Script --> Script : Read parameters from script file directive
  Script --> Script : Set Parameters in TOSCA Policy being prepared
  Script --> PolicyDesign : Create Policy
  PolicyDesign --> Script : Policy creation result
end

deactivate Script

@enduml