Class BTUpdateS3Orders
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
overit.geocallapp.wfm.ai.bl.agendaaffinity.task.BTUpdateS3Orders
- All Implemented Interfaces:
Serializable,Tool
This task is going to take the orders from s3 bucket and append to this file
the new Longset of operations fixedOperationSet.
- Since:
- 9.3
- See Also:
- GCApi:
- task
-
Field Summary
FieldsFields inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
algorithmName, asyncQueueMode, configurationParamsHistory, elaborationHistory, factory, filesToDelete, headers, instanceType, modelName, resourcesFolder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidelaborateTask(PoolKit poolKit) protected intgetOperations(PoolKit poolKit) Return a DBView with the data extracted from DB given a work order id.voidsetFixedOperationSet(LongSet fixedOperationSet) protected voidupdateS3Orders(File woOrder) This method is going to get the orders data from aws, then it will join this data with the new operations and then it will upload it back to s3.Methods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
body, buildHeaders, checkConfiguration, clearOldLogs, deleteFileS3, deleteTemporaryFiles, getAiConfiguration, getAwsUploadPath, getConfigurationParamsHistory, getElaborationHistory, getError, getJobName, getResourcesFolder, getTrainingType, isAsyncQueueMode, prepareDataForApi, setAiConfiguration, setAsyncQueueMode, setJobName, setResourcesFolder, setTrainingType, uploadFileS3, writeLogTableMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
operationCenter
-
s3DataRoot
-
-
Constructor Details
-
BTUpdateS3Orders
public BTUpdateS3Orders()
-
-
Method Details
-
setFixedOperationSet
-
elaborateTask
- Specified by:
elaborateTaskin classBTBasicAIProcess- Throws:
DAExceptionDAValidateException
-
updateS3Orders
This method is going to get the orders data from aws, then it will join this data with the new operations and then it will upload it back to s3.- Parameters:
woOrder-- Throws:
DAExceptionDAValidateException
-
getOperations
Return a DBView with the data extracted from DB given a work order id.- Parameters:
poolKit- the pool kit- Returns:
- the operations
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
getLogValidityDays
protected int getLogValidityDays()- Specified by:
getLogValidityDaysin classBTBasicAIProcess
-