[VOL-3922] Dynamic configuration of the required drivers property to ensure correct driver is assigned to the device at all times, both instance restart and application update
Change-Id: I1c54d2e260aecd1e33b15c06bcb1f6c857603355
diff --git a/impl/src/main/java/org/opencord/olt/driver/OltPipeline.java b/impl/src/main/java/org/opencord/olt/driver/OltPipeline.java
index 84a56ca..5232eb8 100644
--- a/impl/src/main/java/org/opencord/olt/driver/OltPipeline.java
+++ b/impl/src/main/java/org/opencord/olt/driver/OltPipeline.java
@@ -161,6 +161,8 @@
accumulator = new ObjectiveAccumulator(context.accumulatorMaxObjectives(),
context.accumulatorMaxBatchMillis(),
context.accumulatorMaxIdleMillis());
+ } else {
+ log.debug("Olt Pipeliner accumulator is disabled, processing immediately");
}
@@ -1213,10 +1215,12 @@
GroupKey key = event.subject().appCookie();
NextObjective obj = pendingGroups.getIfPresent(key);
if (obj == null) {
- log.debug("No pending group for {}, moving on", key);
+ if (log.isTraceEnabled()) {
+ log.trace("No pending group for {}, moving on", key);
+ }
return;
}
- log.trace("Event {} for group {}, handling pending" +
+ log.debug("Event {} for group {}, handling pending" +
"NextGroup {}", event.type(), key, obj.id());
if (event.type() == GroupEvent.Type.GROUP_ADDED ||
event.type() == GroupEvent.Type.GROUP_UPDATED) {