Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+5
-5
@@ -33,13 +33,13 @@ Initialization::~Initialization()
|
||||
bool Initialization::initialize(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector,
|
||||
const QSqlDatabase &sqlDb)
|
||||
{
|
||||
INFO_LOG() << "Start CodificationManagement Initialization.";
|
||||
INFO_LOG(m_logger) << "Start CodificationManagement Initialization.";
|
||||
|
||||
// initialize DDS
|
||||
m_ddsHandler = std::make_shared<DdsHandler>(ddsConnector);
|
||||
if (!m_ddsHandler->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation DdsHandler failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation DdsHandler failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -47,14 +47,14 @@ bool Initialization::initialize(const std::shared_ptr<DDSConnector::DdsConnector
|
||||
m_dbHandler = std::make_shared<DbHandler>();
|
||||
if (!m_dbHandler->init(ddsConnector->getPartitionId(), sqlDb))
|
||||
{
|
||||
ERROR_LOG() << "Initialisation DbHandler failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation DbHandler failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
// create HandlerCodificationData
|
||||
m_handlerCodificationData.reset(new HandlerCodificationData(m_ddsHandler, m_dbHandler));
|
||||
|
||||
INFO_LOG() << "CodificationManagement Initialization initialized. pacemakerState: Running ";
|
||||
INFO_LOG(m_logger) << "CodificationManagement Initialization initialized. pacemakerState: Running ";
|
||||
|
||||
return true;
|
||||
} // end of init()
|
||||
@@ -66,7 +66,7 @@ bool Initialization::loadFromDatabase()
|
||||
return false;
|
||||
if (!m_handlerCodificationData->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerCodificationData failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerCodificationData failed.";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user