92d3c0ca7c9652ce5677f80ced83e85638545699
[policy/parent.git] / docs / architecture / plantuml / PolicyTypeDesign.puml
1 @startuml
2
3 title Policy Type Design
4
5 participant DCAE_DS <<API_User >>
6 box "PolicyDesign" #LightBlue
7   participant PolicyTypeDesign
8 end box
9 autonumber
10
11 DCAE_DS --> PolicyTypeDesign : Get Policy Type Reference and Metadata
12 PolicyTypeDesign --> PolicyDB : Get Policy Type Metadata\nand Artifact
13
14 alt Policy Type Artifact exists
15   PolicyTypeDesign --> DCAE_DS : Return Policy Type Reference and Metadata
16 else Policy Artifact does not exist
17   PolicyTypeDesign --> DCAE_DS : Return New Policy Type Reference and Empty Metadata
18 end
19
20 DCAE_DS --> DCAE_DS : Policy Type Editing and Generation Session
21
22 activate DCAE_DS
23 deactivate DCAE_DS
24
25 DCAE_DS --> PolicyTypeDesign : Create Policy Type and Metadata
26 PolicyTypeDesign --> DCAE_DS : Policy Generation Result
27
28 @enduml