aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-PDP-REST
diff options
context:
space:
mode:
authorTej, Tarun <tt3868@att.com>2017-10-10 13:11:09 -0400
committerTej, Tarun <tt3868@att.com>2017-10-10 13:11:25 -0400
commit2ebd62710f2bcd92627e6a79da25da25ac2750af (patch)
treeaeae587569404f6e26f6ca87898511a537772b3f /ONAP-PDP-REST
parent08a9f3a8d9831a351f54a5862b5ff58f3f5e7993 (diff)
Fixing issue with PDP Indeterminate response
Issue-Id: POLICY-305 Change-Id: Ibc8827af062d759b607b05731f3a2d88b10e0088 Signed-off-by: Tej, Tarun <tt3868@att.com>
Diffstat (limited to 'ONAP-PDP-REST')
-rw-r--r--ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PDPServices.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PDPServices.java b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PDPServices.java
index efaa5c167..8258aba1a 100644
--- a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PDPServices.java
+++ b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PDPServices.java
@@ -128,7 +128,7 @@ public class PDPServices {
LOGGER.info("Decision not a Permit. " + result.getDecision().toString());
PDPResponse pdpResponse = new PDPResponse();
if (decide) {
- String indeterminatePropValue = XACMLProperties.getProperty("decision.inStringdeterminate.response");
+ String indeterminatePropValue = XACMLProperties.getProperty("decision.indeterminate.response");
if(result.getDecision().equals(Decision.INDETERMINATE)&& indeterminatePropValue != null){
if("PERMIT".equalsIgnoreCase(indeterminatePropValue)){
pdpResponse.setDecision(PolicyDecision.PERMIT);