summaryrefslogtreecommitdiffstats
path: root/common/src/main
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2021-07-21 11:31:14 +0100
committerliamfallon <liam.fallon@est.tech>2021-07-21 13:10:49 +0100
commit66b7249d8304aedcea8b8d50f068aab8071ec81f (patch)
treefce2662d24004063d18b583e0c0826eb40cf59b9 /common/src/main
parentf854e65fe950ef500215371cc47484147b739a31 (diff)
Add distribution of policies to Policy Participant
Currently, the Policy Participant only stores the policy to policy-api. It does not distribute the policy. This commit adds a parameter for the PDP group to the Policy Framework Control Loop Element metadata. Issue-ID: POLICY-3508 Change-Id: Ia182b4ea08ac1d3aec9cca4509f8e33723c80fc5 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'common/src/main')
-rw-r--r--common/src/main/resources/tosca/PolicyControlLoopElementType.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml b/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml
index e584c2fce..bf66718ca 100644
--- a/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml
+++ b/common/src/main/resources/tosca/PolicyControlLoopElementType.yaml
@@ -31,3 +31,9 @@ node_types:
description: The policy that this control loop element is managing, if the policy ID is specified, the policy
is either already in the Policy Framework database or is specified in the "policies" part of the
TOSCA service template of the Control Loop definition
+ pdpGroup:
+ type: string
+ required: false
+ default: defaultGroup
+ description: The PDP group to which the policy should be deployed. This parameter is used when the policy is
+ deployed to PAP. The value defaults to the "defaultGroup", which always exists.