This page documents the use of reporting tools.
These tools are used to generate and remove reports. The report generator can be wired to an automation (continuous integration server or cron job) to run daily and generate reports. The remover tool can be used to remove reports, if desired.
Following are some details about these tools:
Mojo: ReportGenerateDailyMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdo/otf/mapping/mojo)
Project: admin/loader
Configuration Parameters
refset.id - the map project refset id to generate reports for, specified as a -D parameter.
Mojo: ReportRemoverMojo.java (in admin/mojo/src/main/resources/java/org/ihtsdo/otf/mapping/mojo)
Project: admin/remove
Configuration Parameters
refset.id - the map project refset id to remove reports for, specified as a -D parameter.
Sample command line call to generate for refset id 447563008 for a date:
% cd mapping-parent/admin/loader % set date = `/bin/date +%Y%m%d` % mvn -Drun.config=~/config/config.properties -PGenerateDailyReports -Drefset.id=447563008 -Dstart.date=$date install |
Sample command line call to clear reports for refset id 447563008:
% cd mapping-parent/admin/remover % mvn -Drun.config=~/config/config.properties -PReports Drefset.id=447563008 install |
Sample Eclipse run configuration to generate for refset id 447563008 for a date:
Sample Eclipse run configuration to clear reports for refset id 447563008: