aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-11-14 12:44:56 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-14 12:44:56 +0000
commitbeab542380b25717adf5ab3714ee99963a5022e7 (patch)
treeab6b072457aa78204413aa9abaa247bd15c4fb6e
parentf94cf136e6f19f983d2415999fb3576cc078ae77 (diff)
parent6d366671068380e331153bce655f4e840f6d66d9 (diff)
Merge "Fix issue with Guard policies"
-rw-r--r--kubernetes/policy/resources/config/pe/push-policies.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/kubernetes/policy/resources/config/pe/push-policies.sh b/kubernetes/policy/resources/config/pe/push-policies.sh
index c6da184514..f591096cd3 100644
--- a/kubernetes/policy/resources/config/pe/push-policies.sh
+++ b/kubernetes/policy/resources/config/pe/push-policies.sh
@@ -272,7 +272,7 @@ curl -k -v --silent -X PUT --header 'Content-Type: application/json' --header 'A
"policyClass": "Decision",
"policyName": "com.AllPermitGuard",
"policyDescription": "Testing all Permit YAML Guard Policy",
- "ecompName": "PDPD",
+ "onapName": "PDPD",
"ruleProvider": "GUARD_YAML",
"attributes": {
"MATCHING": {
@@ -284,7 +284,7 @@ curl -k -v --silent -X PUT --header 'Content-Type: application/json' --header 'A
"timeWindow": "1",
"timeUnits": "minute",
"guardActiveStart": "00:00:01-05:00",
- "guardActiveEnd": "00:00:00-05:00"
+ "guardActiveEnd": "23:59:59-05:00"
}
}
}' 'https://{{.Values.global.pdp.nameOverride}}:{{.Values.config.pdpPort}}/pdp/api/createPolicy'
@@ -296,7 +296,7 @@ curl -k -v --silent -X PUT --header 'Content-Type: application/json' --header 'A
"policyClass": "Decision",
"policyName": "com.vDNS_Frequency",
"policyDescription": "Limit vDNS Scale Up over time period",
- "ecompName": "PDPD",
+ "onapName": "PDPD",
"ruleProvider": "GUARD_YAML",
"attributes": {
"MATCHING": {
@@ -308,7 +308,7 @@ curl -k -v --silent -X PUT --header 'Content-Type: application/json' --header 'A
"timeWindow": "10",
"timeUnits": "minute",
"guardActiveStart": "00:00:01-05:00",
- "guardActiveEnd": "00:00:00-05:00"
+ "guardActiveEnd": "23:59:59-05:00"
}
}
}' 'https://{{.Values.global.pdp.nameOverride}}:{{.Values.config.pdpPort}}/pdp/api/createPolicy'
@@ -320,7 +320,7 @@ curl -k -v --silent -X PUT --header 'Content-Type: application/json' --header 'A
"policyClass": "Decision",
"policyName": "com.vDNS_MinMax",
"policyDescription": "Ensure number of instances within a range",
- "ecompName": "PDPD",
+ "onapName": "SampleDemo",
"ruleProvider": "GUARD_MIN_MAX",
"attributes": {
"MATCHING": {
@@ -331,7 +331,7 @@ curl -k -v --silent -X PUT --header 'Content-Type: application/json' --header 'A
"min": "1",
"max": "5",
"guardActiveStart": "00:00:01-05:00",
- "guardActiveEnd": "00:00:00-05:00"
+ "guardActiveEnd": "23:59:59-05:00"
}
}
}' 'https://{{.Values.global.pdp.nameOverride}}:{{.Values.config.pdpPort}}/pdp/api/createPolicy'