CrossrefDump - put token among the parameters

This commit is contained in:
Miriam Baglioni 2021-08-09 11:34:35 +02:00
parent b6dcf89d22
commit b7079804cb
1 changed files with 6 additions and 1 deletions

View File

@ -22,6 +22,10 @@
<name>crossrefDumpPath</name> <name>crossrefDumpPath</name>
<description>the Crossref dump path</description> <description>the Crossref dump path</description>
</property> </property>
<property>
<name>crossrefdumptoken</name>
<description>the token for the API dump path</description>
</property>
</parameters> </parameters>
@ -37,7 +41,7 @@
</configuration> </configuration>
</global> </global>
<start to="ImportCrossRef"/> <start to="removeFiles"/>
<kill name="Kill"> <kill name="Kill">
@ -69,6 +73,7 @@
<argument>${url}</argument> <argument>${url}</argument>
<argument>${crossrefDumpPath}</argument> <argument>${crossrefDumpPath}</argument>
<argument>${crossrefdumpfilename}</argument> <argument>${crossrefdumpfilename}</argument>
<argument>${crossrefdumptoken}</argument>
<env-var>HADOOP_USER_NAME=${wf:user()}</env-var> <env-var>HADOOP_USER_NAME=${wf:user()}</env-var>
<file>download.sh</file> <file>download.sh</file>
<capture-output/> <capture-output/>