Make drlRuleAndUIParams transient or serializable 83/31683/1
authorSwapnali Pode <SP00501638@techmahindra.com>
Wed, 14 Feb 2018 07:05:30 +0000 (12:35 +0530)
committerSwapnali Pode <SP00501638@techmahindra.com>
Wed, 14 Feb 2018 07:05:51 +0000 (12:35 +0530)
Make drlRuleAndUIParams transient or serializable
StdPAPPolicy.java:L72

Sonar Link:
https://sonar.onap.org/project/issues?assignees=swapnalipode&id=org.onap.policy.engine%3APolicyEngineSuite&open=AWF91ipr8TZzbCgU6aom&resolved=false

Location:
src/main/java/org/onap/policy/xacml/std/pap/StdPAPPolicy.java

Change-Id: I3524881e76c69518949a622a23084e0bc8ef26a2
Issue-ID: POLICY-631
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdPAPPolicy.java

index a8c59e8..5974883 100644 (file)
@@ -69,7 +69,7 @@ public class StdPAPPolicy implements OnapPAPPolicy, Serializable{
        private String uuid = null;
        private String msLocation = null;
        private String priority = null;
-       private Map<String,String> drlRuleAndUIParams=null;
+       private transient Map<String,String> drlRuleAndUIParams=null;
        private String deleteCondition = null;
        private String dictionaryType = null;
        private String dictionary = null;