The following diagram outlines the context in which the previously identified services are utilized for the purpose of retrieving relevant updates from the PASI Core in order to ensure data within the PASI Client and the PASI Core are in sync.
The following scenarios outline the various paths through this business process. They are not intended to highlight every situation. They are intended to provide context to understand when the services should be used.
To double check that nothing has gone awry during the Get PASIUpdates process, the Is Data Available will also be able to identify if the data in the PASI Client and the PASI Core are not in-sync by comparing a hash value calculated by both the PASI Client and the PASI Core. If both the PASI Core and the PASI Client are in-sync, the calculated hash values should be the same.
If the calculated hash values are different, that means that (although the PASI Core has not identified any updates for the PASI Client) the data in the PASI Core and the PASI Client are not in-sync. In this situation, a data resolution process will be required to review the data in the PASI Client against the data in the PASI Core to determine which records need to be updated in order to return to an in-sync state.
It is anticipated that this process could be automated or may require administrator level intervention in order to determine how to resolve the data discrepancies, but also to determine what resulted in the data being out-of-sync.
This scenario begins when a PASI Client has determined that it wants to poll PASI to receive any unseen updates that might have occured.
This scenario ends with the PASI Client and the PASI Core being in-sync.
The scenario begins after step 4a of primary scenario #1 when the PASI Client has determined that Id and PASI Core Version match what the client has in their local store.
This scenario skips steps 4b through 4e in the primary scenario #1 and continues with step 4a on the next record.
The scenario begins after step 2 of primary scenario #1 when the PASI Core has determined that there are no updates that the PASI Client has not seen.
This scenario ends with confirmation that the PASI Client and the PASI Core being in-sync.
client_performs_hash_check_ida.vsdx
This scenario begins when a PASI Client has determined that it wants to ensure that it is in sync with PASI using a calculated hash and the Is Data Available sevice.
This scenario ends with the PASI Client and the PASI Core ensured that they are in-sync.
The scenario begins after step 2 of primary scenario #1 when the PASI Core has determined that there is a hash mismatch.
This scenario ends with confirmation that the PASI Client ensured that they are in-sync.
Note: A hash value is a number that has been calculated based on all the data synchronized. For more information about the hash value, refer to the Technical API documentation.