https://gerrit.fd.io/r/#/c/7411/10 moved HoneycombNotification2Netconf
instance creation out of distribution's Main.
HoneycombNotification2Netconf is not used in any provider,
so needs to be initialized eagerly.
Change-Id: I1a5cfe6eb83b75a0b175052a8bda32eb4619218e
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
// Create HC notification manager + HC2Netconf translator
bind(NotificationCollector.class).toProvider(HoneycombNotificationManagerProvider.class).in(Singleton.class);
bind(HoneycombNotification2NetconfProvider.HoneycombNotification2Netconf.class)
- .toProvider(HoneycombNotification2NetconfProvider.class).in(Singleton.class);
+ .toProvider(HoneycombNotification2NetconfProvider.class).asEagerSingleton();
expose(HoneycombNotification2NetconfProvider.HoneycombNotification2Netconf.class);
configureServer();