Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
StoragePlugin4Rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
StoragePlugin4Rosetta
Commits
0f7ea1ca
Commit
0f7ea1ca
authored
10 years ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- fixed README.1st
- added License information
parent
1f3bc348
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.1st
+13
-6
13 additions, 6 deletions
README.1st
java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
+20
-1
20 additions, 1 deletion
.../dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
with
33 additions
and
7 deletions
README.1st
+
13
−
6
View file @
0f7ea1ca
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
This diff is collapsed.
Click to expand it.
java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
+
20
−
1
View file @
0f7ea1ca
/*
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment