diff --git a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/input_collect_and_save.json b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/input_collect_and_save.json index e1130c4f6..2b422176c 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/input_collect_and_save.json +++ b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/input_collect_and_save.json @@ -17,7 +17,13 @@ "paramLongName": "isSparkSessionManaged", "paramDescription": "true if the spark session is managed, false otherwise", "paramRequired": false - } + }, + { + "paramName": "ra", + "paramLongName": "resultAggregation", + "paramDescription": "true if all the result type should be saved under the generic result name. false to get a different dump for each result type", + "paramRequired": true +} ] diff --git a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml index a1b984f9c..a9f6112b1 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml +++ b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump_whole/oozie_app/workflow.xml @@ -13,6 +13,10 @@ outputPath the output path + + resultAggregation + true if all the result type have to be dumped under result. false otherwise + accessToken the access token used for the deposition in Zenodo @@ -268,7 +272,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.Organization --outputPath${workingDir}/collect/organization --communityMapPath${workingDir}/communityMap - @@ -295,7 +298,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.Project --outputPath${workingDir}/collect/project --communityMapPath${workingDir}/communityMap - @@ -322,7 +324,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.Datasource --outputPath${workingDir}/collect/datasource --communityMapPath${workingDir}/communityMap - @@ -441,7 +442,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.Publication --outputPath${workingDir}/relation/publication --communityMapPath${workingDir}/communityMap - @@ -468,7 +468,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.Dataset --outputPath${workingDir}/relation/dataset --communityMapPath${workingDir}/communityMap - @@ -495,7 +494,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.OtherResearchProduct --outputPath${workingDir}/relation/orp --communityMapPath${workingDir}/communityMap - @@ -522,7 +520,6 @@ --resultTableNameeu.dnetlib.dhp.schema.oaf.Software --outputPath${workingDir}/relation/software --communityMapPath${workingDir}/communityMap - @@ -561,6 +558,7 @@ --hdfsPath${outputPath} --nameNode${nameNode} --sourcePath${workingDir}/collect + --resultAggregation${resultAggregation}