This commit is contained in:
Miriam Baglioni 2020-07-08 10:38:52 +02:00
parent 7ddd8590d0
commit b1dad7959c
2 changed files with 12 additions and 12 deletions

View File

@ -63,7 +63,7 @@ public class SendToCatalogue implements Serializable {
String line; String line;
while ((line = reader.readLine()) != null) { while ((line = reader.readLine()) != null) {
if (HttpStatus.SC_CREATED != gCatAPIClient.publish(line)) { if (HttpStatus.SC_CREATED != gCatAPIClient.publish(line)) {
log.error("entry non created for item " + line); log.error("entry not created for item " + line);
} }
} }
reader.close(); reader.close();

View File

@ -207,18 +207,18 @@
<error to="Kill"/> <error to="Kill"/>
</action> </action>
<join name="join_dump" to="End"/> <join name="join_dump" to="populate_catalogue"/>
<!-- <action name="populate_catalogue">--> <action name="populate_catalogue">
<!-- <java>--> <java>
<!-- <main-class>eu.dnetlib.dhp.oa.graph.dump.gcat.SendToCatalogue</main-class>--> <main-class>eu.dnetlib.dhp.oa.graph.dump.gcat.SendToCatalogue</main-class>
<!-- <arg>&#45;&#45;hdfsPath</arg><arg>${workingDir}/blacklist</arg>--> <arg>--hdfsPath</arg><arg>${workingDir}/blacklist</arg>
<!-- <arg>&#45;&#45;hdfsNameNode</arg><arg>${nameNode}</arg>--> <arg>--hdfsNameNode</arg><arg>${nameNode}</arg>
<!-- <arg>&#45;&#45;accessToken</arg><arg>${accessToken}</arg>--> <arg>--accessToken</arg><arg>${accessToken}</arg>
<!-- </java>--> </java>
<!-- <ok to="End"/>--> <ok to="End"/>
<!-- <error to="Kill"/>--> <error to="Kill"/>
<!-- </action>--> </action>
<end name="End"/> <end name="End"/>