aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-07-22 12:12:48 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-22 12:12:48 +0000
commit9218688ef4ad609319a15310c1a87058d042adc1 (patch)
tree5776cc613ec03721fa7ff5a37b8d14c9d03e0b74
parent366bc8085b7118de8b079d270da781723584f79e (diff)
parent66b7249d8304aedcea8b8d50f068aab8071ec81f (diff)
Merge "Add distribution of policies to Policy Participant"
-rw-r--r--common/src/main/resources/tosca/PolicyControlLoopElementType.yaml6
-rw-r--r--common/src/test/resources/demo/Notes.txt5
2 files changed, 8 insertions, 3 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.
diff --git a/common/src/test/resources/demo/Notes.txt b/common/src/test/resources/demo/Notes.txt
index 777cdc0e1..43b75e915 100644
--- a/common/src/test/resources/demo/Notes.txt
+++ b/common/src/test/resources/demo/Notes.txt
@@ -6,9 +6,8 @@ $ docker run -p 3904:3904 --volume //c/Users/${USER}/Github/simulator/distributi
Run DMaaP simulator using Maven
Check out policy models
-Go to policy/models/models-sim/models-sim-dmaap
-mvn exec:java -Dexec.mainClass=org.onap.policy.models.sim.dmaap.startstop.Main -Dexec.args="-c src/main/resources/etc/DefaultConfig.json"
-
+Go to policy/models/models-sim/policy-models-simulators
+mvn exec:java -Dexec.mainClass=org.onap.policy.models.simulators.Main -Dexec.args="src/test/resources/simParameters.json"
Run CL from command line
Go to clamp/runtime-controlloop