Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+11
-11
@@ -41,13 +41,13 @@ Initialization::~Initialization()
|
||||
|
||||
bool Initialization::initialize(const std::shared_ptr<DDSConnector::DdsConnector> &ddsConnector, const QSqlDatabase &sqlDb)
|
||||
{
|
||||
INFO_LOG() << "Start EffectShowManagement Initialization.";
|
||||
INFO_LOG(m_logger) << "Start EffectShowManagement 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;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ 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;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ bool Initialization::initialize(const std::shared_ptr<DDSConnector::DdsConnector
|
||||
// initialize handlerAesData
|
||||
m_handlerAesData = std::make_shared<HandlerAesData>(this);
|
||||
|
||||
INFO_LOG() << "EffectShowManagement initialized.";
|
||||
INFO_LOG(m_logger) << "EffectShowManagement initialized.";
|
||||
|
||||
return true;
|
||||
|
||||
@@ -98,43 +98,43 @@ bool Initialization::loadFromDatabase()
|
||||
|
||||
if (!m_handlerEffectShow->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation handlerEffectShow failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation handlerEffectShow failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerEffectShowActorRelocation->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation handlerEffectShowActorRelocation failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation handlerEffectShowActorRelocation failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerEffectShowVehicleStatus->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerEffectShowVehicleStatus failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerEffectShowVehicleStatus failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerPpmData->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerPpmData failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerPpmData failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerMdmData->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerMdmData failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerMdmData failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerTabData->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerTabData failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerTabData failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!m_handlerAesData->init())
|
||||
{
|
||||
ERROR_LOG() << "Initialisation HandlerAesData failed.";
|
||||
ERROR_LOG(m_logger) << "Initialisation HandlerAesData failed.";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user