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
b96cb847
Commit
b96cb847
authored
7 years ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- added a try-catch around fixity.getPluginName() call
parent
4cd54b56
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
PLUGIN-INF/metadata_SLUBStoragepPlugin.xml
+1
-1
1 addition, 1 deletion
PLUGIN-INF/metadata_SLUBStoragepPlugin.xml
java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
+6
-1
6 additions, 1 deletion
.../dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
with
7 additions
and
2 deletions
PLUGIN-INF/metadata_SLUBStoragepPlugin.xml
+
1
−
1
View file @
b96cb847
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</fr:x_form>
</fr:x_form>
</pl:initParameters>
</pl:initParameters>
<pl:description>
SLUB Storage Plugin
</pl:description>
<pl:description>
SLUB Storage Plugin
</pl:description>
<pl:version>
2.80
8
</pl:version>
<pl:version>
2.80
9
</pl:version>
<pl:materialType>
DIGITAL
</pl:materialType>
<pl:materialType>
DIGITAL
</pl:materialType>
<pl:module>
Repository
</pl:module>
<pl:module>
Repository
</pl:module>
<pl:generalType>
TASK
</pl:generalType>
<pl:generalType>
TASK
</pl:generalType>
...
...
This diff is collapsed.
Click to expand it.
java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
+
6
−
1
View file @
b96cb847
...
@@ -158,7 +158,12 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
...
@@ -158,7 +158,12 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
*/
*/
private
boolean
checkFixityByPlugin
(
Fixity
fixity
,
String
storedEntityIdentifier
,
boolean
isRelativePath
,
boolean
result
)
throws
Exception
{
private
boolean
checkFixityByPlugin
(
Fixity
fixity
,
String
storedEntityIdentifier
,
boolean
isRelativePath
,
boolean
result
)
throws
Exception
{
log
.
info
(
"SLUBStoragePlugin.checkFixity() another fixity"
);
log
.
info
(
"SLUBStoragePlugin.checkFixity() another fixity"
);
log
.
info
(
"SLUBStoragePlugin.checkFixity() pluginname="
+
fixity
.
getPluginName
());
try
{
log
.
info
(
"SLUBStoragePlugin.checkFixity() pluginname="
+
fixity
.
getPluginName
());
}
catch
(
Exception
e
)
{
log
.
warn
(
"SLUBStoragePlugin failed to get pluginname "
,
e
.
getMessage
());
}
String
oldValue
=
""
;
String
oldValue
=
""
;
try
{
try
{
oldValue
=
fixity
.
getValue
();
oldValue
=
fixity
.
getValue
();
...
...
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