fix returning datasource classes for mode=dris (eurocrisdris::dris)
This commit is contained in:
parent
7aa70bff48
commit
3149357f8e
|
@ -118,6 +118,10 @@ public class RepositoryServiceImpl implements RepositoryService {
|
|||
dataSourceClass.get("opendoar").add(key);
|
||||
} else if (key.contains("datarepository")) {
|
||||
dataSourceClass.putIfAbsent("re3data", Collections.singletonList("datarepository::unknown"));
|
||||
} else if (key.contains("crissystem")) {
|
||||
// dataSourceClass.putIfAbsent("cris", new ArrayList<>());
|
||||
dataSourceClass.putIfAbsent("dris", new ArrayList<>());
|
||||
dataSourceClass.get("dris").add(key);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -837,7 +841,7 @@ public class RepositoryServiceImpl implements RepositoryService {
|
|||
} else if (mode.equalsIgnoreCase("re3data")) {
|
||||
if (entry.getKey().contains("datarepository"))
|
||||
retMap.put(entry.getKey(), entry.getValue());
|
||||
} else if (mode.equalsIgnoreCase("cris")) {
|
||||
} else if (mode.equalsIgnoreCase("dris")) {
|
||||
if (entry.getKey().contains("crissystem"))
|
||||
retMap.put(entry.getKey(), entry.getValue());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue