Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+5
-6
@@ -14,9 +14,8 @@
|
||||
namespace MeteoDataManagement
|
||||
{
|
||||
|
||||
HandlerMeteoDataUnits::HandlerMeteoDataUnits(MainHandler *mainHandler)
|
||||
: m_mainHandler(mainHandler)
|
||||
{
|
||||
HandlerMeteoDataUnits::HandlerMeteoDataUnits(MainHandler *mainHandler) : m_mainHandler(mainHandler),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
} // end of ctor()
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -28,7 +27,7 @@ HandlerMeteoDataUnits::~HandlerMeteoDataUnits()
|
||||
|
||||
bool HandlerMeteoDataUnits::init()
|
||||
{
|
||||
INFO_LOG() << "HandlerMeteoDataUnits::init().... Initialisation of MDU's will be started from ISM directly. ";
|
||||
INFO_LOG(m_logger) << "HandlerMeteoDataUnits::init().... Initialisation of MDU's will be started from ISM directly. ";
|
||||
|
||||
return true;
|
||||
} // end of init()
|
||||
@@ -36,7 +35,7 @@ bool HandlerMeteoDataUnits::init()
|
||||
|
||||
bool HandlerMeteoDataUnits::addMeteoDataUnit(const InfrastructureManagement::InstrumentationAsset &asset)
|
||||
{
|
||||
INFO_LOG() << "addMeteoDataUnit: " << asset;
|
||||
INFO_LOG(m_logger) << "addMeteoDataUnit: " << asset;
|
||||
removeMeteoDataUnit(asset); // just to be sure
|
||||
|
||||
HandlerMeteoDataUnit *hMDU = new HandlerMeteoDataUnit(m_mainHandler, asset);
|
||||
@@ -48,7 +47,7 @@ bool HandlerMeteoDataUnits::addMeteoDataUnit(const InfrastructureManagement::Ins
|
||||
|
||||
bool HandlerMeteoDataUnits::removeMeteoDataUnit(const InfrastructureManagement::InstrumentationAsset &asset)
|
||||
{
|
||||
INFO_LOG() << "removeMeteoDataUnit: " << asset;
|
||||
INFO_LOG(m_logger) << "removeMeteoDataUnit: " << asset;
|
||||
auto it = m_handlerMeteoDataUnitsMap.find(asset.id());
|
||||
if (it == m_handlerMeteoDataUnitsMap.end())
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user