aboutsummaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src
diff options
context:
space:
mode:
Diffstat (limited to 'feature-lifecycle/src')
-rw-r--r--feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java11
1 files changed, 7 insertions, 4 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 e2c212cd..119ae7aa 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
@@ -20,6 +20,7 @@
package org.onap.policy.drools.lifecycle;
+import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -30,7 +31,6 @@ import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
-import lombok.AccessLevel;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
@@ -85,9 +85,6 @@ public class LifecycleFsm implements Startable {
protected final Properties properties;
- @Getter(AccessLevel.PACKAGE)
- protected final DomainMaker domainMaker = PolicyEngineConstants.getManager().getDomainMaker();
-
protected TopicSource source;
protected TopicSinkClient client;
@@ -141,6 +138,12 @@ public class LifecycleFsm implements Startable {
new PolicyTypeRulesController(this, POLICY_TYPE_DROOLS_NATIVE_RULES));
}
+ @JsonIgnore
+ @GsonJsonIgnore
+ public DomainMaker getDomainMaker() {
+ return PolicyEngineConstants.getManager().getDomainMaker();
+ }
+
@Override
public boolean isAlive() {
return client != null && client.getSink().isAlive();