diff --git a/dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/countrypropagation/Country.java b/dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/countrypropagation/CountrySbs.java
similarity index 100%
rename from dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/countrypropagation/Country.java
rename to dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/countrypropagation/CountrySbs.java
diff --git a/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_countrypropagation_parameters.json b/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_countrypropagation_parameters.json
index 068c673ce..829c96420 100644
--- a/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_countrypropagation_parameters.json
+++ b/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_countrypropagation_parameters.json
@@ -34,5 +34,17 @@
"paramLongName":"resultTableName",
"paramDescription": "the name of the result table we are currently working on",
"paramRequired": true
+ },
+ {
+ "paramName": "out",
+ "paramLongName": "outputPath",
+ "paramDescription": "the path used to store temporary output files",
+ "paramRequired": true
+ },
+ {
+ "paramName": "p",
+ "paramLongName": "preparedInfoPath",
+ "paramDescription": "the path where prepared info have been stored",
+ "paramRequired": true
}
]
\ No newline at end of file
diff --git a/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_prepare_dc_assoc.json b/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_prepare_dc_assoc.json
deleted file mode 100644
index ff1b79d9c..000000000
--- a/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/input_prepare_dc_assoc.json
+++ /dev/null
@@ -1,32 +0,0 @@
-[
- {
- "paramName":"mt",
- "paramLongName":"master",
- "paramDescription": "should be local or yarn",
- "paramRequired": true
- },
- {
- "paramName":"s",
- "paramLongName":"sourcePath",
- "paramDescription": "the path of the sequencial file to read",
- "paramRequired": true
- },
- {
- "paramName":"wl",
- "paramLongName":"whitelist",
- "paramDescription": "datasource id that will be considered even if not in the allowed typology list. Split by ;",
- "paramRequired": true
- },
- {
- "paramName":"at",
- "paramLongName":"allowedtypes",
- "paramDescription": "the types of the allowed datasources. Split by ;",
- "paramRequired": true
- },
- {
- "paramName":"h",
- "paramLongName":"hive_metastore_uris",
- "paramDescription": "the hive metastore uris",
- "paramRequired": true
- }
-]
\ No newline at end of file
diff --git a/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/oozie_app/workflow.xml b/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/oozie_app/workflow.xml
index d91207f46..38aa93335 100644
--- a/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/oozie_app/workflow.xml
+++ b/dhp-workflows/dhp-propagation/src/main/resources/eu/dnetlib/dhp/countrypropagation/oozie_app/workflow.xml
@@ -36,6 +36,15 @@
saveGraph
writes new version of the graph after the propagation step
+
+ outputPath
+ the path used to store temporary output files
+
+
+ preparedInfoPath
+ the path where prepared info have been stored
+
+
@@ -65,13 +74,14 @@
--whitelist${whitelist}
--allowedtypes${allowedtypes}
--hive_metastore_uris${hive_metastore_uris}
+ --outputPath${workingDir}/country_propagation/preparedInfo
-
-
+
+
@@ -98,6 +108,8 @@
--writeUpdate${writeUpdate}
--saveGraph${saveGraph}
--resultTableNameeu.dnetlib.dhp.schema.oaf.Publication
+ --outputPath${workingDir}/country_propagation/publication
+ --preparedInfoPath${workingDir}/country_propagation/preparedInfo
@@ -125,6 +137,8 @@
--writeUpdate${writeUpdate}
--saveGraph${saveGraph}
--resultTableNameeu.dnetlib.dhp.schema.oaf.Dataset
+ --outputPath${workingDir}/country_propagation/publication
+ --preparedInfoPath${workingDir}/country_propagation/preparedInfo
@@ -152,6 +166,8 @@
--writeUpdate${writeUpdate}
--saveGraph${saveGraph}
--resultTableNameeu.dnetlib.dhp.schema.oaf.Otherresearchproduct
+ --outputPath${workingDir}/country_propagation/publication
+ --preparedInfoPath${workingDir}/country_propagation/preparedInfo
@@ -179,11 +195,13 @@
--writeUpdate${writeUpdate}
--saveGraph${saveGraph}
--resultTableNameeu.dnetlib.dhp.schema.oaf.Software
+ --outputPath${workingDir}/country_propagation/publication
+ --preparedInfoPath${workingDir}/country_propagation/preparedInfo
-
+
${jobTracker}