Class BTSolviceStatusCheck
java.lang.Object
overit.geocall.bl.BusinessTask<SolviceStatusCheckEvent>
overit.geocallapp.wfm.scheduling.rc1.oss.status.task.BTSolviceStatusCheck
- All Implemented Interfaces:
Serializable,Tool
@Event(SolviceStatusCheckEvent.class)
public class BTSolviceStatusCheck
extends BusinessTask<SolviceStatusCheckEvent>
Business task for checking Solvice service status.
The task retrieves the current status of the Solvice optimization service by calling the health check endpoint if the base URL was correctly configured in the company properties (see
The task retrieves the current status of the Solvice optimization service by calling the health check endpoint if the base URL was correctly configured in the company properties (see
PropertiesScheduling.Optimization.getSolviceBaseUrl()). - Since:
- 22.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(SolviceStatusCheckEvent event, PoolKit poolKit) Executes the Solvice status check operation.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
CONFIG_NAME
- See Also:
-
-
Constructor Details
-
BTSolviceStatusCheck
public BTSolviceStatusCheck()
-
-
Method Details
-
body
protected void body(SolviceStatusCheckEvent event, PoolKit poolKit) throws DAException, DAValidateException Executes the Solvice status check operation. This method retrieves the current status of the Solvice service by calling the health check endpoint.- Specified by:
bodyin classBusinessTask<SolviceStatusCheckEvent>- Parameters:
event- TheSolviceStatusCheckEventcontaining the requestpoolKit- ThePoolKitproviding access to the data layer- Throws:
DAException- If a data access error occurs during the operationDAValidateException- If validation of the data fails
-