-
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.
modified: .travis.yml modified: cedar-impex-server-application/src/main/java/org/metadatacenter/impex/resources/ImpexServerResource.java new file: cedar-impex-server-application/src/main/java/org/metadatacenter/impex/util/Constants.java new file: cedar-impex-server-core/src/main/java/org/metadatacenter/impex/imp/cadsr/CadsrFileImportStatus.java deleted: cedar-impex-server-core/src/main/java/org/metadatacenter/impex/imp/cadsr/CadsrFormImportStatus.java modified: cedar-impex-server-core/src/main/java/org/metadatacenter/impex/imp/cadsr/CadsrImportStatus.java modified: cedar-impex-server-core/src/main/java/org/metadatacenter/impex/imp/cadsr/CadsrImportStatusManager.java new file: cedar-impex-server-core/src/main/java/org/metadatacenter/impex/util/ImpexUtil.java
- Loading branch information
Showing
8 changed files
with
372 additions
and
116 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
10 changes: 10 additions & 0 deletions
10
cedar-impex-server-application/src/main/java/org/metadatacenter/impex/util/Constants.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,10 @@ | ||
package org.metadatacenter.impex.util; | ||
|
||
import org.metadatacenter.model.BiboStatus; | ||
|
||
public final class Constants { | ||
|
||
public static final String UPLOAD_FOLDER_NAME = "impex-upload"; | ||
|
||
|
||
} |
51 changes: 51 additions & 0 deletions
51
...x-server-core/src/main/java/org/metadatacenter/impex/imp/cadsr/CadsrFileImportStatus.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,51 @@ | ||
package org.metadatacenter.impex.imp.cadsr; | ||
|
||
import java.time.LocalTime; | ||
import java.util.Date; | ||
|
||
public class CadsrFileImportStatus { | ||
|
||
private String fileName; | ||
private CadsrImportStatusManager.ImportStatus importStatus; | ||
private LocalTime statusTime; | ||
private String report; | ||
|
||
public CadsrFileImportStatus(String fileName, CadsrImportStatusManager.ImportStatus importStatus, LocalTime statusTime, String report) { | ||
this.fileName = fileName; | ||
this.importStatus = importStatus; | ||
this.statusTime = statusTime; | ||
this.report = report; | ||
} | ||
|
||
public String getFileName() { | ||
return fileName; | ||
} | ||
|
||
public void setFileName(String fileName) { | ||
this.fileName = fileName; | ||
} | ||
|
||
public CadsrImportStatusManager.ImportStatus getImportStatus() { | ||
return importStatus; | ||
} | ||
|
||
public void setImportStatus(CadsrImportStatusManager.ImportStatus importStatus) { | ||
this.importStatus = importStatus; | ||
} | ||
|
||
public LocalTime getStatusTime() { | ||
return statusTime; | ||
} | ||
|
||
public void setStatusTime(LocalTime statusTime) { | ||
this.statusTime = statusTime; | ||
} | ||
|
||
public String getReport() { | ||
return report; | ||
} | ||
|
||
public void setReport(String report) { | ||
this.report = report; | ||
} | ||
} |
29 changes: 0 additions & 29 deletions
29
...x-server-core/src/main/java/org/metadatacenter/impex/imp/cadsr/CadsrFormImportStatus.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.