Overview
Address cleaning is one of the core functionality of reltio platform which helps in Location match and merge and also helps in identifying the verified data.
This Recovery Procedure has to be executed only when address cleanse service is restored and working normally.
Recovery Procedure
The recovery procedure consists of four sequential steps, run in order for the same set of affected entities:
- Identify impacted entities
- Run the Data Cleanse Task
- Run the Reindex Data Task
- Run the Rebuild Match Table Task
- Run the Revalidate Entities Task
Each step must complete successfully before moving to the next.
API details
Get the list of impacted entity URI’s using the entity scan api Search Entity with Cursor(or) export api Export entities
Entity Scan api
{ApplicationURL}/api/{tenant}/entities/_scan?filter=range(updatedTime,{StartTime},{endTime})¬ equals(sourceSystems,'ReltioCleanser')&select=uri
(or) Export Api/Export (if the number of affected entities are too many) Export entities
POST {ExportServiceURL}/export/{{tenant}}/entities?filter=range(updatedTime,{StartTime},{endTime})¬ equals(sourceSystems,'ReltioCleanser')&select=uri&partSize=3&fileFormat="json"
Use this list and pass it to each of the below tasks
Data Cleanse Task Data Cleanse Task (Asynchronous)
Run the data cleanse Task by passing the list of entity uris as shown below
POST {ApplicationURL}/api/{tenantId}/cleanse?forceCleansing=true&distributed=true&taskPartsCount=4 Body : ["entities/2Dt0KKX", "entities/0jA3Q5A"]
Reindex Data Task
Post completion of Data cleanse data task, kindly run the Reindex data Task by passing the list of entity uris as shown below
POST {ApplicationURL}/api/{tenantId}/reindex?forceIgnoreInStreaming=true&distributed=true&taskPartsCount=4 Body : ["entities/2Dt0KKX", "entities/0jA3Q5A"]
Rebuild Match table Task
Post completion of Reindex task, kindly run the Rebuild match tabe Task by passing the list of entity uris as shown below
POST {ApplicationURL}/api/{tenantId}/rebuildmatchtable?distributed=true&taskPartsCount=4 Body: ["entities/2Dt0KKX", "entities/0jA3Q5A"]
Revalidate entities task
Post completion of Rebuild match table task, kindly run the Revalidate entities Task by passing the list of entity uris as shown below
POST {{api_uri}}/{{tenant}}/revalidate?distributed=true&taskPartsCount=4 Body: ["entities/2Dt0KKX", "entities/0jA3Q5A"]
Comments
Please sign in to leave a comment.