Test driver for org.dlese.dpc.services.mmd.Query.
Command line parameters are:
- dbUrl: The URL of the MySQL database. Example:
jdbc:mysql://someHost:3306/DLESE_Systems?user=someUser&password=someSecret
- collKey: The collection key. Example:
dcc
.
- idfile: The name of the file containing IDs to be tested.
The IDs are one per line. Example idfile:
DLESE-000-000-003-001
DLESE-000-000-003-289
DLESE-000-000-003-290
Example of the full command line:
java org.dlese.dpc.services.idmapper.TestQuery 'jdbc:mysql://someHost:3306/DLESE_Systems?user=someUser&password=someSecret' dcc testids.txt");