The GenericSipLoader is a lightweight tool for uploading submissions to different Repository-APIs. It's thought to facilitate upload of zip-based Containers or whole directories as single submission.
The tool makes extensive use of the Jersey and Jackson Libraries. It also uses java interfaces as part of meta data schema modelling in order to simplify code enhancements by using conventions.
The GenericSipLoader therefore provides
- a Zip-Extraction Class
- a File-Scanner for identifying metadata files and content files via string-pattern
- a Jersey REST-Client for Fedora Commons 3.8
- a Jersey REST-Client for the Toolbox Open Science (to.science)
GenericSipLoader is licensed under Apache License 2.0
- OpenJDK 1.8 or above
- Maven 3.x or so for integration and deployment
No installation required. Can be used as library within other Software Modules.
- Either download latest release of genericSipLoader.jar
- Or clone source code via git clone and run
mvn clean test compile assembly:single
By simply calling
java -jar genericSipLoader.jar
you will get the graphic user interface. Default settings will be loaded an can be adopted to your setting by integrated editing option.
By calling:
java -jar genericSipLoader.jar cli [target] [start path] [user] [password]
you will get the Console version of the GenericSipLoader, i.E. for usage with crontab.
-
cli
= selects the console version -
target
= defines the loading target, either danrw or ktbl -
start path
= defines the parent directory where the tool finds the *.zip file to upload -
user, password
= your credentials