change open access route to result matching hbm to gold

This commit is contained in:
Miriam Baglioni 2021-08-19 10:29:04 +02:00
parent bc7068106c
commit e5cf11d088
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ object SparkApplyHostedByMapToResult {
inst.getHostedby.setValue(ei.getName)
if (ei.getOpenAccess) {
inst.setAccessright(OafMapperUtils.accessRight(ModelConstants.ACCESS_RIGHT_OPEN, "Open Access", ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES))
inst.getAccessright.setOpenAccessRoute(OpenAccessRoute.hybrid)
inst.getAccessright.setOpenAccessRoute(OpenAccessRoute.gold)
p.setBestaccessright(OafMapperUtils.createBestAccessRights(p.getInstance()));
}