bulkTaggingPathMapExtention #381
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
RDGraph
RSAC
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: D-Net/dnet-hadoop#381
Loading…
Reference in New Issue
No description provided.
Delete Branch "bulkTaggingPathMapExtention"
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?
Extention of the definition of the pathMap to allow the execution of actions on the values to be used for the constraints verification
this is the new pathMap parameter
pathMap={"author":{"path":"$['author'][]['fullname']"},
"title":{"path":"$['title'][]['value']"},
"orcid":{"path":"$['author'][]['pid'][][?(@['qualifier']['classid']=='orcid')]['value']"} ,
"orcid_pending":{"path":"$['author'][]['pid'][][?(@['qualifier']['classid']=='orcid_pending')]['value']"} ,
"contributor" : {"path":"$['contributor'][]['value']"},
"description" : {"path":"$['description'][]['value']"},
"subject" :{"path":"$['subject'][]['value']"},
"fos" : {"path":"$['subject'][?(@['qualifier']['classid']=='FOS')].value"} ,
"sdg" : {"path":"$['subject'][?(@['qualifier']['classid']=='SDG')].value"},
"journal":{"path":"$['journal'].name"},
"hostedby":{"path":"$['instance'][]['hostedby']['key']"},
"collectedfrom":{"path":"$['instance'][*]['collectedfrom']['key']"},
"publisher":{"path":"$['publisher'].value"},
"publicationyear":{"path":"$['dateofacceptance'].value",
"action":{"class":"eu.dnetlib.dhp.bulktag.actions.ExecSubstringAction",
"method":"execSubstring",
"params":[
{"param_name":"From","param_value":0},
{"param_name":"To","param_value":4}]}}}