Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -36,26 +36,26 @@ Initialization::~Initialization()
|
||||
bool Initialization::initialize(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector,
|
||||
const QSqlDatabase &sqlDb)
|
||||
{
|
||||
INFO_LOG() << "Start Evaluations Initialization.";
|
||||
INFO_LOG(m_logger) << "Start Evaluations 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;
|
||||
}
|
||||
DEBUG_LOG() << "Initialisation ddsHandler succesful.";
|
||||
DEBUG_LOG(m_logger) << "Initialisation ddsHandler succesful.";
|
||||
|
||||
|
||||
// initialize database
|
||||
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;
|
||||
}
|
||||
DEBUG_LOG() << "Initialisation dbHandler succesful.";
|
||||
DEBUG_LOG(m_logger) << "Initialisation dbHandler succesful.";
|
||||
|
||||
|
||||
// HandlerCriterium
|
||||
@@ -76,18 +76,18 @@ bool Initialization::loadFromDatabase()
|
||||
return false;
|
||||
if (!m_handlerCriterium->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerCriterium failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerCriterium failed.";
|
||||
return false;
|
||||
}
|
||||
if (!m_handlerComment->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerComment failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerComment failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerSanNineLiner->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerSanNineLiner failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerSanNineLiner failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user