Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,15 @@ class ExecutionContextFactoryImpl implements ExecutionContextFactory {
screenFacade = new ScreenFacadeImpl(this)
logger.info("Screen Facade initialized")

postFacadeInit()

// NOTE: ElasticFacade init after postFacadeInit() so finds embedded from moqui-elasticsearch if present, can move up once moqui-elasticsearch deprecated
/**
* NOTE: Moved ElasticFacade init before postFacadeInit() as the moqui-elasticsearch component is not being used.
* Before this change, the ElasticFacade was initialized after the postFacadeInit() method.
*/
elasticFacade = new ElasticFacadeImpl(this)
logger.info("Elastic Facade initialized")

postFacadeInit()

logger.info("Execution Context Factory initialized in ${(System.currentTimeMillis() - initStartTime)/1000} seconds")
}

Expand Down Expand Up @@ -294,12 +297,15 @@ class ExecutionContextFactoryImpl implements ExecutionContextFactory {
screenFacade = new ScreenFacadeImpl(this)
logger.info("Screen Facade initialized")

postFacadeInit()

// NOTE: ElasticFacade init after postFacadeInit() so finds embedded from moqui-elasticsearch if present, can move up once moqui-elasticsearch deprecated
/**
* NOTE: Moved ElasticFacade init before postFacadeInit() as the moqui-elasticsearch component is not being used.
* Before this change, the ElasticFacade was initialized after the postFacadeInit() method.
*/
elasticFacade = new ElasticFacadeImpl(this)
logger.info("Elastic Facade initialized")

postFacadeInit()

logger.info("Execution Context Factory initialized in ${(System.currentTimeMillis() - initStartTime)/1000} seconds")
}

Expand Down