reconStats.js revision 759cbe36aeb56cbe1e788d90fbaa7f1a7e797f5d
// Jscript example for the "result" script that deals with the recon stats. See:
// First build the HTML body with the recon statistics
// Then use the external email service to email the report
// 3 objects are passed to the script:
//
// global: contains general information about reconciliation (mapping name,
// recon id, start date, end date)
//
// source: contains detailed information about source system processing
// (system name, start date, end date, duration, situations/entries)
//
// target: contains detailed information about target system processing
// (system name, start date, end date, duration, situations/entries)
//
// Author: Gael.Allioux@forgerock.com
// Date: 11/30/2011
/*global global,source,target */
/*jslint vars:true*/
var globalSummary = "<h2>Global Statistics</h2><p>\n"+
var sourceSummary = "<h2>Source System Statistics</h2><p>\n"+
"<h4> SITUATIONS </h4>\n"+
" </ul><br>\n"+
" <br><br>\n";
var targetSummary = "<h2>Target System Statistics</h2><p>\n"+
"<h4> SITUATIONS </h4>\n"+
" </ul><br>\n"+
" <br><br>\n";
var sourceIds = "<hr><h2>Detailed Source Statistics</h2><p>\n",
targetIds = "<hr><h2>Detailed Target Statistics</h2><p>\n",
params = {},i;
sourceIds+= "<b><u>Confirmed ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Missing ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Found ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Absent ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Unqualified ids:</b></u><br>\n";
}
}
sourceIds+= "</p><p><b><u>Unassigned ids:</b></u><br>\n";
}
}
targetIds+= "<b><u>Confirmed ids:</b></u><br>\n";
}
}
targetIds+= "</p><p><b><u>Unqualified ids:</b></u><br>\n";
}
}