This commit is contained in:
parent
c7eb1f7dbe
commit
566c1a9e4e
|
@ -101,8 +101,8 @@ public class SendToZenodoHDFS implements Serializable {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
response_code = zenodoApiClient
|
response_code = zenodoApiClient
|
||||||
.uploadIS3(inputStream, name, fileSystem.getFileStatus(p).getLen());
|
.uploadIS3(inputStream, name, fileSystem.getFileStatus(p).getLen());
|
||||||
}catch (Exception e){
|
} catch (Exception e) {
|
||||||
log.info(e.getMessage());
|
log.info(e.getMessage());
|
||||||
throw new RuntimeException("Error while uploading on Zenodo");
|
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>
|
</property>
|
||||||
</configuration>
|
</configuration>
|
||||||
</global>
|
</global>
|
||||||
<start to="send_zenodo"/>
|
<start to="dump_project"/>
|
||||||
<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>
|
||||||
</kill>
|
</kill>
|
||||||
|
|
Loading…
Reference in New Issue