SUNScholar/Embargo Systems/3.X
Please note: This feature was released with DSpace version 3.2 and therefore not fully tried and tested.
You apply this feature at your own risk.
Contents
Introduction
The user has an opportunity to choose between, simple or advanced embargo settings.
To switch between the two, you need to set following variable in the dspace.cfg file.
xmlui.submission.restrictstep.enableAdvancedForm=false
Pre-3.0 Embargo Migration Routine
A migration routine has been developed to migrate the current Embargo to the new one.
To execute it, run the following command:
/home/dspace/bin dspace migrate-embargo -a
Simple Embargo Settings
https://wiki.duraspace.org/display/DSDOC3x/Embargo#Embargo-SimpleEmbargoSettings
Advanced Embargo Settings
https://wiki.duraspace.org/display/DSDOC3x/Embargo#Embargo-AdvancedEmbargoSettings
Daily task
The "embargo-lifter" task must be run daily. See below for details.
dspace@dspace:~$ sudo /home/dspace/bin/dspace embargo-lifter -h
INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=e1d37331-cd5c-48f4-a4b0-b78a50102807,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/home/dspace/config/dspace.cfg
INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
INFO [main] (ConfigurationManager.java:1224) - Loading: /home/dspace/config/log4j.properties
usage: org.dspace.embargo.EmbargoManager
-a,--adjust Function: Adjust bitstreams policies
-c,--check Function: ONLY check the state of embargoed Items, do
NOT lift any embargoes.
-h,--help help
-i,--identifier Process ONLY this Handle identifier(s), which must be
an Item. Can be repeated.
-l,--lift Function: ONLY lift embargoes, do NOT check the state
of any embargoed Items.
-n,--dryrun Do not change anything in the data model, print
message instead.
-q,--quiet Do not print anything except for errors.
-v,--verbose Print a line describing action taken for each
embargoed Item found.
References
- https://wiki.duraspace.org/display/DSDOC3x/Embargo
- https://jira.duraspace.org/browse/DS-1709
- https://jira.duraspace.org/browse/DS-1764
Back to Embargo Systems