Change behaviour of checkTransferDirectoryForObjects_v0.0
|Google Code Legacy ID:||Pull Request:|
This microservice is run when a user chooses 'create single sip from transfer' in the transfer tab. It checks to make sure there is a transfer at %sharedPath%watchedDirectories/SIPCreation/completedTransfers/ , with an objects directory.
When the objects directory is empty, this microservice ends, with the 'completed successfully' message. No further processing happens, so the user is left unsure of what has happened.
I suggest changing the microservice so it fails if there are no digital objects in the objects directory with a message saying 'Transfer is empty' or something similar.