https://github.com/kit-data-manager/bagit-provider-plugin
A collection download provider for providing BagIt archives compliant to the RDA RDRIWG recommendations.
https://github.com/kit-data-manager/bagit-provider-plugin
bagit kitdm20-plugin research-data-alliance
Last synced: about 1 year ago
JSON representation
A collection download provider for providing BagIt archives compliant to the RDA RDRIWG recommendations.
- Host: GitHub
- URL: https://github.com/kit-data-manager/bagit-provider-plugin
- Owner: kit-data-manager
- License: apache-2.0
- Created: 2019-06-07T08:54:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T12:20:23.000Z (over 5 years ago)
- Last Synced: 2025-02-06T02:51:20.570Z (over 1 year ago)
- Topics: bagit, kitdm20-plugin, research-data-alliance
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bagit-provider-plugin
This project contains a KIT DM 2.0 collection download provider plugin offering the download of BagIt archives compliant to the RDA RDRIWG recommendations (http://dx.doi.org/10.15497/RDA00025).
## How to build and install
In order to build this plugin you'll need:
* Java SE Development Kit 8 or higher
After obtaining the sources change to the folder where the sources are located perform the following steps:
```
user@localhost:/home/user/bagit-provider-plugin$ ./gradlew build
> Configure project :
<-------------> 0% EXECUTING [0s]
[...]
user@localhost:/home/user/bagit-provider-plugin$
```
After building the plugin, you'll find a file named 'bagit-provider-plugin.jar' at 'build/libs/'. This file has to be copied to
your KIT DM 2.0 location into the 'lib' folder containing external libraries.
Now you can start your KIT DM 2.0 instance following the procedure decribed under [Enhanced Startup](https://git.scc.kit.edu/kitdatamanager/2.0/base-repo#enhanced-startup).
The plugin will be automatically detected and will be available after startup.
## How to use
Downloading content in a BagIt package can be done by accessing a virtual folder of a DataResource and providing 'application/vnd.datamanager.bagit+zip' in the 'Accept'
header of the HTTP request. Please also refer to the KIT DM 2.0 documentation available at http://localhost:8090/static/docs/documentation.html in section 'Downloading Data from a Data Resource'.
You may have to change the port according to your local setup.
## License
The KIT Data Manager is licensed under the Apache License, Version 2.0.