aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-actors/actor.xacml/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'models-interactions/model-actors/actor.xacml/src/test/resources')
-rw-r--r--models-interactions/model-actors/actor.xacml/src/test/resources/service.yaml4
-rw-r--r--models-interactions/model-actors/actor.xacml/src/test/resources/xacml.configure.test-policy.json22
2 files changed, 26 insertions, 0 deletions
diff --git a/models-interactions/model-actors/actor.xacml/src/test/resources/service.yaml b/models-interactions/model-actors/actor.xacml/src/test/resources/service.yaml
index 81f4b8413..77a87b72e 100644
--- a/models-interactions/model-actors/actor.xacml/src/test/resources/service.yaml
+++ b/models-interactions/model-actors/actor.xacml/src/test/resources/service.yaml
@@ -33,3 +33,7 @@ actors:
operations:
Guard:
path: decide
+ action: guard
+ Configure:
+ path: decision
+ action: configure
diff --git a/models-interactions/model-actors/actor.xacml/src/test/resources/xacml.configure.test-policy.json b/models-interactions/model-actors/actor.xacml/src/test/resources/xacml.configure.test-policy.json
new file mode 100644
index 000000000..214a447da
--- /dev/null
+++ b/models-interactions/model-actors/actor.xacml/src/test/resources/xacml.configure.test-policy.json
@@ -0,0 +1,22 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "test-policy": {
+ "type": "onap.policies.monitoring.test",
+ "type_version": "1.0.0",
+ "version": "1.0.0",
+ "name": "test-policy",
+ "metadata": {
+ "policy-id": "test-policy",
+ "policy-version": 1
+ },
+ "properties": {
+ "test": "test"
+ }
+ }
+ }
+ ]
+ }
+}