...
Just load up the code with this update
The importer is built in to the integrator..so as it runs, it will scan a chosen directory, and as files are dropped in there that follow the proper naming scheme, it will be loadewd and processed.
It's currently hard coded to run every minute. When a process is running, a lock file is created so that if the next job starts up, it knows not to run concurrently. (importer.lock in TOMCAT tmp directory)
All logging will go to catalina.out
Currently hard coded properties in integrator - it will use /usr/share/tomcat7/IntegratorFiles to scan for files, and archive themĀ /usr/share/tomcat7/IntegratorFiles/archive. It's working directory will be /tmp
you need to have the 'unzip' program installed in the path for tomcat user.
Importing
Make a copy of importer.cnf
...