Add community when depositing to zenodo (ARGOS).

This commit is contained in:
George Kalampokis 2020-11-23 18:16:32 +02:00
parent 0542c17aae
commit fcd24fd907
2 changed files with 3 additions and 1 deletions

View File

@ -1787,6 +1787,7 @@ public class DataManagementPlanManager {
dataBuilder.append(" \"publication_type\": \"datamanagementplan\",\n");
dataBuilder.append(" \"description\": \"").append((dmp.getDescription() != null && !dmp.getDescription().isEmpty() ? dmp.getDescription() : "<p></p>")).append("\",\n");
dataBuilder.append(" \"version\": \"").append(dmp.getVersion()).append("\",\n");
dataBuilder.append(" \"communities\": [{\n \t\t\"identifier\": \"").append(environment.getProperty("zenodo.community")).append("\"\n \t\t}],\n");
dataBuilder.append(" \"access_right\": \"");
if (extraProperties.get("visible") == null) {
dataBuilder.append("restricted\",\n");

View File

@ -92,4 +92,5 @@ logging.config=classpath:logging/logback-${spring.profiles.active}.xml
temp.temp=tmp/
#############ZENODO#########
zenodo.affiliation=ARGOS
zenodo.affiliation=ARGOS
zenodo.community=argos