multipoint decomposer + unit test improvements
[unimgr.git] / impl / src / main / java / org / opendaylight / unimgr / mef / nrp / impl / AbstractNodeHandler.java
index ca420ef4c4a2a7eb8bc270e394c5cc52e8978362..5805a64b2e32a4d0f67b515944b8aa57f4ce2902 100644 (file)
@@ -60,11 +60,14 @@ public class AbstractNodeHandler implements DataTreeChangeListener<Topology> {
 
     public void init() {
         registration = dataBroker.registerDataTreeChangeListener(new DataTreeIdentifier<>(LogicalDatastoreType.OPERATIONAL, NRP_TOPOLOGY_SYSTEM_IID), this);
+
+        LOG.debug("AbstractNodeHandler registered: {}", registration);
     }
 
     public void close() {
         if (registration != null) {
             registration.close();
+            LOG.debug("AbstractNodeHandler closed");
         }
     }
 
@@ -102,7 +105,7 @@ public class AbstractNodeHandler implements DataTreeChangeListener<Topology> {
 
             @Override
             public void onSuccess(@Nullable Void result) {
-                LOG.info("Abstract TAPI node upadate successful");
+                LOG.info("Abstract TAPI node updated successful");
             }
 
             @Override