Fixing issue with PDP Indeterminate response 15/18015/1
authorTej, Tarun <tt3868@att.com>
Tue, 10 Oct 2017 17:11:09 +0000 (13:11 -0400)
committerTej, Tarun <tt3868@att.com>
Tue, 10 Oct 2017 17:11:25 +0000 (13:11 -0400)
Issue-Id: POLICY-305
Change-Id: Ibc8827af062d759b607b05731f3a2d88b10e0088
Signed-off-by: Tej, Tarun <tt3868@att.com>
ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PDPServices.java

index efaa5c1..8258aba 100644 (file)
@@ -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);