diff options
-rw-r--r-- | holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java | 3 | ||||
-rw-r--r-- | holmes-actions/src/main/java/org/onap/holmes/common/dropwizard/ioc/bundle/AutoConfigBundle.java | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java b/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java index ead8464..ae71ad4 100644 --- a/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java +++ b/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java @@ -29,7 +29,8 @@ public class VesAlarm implements Cloneable, Serializable{ private String eventId; private String eventName; private String eventType; - private Object internalHeaderFields; + //Temporarily make it transient cuz no details of this field is provided and it is not used for now. + transient private Object internalHeaderFields; private Long lastEpochMicrosec; private String nfcNamingCode; private String nfNamingCode; diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/dropwizard/ioc/bundle/AutoConfigBundle.java b/holmes-actions/src/main/java/org/onap/holmes/common/dropwizard/ioc/bundle/AutoConfigBundle.java index b8552b2..db4f341 100644 --- a/holmes-actions/src/main/java/org/onap/holmes/common/dropwizard/ioc/bundle/AutoConfigBundle.java +++ b/holmes-actions/src/main/java/org/onap/holmes/common/dropwizard/ioc/bundle/AutoConfigBundle.java @@ -58,7 +58,7 @@ import org.slf4j.LoggerFactory; /** * complete the integration of hK2 container and dropwizard - * + * * @author hu.rui * */ @@ -276,12 +276,9 @@ public class AutoConfigBundle<T extends Configuration> implements ConfiguredBund bind(configuration); LOG.info("Registering Dropwizard Configuration class name:{}", configuration.getClass().getName()); - if (configuration instanceof Configuration) { bind((Configuration) configuration).to(Configuration.class); LOG.info("Registering Dropwizard Configuration class name:{}", Configuration.class.getName()); - } - } }); |