From 66b7249d8304aedcea8b8d50f068aab8071ec81f Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 21 Jul 2021 11:31:14 +0100 Subject: 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 --- common/src/main/resources/tosca/PolicyControlLoopElementType.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/src/main') 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. -- cgit 1.2.3-korg