Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
d5f92b3a
Commit
d5f92b3a
authored
10 years ago
by
pkupczyk
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-1663 : Ingestion service - moving log files fails
SVN: 33751
parent
e1ab70c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/standard/IngestionService.java
+1
-3
1 addition, 3 deletions
...dss/generic/server/plugins/standard/IngestionService.java
with
1 addition
and
3 deletions
datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/plugins/standard/IngestionService.java
+
1
−
3
View file @
d5f92b3a
...
...
@@ -91,8 +91,6 @@ public abstract class IngestionService<T extends DataSetInformation> extends Agg
private
final
IMailClient
mailClient
;
private
final
DssUniqueFilenameGenerator
filenameGenerator
;
/**
* Constructor for the AbstractDbModifyingAggegation service. This constructor is used by the ReportingPluginTaskFactory.
*
...
...
@@ -133,7 +131,6 @@ public abstract class IngestionService<T extends DataSetInformation> extends Agg
this
.
dssProperties
=
dssProperties
;
this
.
openBisService
=
openBisService
;
this
.
mailClient
=
mailClient
;
filenameGenerator
=
new
DssUniqueFilenameGenerator
(
"mock"
,
"file"
,
"serialized"
);
}
@Override
...
...
@@ -275,6 +272,7 @@ public abstract class IngestionService<T extends DataSetInformation> extends Agg
protected
File
createMockIncomingFile
(
Map
<
String
,
Object
>
parameters
)
throws
IOException
{
HashMap
<
String
,
Object
>
parameterHashMap
=
new
HashMap
<
String
,
Object
>(
parameters
);
DssUniqueFilenameGenerator
filenameGenerator
=
new
DssUniqueFilenameGenerator
(
Thread
.
currentThread
().
getName
(),
"file"
,
"serialized"
);
File
mockIncomingDataSetFile
=
new
File
(
getMockIncomingDir
(),
filenameGenerator
.
generateFilename
());
mockIncomingDataSetFile
.
createNewFile
();
...
...
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