blob: 6b4b8020b1f45399fc9b2a07505eb4a575432e48 [file] [log] [blame]
liamfallonc9e27902019-05-28 13:27:04 +00001@startuml
2
3title Policy Design
4
5participant API_User
6box "PolicyDesign" #LightBlue
7 participant PolicyDesign
8 database PolicyDB
9end box
10
11autonumber
12
13API_User --> PolicyDesign : Get Policy Type Reference
14PolicyDesign --> PolicyDB : Get Policy Type Artifact and Metadata
15PolicyDesign --> API_User : Return Policy Type Reference and Metadata
16API_User --> PolicyDesign : Get Policy Reference and Metadata
17PolicyDesign --> PolicyDB : Get Policy Metadata
18
19alt Policy Artifact exists
20 PolicyDesign --> API_User : Return Policy Reference and Metadata
21else Policy Artifact does not exist
liamfallon1c7c5202020-04-14 13:42:34 +010022 PolicyDesign --> API_User : Return Policy Not Found
liamfallonc9e27902019-05-28 13:27:04 +000023end
24
25API_User --> API_User : Policy Editing and Generation Session\nto get Policy Parameters from user
26
27activate API_User
28deactivate API_User
29
30loop
31 API_User --> PolicyDesign : Use Policy Type specification
32 API_User --> PolicyDesign : Create Policy PolicyDesign --> PolicyDesign : Create Policy
33 activate PolicyDesign
34 deactivate PolicyDesign
35 PolicyDesign --> PolicyDB : Save Policy Artifact and Metadata
36 PolicyDesign --> API_User : Policy Creation Result
37end
38
39@enduml