Change the access right in DoiBoost #126
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
RDGraph
RSAC
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: D-Net/dnet-hadoop#126
Loading…
Reference in New Issue
No description provided.
Delete Branch "doiboosi_accessright"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR addresses ticket #4362. It does not include the merge with the gold list from UNIBI because it will be considered in creating a new hosteByMap, so no modification to the part of the cose that exploits the map needs to be done here.
Just minor cleanups:
ModelConstants
class@ -121,0 +185,4 @@
// val pub_date = LocalDate.parse(date, formatter)
// if (((now.toEpochDay - pub_date.toEpochDay)/365.0) > 1){
Consider cleaning up commented code
@ -130,2 +211,4 @@
def getUnknownQualifier():AccessRight = {
OafMapperUtils.accessRight("UNKNOWN","not available",ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES)
Consider using
ModelConstants.UNKNOWN
andModelConstants.NOT_AVAILABLE
@ -132,0 +216,4 @@
def getEmbargoedAccessQualifier():AccessRight = {
OafMapperUtils.accessRight("EMBARGO","Embargo",ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES)
A constant for EMBARGO is not available yet, but I just added it.
Not visible yet, to be modified
@ -132,0 +220,4 @@
}
def getClosedAccessQualifier():AccessRight = {
OafMapperUtils.accessRight("CLOSED","Closed Access", ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES)
A constant for CLOSED is not available yet, but I just added it.