You can display a list of reconciliation processes that have
completed, and those that are in progress, by running a RESTful GET on
"http://localhost:8080/openidm/recon". The following
example displays all reconciliation runs.
$ curl
--header "X-OpenIDM-Username: openidm-admin"
--header "X-OpenIDM-Password: openidm-admin"
--request GET
"http://localhost:8080/openidm/recon"
The output of such a request is similar to the following, with one item for each reconciliation run.
{"reconciliations":[
{"_id":"d3040cc9-ec2e-41b8-86c4-72393087a626",
"mapping":"systemLdapAccounts_managedUser",
"state":"SUCCESS",
"stage":"COMPLETED_SUCCESS",
"stageDescription":"reconciliation completed.",
"progress":{
"source":{
"existing":{
"processed":1001,
"total":"1001"
}
},
"target":{
"existing":{
"processed":1001,
"total":"1001"
},
"created":0
},
"links":{
"existing":{
"processed":1001,
"total":"1001"
},
"created":0
}
},
"started":"2012-11-18T08:48:00.031Z",
"ended":"2012-11-18T08:48:00.160Z"},
Each reconciliation run has the following properties:
_id-
The ID of the reconciliation run.
mapping-
The name of the mapping, defined in the
conf/sync.jsonfile. state-
The high level state of the reconciliation run. Values can be as follows:
-
ACTIVEThe reconciliation run is in progress.
-
CANCELEDThe reconciliation run was successfully canceled.
-
FAILEDThe reconciliation run was terminated because of failure.
-
SUCCESSThe reconciliation run completed successfully.
-
stage-
The current stage of the reconciliation run's progress. Values can be as follows:
-
ACTIVE_INITIALIZEDThe initial stage, when a reconciliation run is first created.
-
ACTIVE_QUERY_ENTRIESQuerying the source, target and possibly link sets to reconcile.
-
ACTIVE_RECONCILING_SOURCEReconciling the set of IDs retrieved from the mapping source.
-
ACTIVE_RECONCILING_TARGETReconciling any remaining entries from the set of IDs retrieved from the mapping target, that were not matched or processed during the source phase.
-
ACTIVE_LINK_CLEANUPChecking whether any links are now unused and should be cleaned up.
-
ACTIVE_PROCESSING_RESULTSPost-processing of reconciliation results.
-
ACTIVE_CANCELINGAttempting to abort a reconciliation run in progress.
-
COMPLETED_SUCCESSSuccessfully completed processing the reconciliation run.
-
COMPLETED_CANCELEDCompleted processing because the reconciliation run was aborted.
-
COMPLETED_FAILEDCompleted processing because of a failure.
-
stageDescription-
A description of the stages described previously.
progress-
The progress object has the following structure (annotated here with comments):
"progress":{ "source":{ // Progress on the set of existing entries in the mapping source "existing":{ "processed":1001, "total":"1001" // Total number of entries in source set, if known, “?” otherwise } }, "target":{ // Progress on the set of existing entries in the mapping target "existing":{ "processed":1001, "total":"1001" // Total number of entries in target set, if known, “?” otherwise }, "created":0 // New entries that were created }, "links":{ // Progress on the set of existing links between source and target "existing":{ "processed":1001, "total":"1001" // Total number of existing links, if known, “?” otherwise }, "created":0 // Denotes new links that were created } },

