Skip to content

A tool to load submission into repositories, using their APIs

Notifications You must be signed in to change notification settings

hbz/GenericSipLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge build Maven Package

About

About the GenericSiPLoader

The GenericSipLoader is a lightweight tool for uploading submission to different Repository-APIs. It's thought to facilitate upload of zip-based Containers or whole directories as single submission.

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 to.science (not implemented yet)
  • a Jackson based EDM model for edit EDM files

License

GenericSipLoader is licensed under Apache License 2.0

Prerequisites

  • OpenJDK 1.8 or above
  • Maven 3.x or so for integration and deployment

Installation

No installation required. Can be used as library within other Software Modules.

Usage

  • Either download latest release of genericSipLoader.jar
  • Or clone source code via git clone and run mvn clean test compile assembly:single

Edit properties-Files with your settings

Run:

java -jar genericSipLoader.jar [target] [start path] [user] [password]