...
This component consists of the following parts, in order of invocation:
trigger-on-new-batch script - Configured by maintenance and run from a cron job. This script looks for new (not previously processed) batches received from Ninestars. Then calls CreateBatch java module with batch ID and roundtrip number from received batch dir structure, as well as connection-information to DOMS and PID generator.
CreateBatch Java module - Bridges the script with DomsEventClient, by receiving command line arguments, and calling methods to create a batch object in DOMS with a Premis event attached.
DomsEventClient Java module - Creates a batch object in DOMS with a Premis event built using the PremisManipulator.
PremisManipulator Java module - Manipulates a Premis event, creates a new one if one is not given.