From 0bf2d0db525e51a54763b0faad9dded6435939db Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Mon, 28 Sep 2020 12:17:22 +0200 Subject: [PATCH] added to the workflow the download of the topic excel file and one property needed to get the input path of the topic file in the hdfs filesystem --- .../project/oozie_app/workflow.xml | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/project/oozie_app/workflow.xml b/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/project/oozie_app/workflow.xml index 1e3445675..c710c8b55 100644 --- a/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/project/oozie_app/workflow.xml +++ b/dhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/project/oozie_app/workflow.xml @@ -10,6 +10,10 @@ the url where to get the programme file + + topicFileURL + the url where to get the topic file + outputPath path where to store the action set @@ -33,11 +37,11 @@ - eu.dnetlib.dhp.actionmanager.project.csvutils.ReadCSV + eu.dnetlib.dhp.actionmanager.project.utils.ReadCSV --hdfsNameNode${nameNode} --fileURL${projectFileURL} --hdfsPath${workingDir}/projects - --classForNameeu.dnetlib.dhp.actionmanager.project.csvutils.CSVProject + --classForNameeu.dnetlib.dhp.actionmanager.project.utils.CSVProject @@ -45,11 +49,23 @@ - eu.dnetlib.dhp.actionmanager.project.csvutils.ReadCSV + eu.dnetlib.dhp.actionmanager.project.utils.ReadCSV --hdfsNameNode${nameNode} --fileURL${programmeFileURL} --hdfsPath${workingDir}/programme - --classForNameeu.dnetlib.dhp.actionmanager.project.csvutils.CSVProgramme + --classForNameeu.dnetlib.dhp.actionmanager.project.utils.CSVProgramme + + + + + + + + eu.dnetlib.dhp.actionmanager.project.utils.ReadExcel + --hdfsNameNode${nameNode} + --fileURL${topicFileURL} + --hdfsPath${workingDir}/topic + --classForNameeu.dnetlib.dhp.actionmanager.project.utils.EXCELTopic @@ -136,6 +152,7 @@ --projectPath${workingDir}/preparedProjects --programmePath${workingDir}/preparedProgramme + --topicPath${workingDir}/topic --outputPath${outputPath}