forked from D-Net/dnet-hadoop
Hosted By Map - changed the association with the datasource id for the hostedby element: there is no more the need to compute it. With the new HBM it is already the id in the graph
This commit is contained in:
parent
e91ffcd2f3
commit
dc8b05b39e
|
@ -231,9 +231,7 @@ object DoiBoostMappingUtil {
|
||||||
var hb = new KeyValue
|
var hb = new KeyValue
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
hb.setValue(item.officialname)
|
hb.setValue(item.officialname)
|
||||||
hb.setKey(generateDSId(item.id))
|
hb.setKey(item.id)
|
||||||
//TODO replace with the one above as soon as the new HBM will be used
|
|
||||||
//hb.setKey(item.id)
|
|
||||||
if (item.openAccess) {
|
if (item.openAccess) {
|
||||||
i.setAccessright(getOpenAccessQualifier())
|
i.setAccessright(getOpenAccessQualifier())
|
||||||
i.getAccessright.setOpenAccessRoute(OpenAccessRoute.gold)
|
i.getAccessright.setOpenAccessRoute(OpenAccessRoute.gold)
|
||||||
|
|
Loading…
Reference in New Issue