diff --git a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/community/oozie_app/workflow.xml b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/community/oozie_app/workflow.xml index fcef2547a..0b486999a 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/community/oozie_app/workflow.xml +++ b/dhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/dump/community/oozie_app/workflow.xml @@ -1,6 +1,15 @@ + + singleDeposition + true + Indicates if each file in the directory should be uploaded in a own deposition + + + communityId + the id of the community to be dumped if a dump for a single community should be done + sourcePath the source path @@ -123,6 +132,24 @@ --nameNode${nameNode} --isLookUpUrl${isLookUpUrl} + + + + + + + ${wf:conf('singleDeposition') eq true} + + + + + + + eu.dnetlib.dhp.oa.graph.dump.community.RemoveCommunities + --path${workingDir}/communityMap + --nameNode${nameNode} + --communityId${communityId} + @@ -417,7 +444,6 @@ --accessToken${accessToken} --connectionUrl${connectionUrl} --metadata${metadata} - --communityMapPath${workingDir}/communityMap --conceptRecordId${conceptRecordId} --depositionId${depositionId} --depositionType${depositionType}