temporary modification to allow the upload of files in the sandbox without the neew to recreate the mapping from scratch

This commit is contained in:
Miriam Baglioni 2020-09-25 16:41:51 +02:00
parent 8b36d19182
commit 983a12ed15
1 changed files with 10 additions and 5 deletions

View File

@ -30,13 +30,17 @@
<description> the metadata associated to the deposition</description> <description> the metadata associated to the deposition</description>
</property> </property>
<property> <property>
<name>newDeposition</name> <name>depositionType</name>
<description>true if it is a brand new depositon. false for new version of an old deposition</description> <description>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)</description>
</property> </property>
<property> <property>
<name>conceptRecordId</name> <name>conceptRecordId</name>
<description>for new version, the id of the record for the old deposition</description> <description>for new version, the id of the record for the old deposition</description>
</property> </property>
<property>
<name>depositionId</name>
<description>the depositionId of a deposition open that has to be added content</description>
</property>
<property> <property>
<name>organizationCommunityMap</name> <name>organizationCommunityMap</name>
<description>the organization community map</description> <description>the organization community map</description>
@ -110,7 +114,7 @@
</configuration> </configuration>
</global> </global>
<start to="send_zenodo"/> <start to="save_community_map"/>
<kill name="Kill"> <kill name="Kill">
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message> <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
@ -132,7 +136,7 @@
<arg>--nameNode</arg><arg>${nameNode}</arg> <arg>--nameNode</arg><arg>${nameNode}</arg>
<arg>--isLookUpUrl</arg><arg>${isLookUpUrl}</arg> <arg>--isLookUpUrl</arg><arg>${isLookUpUrl}</arg>
</java> </java>
<ok to="fork_dump"/> <ok to="send_zenodo"/>
<error to="Kill"/> <error to="Kill"/>
</action> </action>
@ -576,7 +580,8 @@
<arg>--metadata</arg><arg>${metadata}</arg> <arg>--metadata</arg><arg>${metadata}</arg>
<arg>--communityMapPath</arg><arg>${workingDir}/communityMap</arg> <arg>--communityMapPath</arg><arg>${workingDir}/communityMap</arg>
<arg>--conceptRecordId</arg><arg>${conceptRecordId}</arg> <arg>--conceptRecordId</arg><arg>${conceptRecordId}</arg>
<arg>--newDeposition</arg><arg>${newDeposition}</arg> <arg>--depositionType</arg><arg>${depositionType}</arg>
<arg>--depositionId</arg><arg>${depositionId}</arg>
</java> </java>
<ok to="End"/> <ok to="End"/>
<error to="Kill"/> <error to="Kill"/>