aboutsummaryrefslogtreecommitdiffstats
path: root/docs/architecture/plantuml/ModelDrivenPolicyDesign.puml
blob: 31142b0b86042e0131a61d6cfe240de7f8926526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@startuml

title Model Driven Policy Design

participant SDC
participant DMaaP

box "PolicyDesign" #LightBlue
  participant PolicyDistribution << API_User >>
  participant PolicyDesign
end box

autonumber

PolicyDistribution --> DMaaP : Subscribe for SDC Notifications\non Entries of Interest
SDC --> DMaaP : New Entry of Interest: EntityA
DMaaP --> PolicyDistribution : New Entry of Interest: EntityA

PolicyDistribution --> SDC : Download CSAR for EntityA that holds TOSCA Policy Specification

PolicyDistribution --> PolicyDesign : Get Policy Reference
PolicyDesign --> PolicyDistribution : Return Policy Reference and Metadata
PolicyDistribution --> PolicyDistribution : Create Policy Editing and Generation Session

activate PolicyDistribution
loop
  PolicyDistribution --> PolicyDesign : Use Policy Type specification to\nread Policy Parameters\nfrom TOSCA specification in CSAR
end

PolicyDistribution --> PolicyDesign : Create Policy
PolicyDesign --> PolicyDistribution : Policy Creation Result
deactivate PolicyDistribution

PolicyDistribution --> SDC : Notify SDC of operation result

@enduml