diff options
author | liamfallon <liam.fallon@est.tech> | 2020-04-14 13:42:34 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-04-14 16:20:30 +0100 |
commit | 1c7c520a656c05949e726bdb40db78e7ca657966 (patch) | |
tree | cf1644eecb92a904afa11b1a57b7fb6cecfa4118 /docs/architecture/plantuml | |
parent | 94fae9ace91dd0a6611ad163989f027dffe7a758 (diff) |
Architecture Sections 2.1 and 2.2
Issue-ID: POLICY-2399
Change-Id: I36b87c94cb7149c3c5e510f3fead88c41d09cec6
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'docs/architecture/plantuml')
-rw-r--r-- | docs/architecture/plantuml/PolicyDesign.puml | 2 | ||||
-rw-r--r-- | docs/architecture/plantuml/PolicyTypeDesign.puml | 14 | ||||
-rw-r--r-- | docs/architecture/plantuml/ScriptedPolicyDesign.puml | 10 |
3 files changed, 12 insertions, 14 deletions
diff --git a/docs/architecture/plantuml/PolicyDesign.puml b/docs/architecture/plantuml/PolicyDesign.puml index f844809e..6b4b8020 100644 --- a/docs/architecture/plantuml/PolicyDesign.puml +++ b/docs/architecture/plantuml/PolicyDesign.puml @@ -19,7 +19,7 @@ PolicyDesign --> PolicyDB : Get Policy Metadata alt Policy Artifact exists PolicyDesign --> API_User : Return Policy Reference and Metadata else Policy Artifact does not exist - PolicyDesign --> API_User : Return New Policy Reference and Empty Metadata + PolicyDesign --> API_User : Return Policy Not Found end API_User --> API_User : Policy Editing and Generation Session\nto get Policy Parameters from user diff --git a/docs/architecture/plantuml/PolicyTypeDesign.puml b/docs/architecture/plantuml/PolicyTypeDesign.puml index 92d3c0ca..9125ee87 100644 --- a/docs/architecture/plantuml/PolicyTypeDesign.puml +++ b/docs/architecture/plantuml/PolicyTypeDesign.puml @@ -2,13 +2,13 @@ title Policy Type Design -participant DCAE_DS <<API_User >> +participant PolicyTypeDesignClient <<API_User >> box "PolicyDesign" #LightBlue participant PolicyTypeDesign end box autonumber -DCAE_DS --> PolicyTypeDesign : Get Policy Type Reference and Metadata +PolicyTypeDesignClient --> PolicyTypeDesign : Get Policy Type Reference and Metadata PolicyTypeDesign --> PolicyDB : Get Policy Type Metadata\nand Artifact alt Policy Type Artifact exists @@ -17,12 +17,12 @@ else Policy Artifact does not exist PolicyTypeDesign --> DCAE_DS : Return New Policy Type Reference and Empty Metadata end -DCAE_DS --> DCAE_DS : Policy Type Editing and Generation Session +PolicyTypeDesignClient --> PolicyTypeDesignClient : Policy Type Editing and Generation Session -activate DCAE_DS -deactivate DCAE_DS +activate PolicyTypeDesignClient +deactivate PolicyTypeDesignClient -DCAE_DS --> PolicyTypeDesign : Create Policy Type and Metadata -PolicyTypeDesign --> DCAE_DS : Policy Generation Result +PolicyTypeDesignClient --> PolicyTypeDesign : Create Policy Type and Metadata +PolicyTypeDesign --> PolicyTypeDesignClient : Policy Generation Result @enduml
\ No newline at end of file diff --git a/docs/architecture/plantuml/ScriptedPolicyDesign.puml b/docs/architecture/plantuml/ScriptedPolicyDesign.puml index e9702174..2092a4df 100644 --- a/docs/architecture/plantuml/ScriptedPolicyDesign.puml +++ b/docs/architecture/plantuml/ScriptedPolicyDesign.puml @@ -3,7 +3,6 @@ title Scripted Policy Design participant Script <<API_User >> -collections DirectiveFile box "PolicyDesign" #LightBlue participant PolicyTypeDesign @@ -15,12 +14,11 @@ 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 --> 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 + Script --> PolicyDesign : Create Policy using command PolicyDesign --> Script : Policy creation result end |