Skip to content
Snippets Groups Projects
Commit 0f7ea1ca authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed README.1st

- added License information
parent 1f3bc348
No related branches found
No related tags found
No related merge requests found
The plugin is based on the NFSStoragePlugin and writes files in a format like
"/yyyy/mm/dd/IEPID". Please note that the pluign can only be used as plugin to
handle IEs on permanent storage, otherwise it would fail with a NULL-Pointer
exception, because a SIP (as an example) does not have an IEPID yet.
The plugin is based on the NFSStoragePlugin and writes directories in a format
like "/yyyy/mm/dd/IEPID/". The reason for this plugin was to group all files of
an AIP together in one directory. In contrast to the NFSStoragePlugin, the
date-path is not based on individual file creation date, but on SIP creation
date.
Please note that the plugin can only be used to handle IEs on permanent
storage, otherwise it would fail with a NULL-Pointer exception, because a SIP
(as an example) does not have an IEPID yet.
To compile the plugin, ensure that the SDK and NFSStoragePlugin.jar is located
in "/exlibris" as described in the Makefile.
......@@ -14,8 +19,10 @@ all: compile and build SLUBStoragePlugin.jar
To install, do the following:
* copy SLUBStoragePlugin.jar to /operational_shared/plugins/custom/ on target system
* copy SLUBStoragePlugin.jar to /operational_shared/plugins/custom/deploy on target system
* copy SLUBStoragePlugin.jar to /operational_shared/plugins/custom/ on target
system
* copy SLUBStoragePlugin.jar to /operational_shared/plugins/custom/deploy on
target system
* use dps user to restart Rosetta: "su dps; dps_restart"
If you have any questions, feel free to ask andreas.romeyke@slub-dresden.de
/*
2014 by Andreas Romeyke (SLUB Dresden)
The code contributed by SLUB is licensed under apache 2.0 and based partially
on NFS Storage Plugin,
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.slub.rosetta.dps.repository.plugin.storage.nfs;
import java.io.File;
......@@ -8,7 +28,6 @@ import java.util.Date;
import java.text.SimpleDateFormat;
import java.util.List;
import java.util.Iterator;
import com.exlibris.core.infra.common.exceptions.logging.ExLogger;
import com.exlibris.core.infra.common.util.IOUtil;
import com.exlibris.core.sdk.storage.containers.StoredEntityMetaData;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment