The migration ETL is written in Spring Batch in tis-revalidation-migration
service.
It consists of an ItemRreader to read data from the legacy Reval MySQL database, an ItemProcessor to map the trainee data into the format we need in the new Reval, and an ItemWriter to insert the data into new Reval MongoDB.
How to run:
Clear/drop the
revalidation.recommendation
collection in the Reval MongoDBThe migration will start automatically once the service runs. To run the task, change the number of the desired tasks of the
tis-revalidation-migration
service. Or restart the service if it is running already.3. Data will be populated to the
revalidation.recommendation
collection in the Reval MongoDB after migration.
Add Comment