Class CSVAdapter
- java.lang.Object
-
- org.openiam.sync.service.impl.srcadapter.adapters.AbstractSrcAdapter
-
- org.openiam.sync.service.impl.srcadapter.adapters.CSVAdapter
-
- All Implemented Interfaces:
SourceAdapter
@Component public class CSVAdapter extends AbstractSrcAdapter
Reads a CSV file for use during the synchronization process- Author:
- suneet
-
-
Field Summary
Fields Modifier and Type Field Description protected SynchronizationQueue
synchronizationQueue
-
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 CSVAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LastRecordMetric
getRowTime(LineObject rowObj, SynchConfig config)
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, startSynch, startSynch, sum
-
-
-
-
Field Detail
-
synchronizationQueue
@Autowired protected SynchronizationQueue synchronizationQueue
-
-
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
-
-