summaryrefslogtreecommitdiffstats
path: root/docs/architecture/plantuml/ScriptedPolicyDesign.puml
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-05-28 13:27:04 +0000
committerliamfallon <liam.fallon@est.tech>2019-05-28 13:27:04 +0000
commitc9e2790646530c9546ecbf0038248cfdf663521c (patch)
tree3ca387794e2fcb370bd685d87f52b0523e34904f /docs/architecture/plantuml/ScriptedPolicyDesign.puml
parente62f711b12a3d2340172e8b6d608989197bf4dc9 (diff)
Complete Architecture Document
Issue-ID: POLICY-1676 Change-Id: Ic0a631dbc27c69455cfc4b0cc12ed7bd1131cce8 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'docs/architecture/plantuml/ScriptedPolicyDesign.puml')
-rw-r--r--docs/architecture/plantuml/ScriptedPolicyDesign.puml29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/architecture/plantuml/ScriptedPolicyDesign.puml b/docs/architecture/plantuml/ScriptedPolicyDesign.puml
new file mode 100644
index 00000000..e9702174
--- /dev/null
+++ b/docs/architecture/plantuml/ScriptedPolicyDesign.puml
@@ -0,0 +1,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 \ No newline at end of file