-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make DSpace deposit able to recover from errors. Add ability for depo…
…sit sessions to access the Deposit object
- Loading branch information
1 parent
44cb16d
commit 12075a0
Showing
11 changed files
with
68 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,9 +42,9 @@ | |
import org.apache.sshd.sftp.common.SftpException; | ||
import org.eclipse.pass.deposit.DepositServiceRuntimeException; | ||
import org.eclipse.pass.deposit.assembler.PackageStream; | ||
import org.eclipse.pass.deposit.service.DepositUtil.DepositWorkerContext; | ||
import org.eclipse.pass.deposit.transport.TransportResponse; | ||
import org.eclipse.pass.deposit.transport.TransportSession; | ||
import org.eclipse.pass.support.client.model.Deposit; | ||
|
||
/** | ||
* @author Russ Poetker ([email protected]) | ||
|
@@ -58,7 +58,7 @@ class SftpTransportSession implements TransportSession { | |
} | ||
|
||
@Override | ||
public TransportResponse send(PackageStream packageStream, Map<String, String> metadata, DepositWorkerContext dc) { | ||
public TransportResponse send(PackageStream packageStream, Map<String, String> metadata, Deposit deposit) { | ||
PackageStream.Metadata streamMetadata = packageStream.metadata(); | ||
String fileName = streamMetadata.name(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters