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

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge build

About

About the GenericSiPLoader

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)

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

Use GUI

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.

Use Console Client

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

About

A tool to load submission into repositories, using their APIs

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •