liamfallon | c9e2790 | 2019-05-28 13:27:04 +0000 | [diff] [blame] | 1 | @startuml |
| 2 | |
| 3 | title Model Driven Policy Design |
| 4 | |
| 5 | participant SDC |
| 6 | participant DMaaP |
| 7 | |
| 8 | box "PolicyDesign" #LightBlue |
| 9 | participant PolicyDistribution << API_User >> |
| 10 | participant PolicyDesign |
| 11 | end box |
| 12 | |
| 13 | autonumber |
| 14 | |
| 15 | PolicyDistribution --> DMaaP : Subscribe for SDC Notifications\non Entries of Interest |
| 16 | SDC --> DMaaP : New Entry of Interest: EntityA |
| 17 | DMaaP --> PolicyDistribution : New Entry of Interest: EntityA |
| 18 | |
| 19 | PolicyDistribution --> SDC : Download CSAR for EntityA that holds TOSCA Policy Specification |
| 20 | |
| 21 | PolicyDistribution --> PolicyDesign : Get Policy Reference |
| 22 | PolicyDesign --> PolicyDistribution : Return Policy Reference and Metadata |
| 23 | PolicyDistribution --> PolicyDistribution : Create Policy Editing and Generation Session |
| 24 | |
| 25 | activate PolicyDistribution |
| 26 | loop |
| 27 | PolicyDistribution --> PolicyDesign : Use Policy Type specification to\nread Policy Parameters\nfrom TOSCA specification in CSAR |
| 28 | end |
| 29 | |
| 30 | PolicyDistribution --> PolicyDesign : Create Policy |
| 31 | PolicyDesign --> PolicyDistribution : Policy Creation Result |
| 32 | deactivate PolicyDistribution |
| 33 | |
| 34 | PolicyDistribution --> SDC : Notify SDC of operation result |
| 35 | |
| 36 | @enduml |