summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2020-02-06 21:05:24 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-06 21:05:24 +0000
commita297614df3eabf991f6da0f4a0bb52173742051d (patch)
treeb676b43ce12ce3f4332f638ce5aec3f1ab36172d /feature-lifecycle
parent835686f407a2e9e62eff325e8f93768d4fc44516 (diff)
parent7bf40c2ceac4154e1b3b08d91e9707c5cc1830f1 (diff)
Merge "Store DomainMaker in PolicyEngine."
Diffstat (limited to 'feature-lifecycle')
-rw-r--r--feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
index b37d0149..e2c212cd 100644
--- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
+++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
@@ -49,6 +49,7 @@ import org.onap.policy.common.utils.network.NetworkUtil;
import org.onap.policy.drools.persistence.SystemPersistenceConstants;
import org.onap.policy.drools.policies.DomainMaker;
import org.onap.policy.drools.system.PolicyController;
+import org.onap.policy.drools.system.PolicyEngineConstants;
import org.onap.policy.models.pdp.concepts.PdpResponseDetails;
import org.onap.policy.models.pdp.concepts.PdpStateChange;
import org.onap.policy.models.pdp.concepts.PdpStatus;
@@ -85,7 +86,7 @@ public class LifecycleFsm implements Startable {
protected final Properties properties;
@Getter(AccessLevel.PACKAGE)
- protected final DomainMaker domainMaker = new DomainMaker();
+ protected final DomainMaker domainMaker = PolicyEngineConstants.getManager().getDomainMaker();
protected TopicSource source;
protected TopicSinkClient client;