diff options
author | Ralph Straubs <rs8887@att.com> | 2017-06-02 11:10:04 -0500 |
---|---|---|
committer | Ralph Straubs <rs8887@att.com> | 2017-06-02 11:44:57 -0500 |
commit | 68536f36971c101150ec35d44bd445355ffd0384 (patch) | |
tree | 19ad454a438395da3b2cafe85bedeaeb582e6ea1 /policy-persistence/src | |
parent | 2a78350806368ae9dd4f5e43f4652251adbb52e6 (diff) |
Change 'policy-core' to support app persistence
This includes the following:
1) A new hook method 'newPolicySession(PolicySession)' that is called after
the session has been created and initialized
2) Support for "adjunct" objects in 'PolicySession'
3) Added 'try/catch' blocks around feature method invocations
4) Added 'default' methods to interface 'PolicySessionFeatureAPI'
5) Removed 'PolicySessionFeatureAPI.isPersistenceEnabled()'
Conflicts:
policy-core/src/main/java/org/openecomp/policy/drools/core/PolicySessionFeatureAPI.java
Change-Id: Ibc6d9eeacb6118d617e6c5ac53f6cef4c6ee1417
Signed-off-by: Ralph Straubs <rs8887@att.com>
Diffstat (limited to 'policy-persistence/src')
-rw-r--r-- | policy-persistence/src/main/java/org/openecomp/policy/drools/persistence/PersistenceFeature.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/policy-persistence/src/main/java/org/openecomp/policy/drools/persistence/PersistenceFeature.java b/policy-persistence/src/main/java/org/openecomp/policy/drools/persistence/PersistenceFeature.java index 3883acab..4d9c08a0 100644 --- a/policy-persistence/src/main/java/org/openecomp/policy/drools/persistence/PersistenceFeature.java +++ b/policy-persistence/src/main/java/org/openecomp/policy/drools/persistence/PersistenceFeature.java @@ -204,15 +204,6 @@ public class PersistenceFeature implements PolicySessionFeatureAPI, PolicyEngine getContainerAdjunct(policySession.getPolicyContainer()) .destroyKieSession(); } - - /** - * {@inheritDoc} - */ - @Override - public boolean isPersistenceEnabled() - { - return(!persistenceDisabled); - } /** * {@inheritDoc} |