Repository: oodt Updated Branches: refs/heads/master 214fe8bfb -> 2ff8689bb
Update Ingestion resource: OODT-525. Project: http://git-wip-us.apache.org/repos/asf/oodt/repo Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/2ff8689b Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/2ff8689b Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/2ff8689b Branch: refs/heads/master Commit: 2ff8689bbc5e76b77b3b33748fb3b706994dd5a2 Parents: 214fe8b Author: Chris Mattmann <[email protected]> Authored: Mon Jul 17 14:13:11 2017 -0700 Committer: Chris Mattmann <[email protected]> Committed: Mon Jul 17 14:13:11 2017 -0700 ---------------------------------------------------------------------- .../org/apache/oodt/cas/curation/service/IngestionResource.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oodt/blob/2ff8689b/curator/services/src/main/java/org/apache/oodt/cas/curation/service/IngestionResource.java ---------------------------------------------------------------------- diff --git a/curator/services/src/main/java/org/apache/oodt/cas/curation/service/IngestionResource.java b/curator/services/src/main/java/org/apache/oodt/cas/curation/service/IngestionResource.java index 64990db..154ddb3 100644 --- a/curator/services/src/main/java/org/apache/oodt/cas/curation/service/IngestionResource.java +++ b/curator/services/src/main/java/org/apache/oodt/cas/curation/service/IngestionResource.java @@ -89,10 +89,13 @@ public class IngestionResource extends CurationService { private static final String RESP_SUCCESS = "success"; private IngestionTaskList taskList; + + private String taskListSaveLocPath; public IngestionResource() { super(); this.taskList = new IngestionTaskList(); + this.taskListSaveLocPath = "/tmp/tasklist.xml"; IngestionTask task = new IngestionTask(); task.setCreateDate(new Date()); @@ -357,6 +360,7 @@ public class IngestionResource extends CurationService { return taskList; } + //TODO: write method to load ingest task list from XML file public void exportTaskListAsXMLToFile(String fileName) { try { Document xmlDocument = generateXMLDocument();
