From 983a12ed1583b5d40212dcfbe567c4ccf8eaf15f Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Fri, 25 Sep 2020 16:41:51 +0200 Subject: [PATCH] temporary modification to allow the upload of files in the sandbox without the neew to recreate the mapping from scratch --- .../oa/graph/dump_whole/oozie_app/workflow.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml index f230225101..125fec86ed 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml +++ b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml @@ -30,13 +30,17 @@ the metadata associated to the deposition - newDeposition - true if it is a brand new depositon. false for new version of an old deposition + depositionType + the type of deposition we want to perform. "new" for brand new deposition, "version" for a new version of a published deposition (in this case the concept record id must be provided), "upload" to upload content to an open deposition for which we already have the deposition id (in this case the deposition id should be provided) conceptRecordId for new version, the id of the record for the old deposition + + depositionId + the depositionId of a deposition open that has to be added content + organizationCommunityMap the organization community map @@ -110,7 +114,7 @@ - + Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}] @@ -132,7 +136,7 @@ --nameNode${nameNode} --isLookUpUrl${isLookUpUrl} - + @@ -576,7 +580,8 @@ --metadata${metadata} --communityMapPath${workingDir}/communityMap --conceptRecordId${conceptRecordId} - --newDeposition${newDeposition} + --depositionType${depositionType} + --depositionId${depositionId}