This commit is contained in:
parent
c7eb1f7dbe
commit
566c1a9e4e
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue