Class LogAdapter
- java.lang.Object
-
- org.openiam.sync.service.impl.srcadapter.adapters.AbstractSrcAdapter
-
- org.openiam.sync.service.impl.srcadapter.adapters.LogAdapter
-
- All Implemented Interfaces:
SourceAdapter
@Component public class LogAdapter extends AbstractSrcAdapter
Reads a Log file for use during the synchronization process
-
-
Field Summary
-
Fields inherited from class org.openiam.sync.service.impl.srcadapter.adapters.AbstractSrcAdapter
auditLogHelper, mapper, propertyValueSweeper, provisionQueue, rabbitMQSender, scriptRunner, syncHelper, syncObjectProcessorFactory
-
-
Constructor Summary
Constructors Constructor Description LogAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LastRecordMetric
getRowTime(LineObject rowObj, SynchConfig config)
protected LastRecordMetric
logProcessLineObject(LineObject rowObj, SynchConfig config, ValidationScript validationScript, List<TransformScript> transformScripts, SimpleDateFormat sdf)
SyncResponse
startSynch(SynchConfig config)
SyncResponse
startSynch(SynchConfig config, List<LineObject> objects)
Response
testConnection(SynchConfig config)
protected boolean
validatePartsGeneration(List<LineObject> lineObjects, SynchConfig config)
-
Methods inherited from class org.openiam.sync.service.impl.srcadapter.adapters.AbstractSrcAdapter
buildAuditLog, decryptPassword, getLastRecGeneralizedTime, getLastRecordMetric, getObjectString, hasError, incrementalSyncProcessing, mean, performTransformationScript, processLineObject, processPart, setMetric, setMetric, sum
-
-
-
-
Method Detail
-
testConnection
public Response testConnection(SynchConfig config)
-
validatePartsGeneration
protected boolean validatePartsGeneration(List<LineObject> lineObjects, SynchConfig config)
- Specified by:
validatePartsGeneration
in classAbstractSrcAdapter
-
getRowTime
protected LastRecordMetric getRowTime(LineObject rowObj, SynchConfig config)
- Specified by:
getRowTime
in classAbstractSrcAdapter
-
startSynch
public SyncResponse startSynch(SynchConfig config) throws BasicDataServiceException
- Specified by:
startSynch
in interfaceSourceAdapter
- Overrides:
startSynch
in classAbstractSrcAdapter
- Throws:
BasicDataServiceException
-
startSynch
public SyncResponse startSynch(SynchConfig config, List<LineObject> objects) throws BasicDataServiceException
- Specified by:
startSynch
in interfaceSourceAdapter
- Overrides:
startSynch
in classAbstractSrcAdapter
- Throws:
BasicDataServiceException
-
logProcessLineObject
protected LastRecordMetric logProcessLineObject(LineObject rowObj, SynchConfig config, ValidationScript validationScript, List<TransformScript> transformScripts, SimpleDateFormat sdf)
-
-