pdp-x default resolution of indeterminate response 43/17143/1
authorJorge Hernandez <jh1730@att.com>
Tue, 3 Oct 2017 23:40:43 +0000 (18:40 -0500)
committerJorge Hernandez <jh1730@att.com>
Tue, 3 Oct 2017 23:42:43 +0000 (18:42 -0500)
Change-Id: I7913a4e9fb2477c9ec891070cc4dedf71df9500b
Issue-ID: POLICY-275
Signed-off-by: Jorge Hernandez <jh1730@att.com>
config/pe/pdp.conf
config/pe/push-policies.sh

index 369d6b6..c82c01a 100644 (file)
@@ -51,3 +51,6 @@ PDP_DMAAP_AAF_PASSWORD=
 #Required only, when we use AAF
 POLICY_AAF_NAMESPACE=
 POLICY_AAF_RESOURCE=
+
+# Indeterminate resolution
+DECISION_INDETERMINATE_RESPONSE=PERMIT
index d6272d0..ae8bf43 100644 (file)
@@ -4,8 +4,12 @@
 
 echo "Upload BRMS Param Template"
 
+sleep 2
+
 wget -O cl-amsterdam-template.drl https://git.onap.org/policy/drools-applications/plain/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl
 
+sleep 2
+
 curl -v --silent -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -F "file=@cl-amsterdam-template.drl" -F "importParametersJson={\"serviceName\":\"ClosedLoopControlName\",\"serviceType\":\"BRMSPARAM\"}" 'http://pdp:8081/pdp/api/policyEngineImport' 
 
 #########################################Create BRMS Param policies##########################################