-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/MET-5305 Accept .tar and .tar.gz uploads harvesting (#130)
* MET-5305 Updating code to accept other file harvesting * MET-5305 Fixed unit tests * MET-5305 Changed Step enum and fixed unit tests * MET-5305 Fixed issue of harvesting other files * MET-5305 Fixed http harvesting to accept .tar and .tar.gz files * MET-5303 Code refactoring * MET-5305 Created unit tests and fixed code review comments * MET-5305 Changed unit tests
- Loading branch information
Showing
31 changed files
with
354 additions
and
230 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
14 changes: 14 additions & 0 deletions
14
...main/java/eu/europeana/metis/sandbox/common/exception/InvalidCompressedFileException.java
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package eu.europeana.metis.sandbox.common.exception; | ||
|
||
/** | ||
* Exception class for when an invalid type of compressed file is detected | ||
*/ | ||
public class InvalidCompressedFileException extends RuntimeException { | ||
|
||
private static final long serialVersionUID = -2555540887797325483L; | ||
|
||
public InvalidCompressedFileException(Throwable cause) { | ||
super("File provided is not valid compressed file. ", cause); | ||
} | ||
|
||
} |
11 changes: 0 additions & 11 deletions
11
src/main/java/eu/europeana/metis/sandbox/common/exception/InvalidZipFileException.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.