This commit is contained in:
Miriam Baglioni 2023-11-21 16:57:15 +01:00
parent c7eb1f7dbe
commit 566c1a9e4e
3 changed files with 14 additions and 3 deletions

View File

@ -101,8 +101,8 @@ public class SendToZenodoHDFS implements Serializable {
try {
response_code = zenodoApiClient
.uploadIS3(inputStream, name, fileSystem.getFileStatus(p).getLen());
}catch (Exception e){
.uploadIS3(inputStream, name, fileSystem.getFileStatus(p).getLen());
} catch (Exception e) {
log.info(e.getMessage());
throw new RuntimeException("Error while uploading on Zenodo");
}

View File

@ -0,0 +1,11 @@
#PROPERTIES FOR DELTA PROJECTS
projectListPath=/tmp/miriam/projectsId
sourcePath=/tmp/prod_provision/graph/19_graph_blacklisted
outputPath=/tmp/miriam/prjSubs
##funder subset dump crId
conceptRecordId=6419021
accessToken=GxqutB1JnEmdvBafQI2cCjtUvoOs0novDuie3hxCEQUJcErHVMhkJjawIqhb
depositionType=version
connectionUrl=https://zenodo.org/api/deposit/depositions
metadata=""
depositionId=123456

View File

@ -89,7 +89,7 @@
</property>
</configuration>
</global>
<start to="send_zenodo"/>
<start to="dump_project"/>
<kill name="Kill">
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
</kill>