aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/policy/drools-apps/deploy.drools.policies.json
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-04-15 08:43:54 -0400
committerJim Hahn <jrh3@att.com>2020-04-15 17:12:53 -0400
commitf340ddbd8422bf51dd537b851ebda62d25b1826f (patch)
tree30bf3be7a8032caee114234d08aba199ea08b008 /scripts/policy/drools-apps/deploy.drools.policies.json
parent426ddc1c61efc12b95aa1013d9137411a4e46d5e (diff)
End-to-end policy CSIT
Modified the CSIT for drools-apps to use more components: - api to create policies - pap to deploy policies Also removed tabs. Issue-ID: POLICY-2491 Change-Id: Iacd8d1953068bb718a63de8813dd1c307c21b1f8 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'scripts/policy/drools-apps/deploy.drools.policies.json')
-rw-r--r--scripts/policy/drools-apps/deploy.drools.policies.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/policy/drools-apps/deploy.drools.policies.json b/scripts/policy/drools-apps/deploy.drools.policies.json
new file mode 100644
index 00000000..24c90d0d
--- /dev/null
+++ b/scripts/policy/drools-apps/deploy.drools.policies.json
@@ -0,0 +1,27 @@
+{
+ "groups": [
+ {
+ "name": "defaultGroup",
+ "deploymentSubgroups": [
+ {
+ "pdpType": "drools",
+ "action": "POST",
+ "policies": [
+ {
+ "name": "operational.restart",
+ "version": "1.0.0"
+ },
+ {
+ "name": "operational.scaleout",
+ "version": "1.0.0"
+ },
+ {
+ "name": "operational.modifyconfig",
+ "version": "1.0.0"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}