Change the access right in DoiBoost
#126
Merged
claudio.atzori
merged 19 commits from doiboosi_accessright
into beta
3 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'doiboosi_accessright'
Deleting a branch is permanent. It CANNOT be undone. 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.
b346feed36
into beta 3 years agoReviewers
b346feed36
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.