bulkTaggingPathMapExtention #381

Merged
claudio.atzori merged 7 commits from bulkTaggingPathMapExtention into beta 2024-03-25 16:02:02 +01:00

Extention of the definition of the pathMap to allow the execution of actions on the values to be used for the constraints verification

Extention of the definition of the pathMap to allow the execution of actions on the values to be used for the constraints verification
alessia.bardi was assigned by miriam.baglioni 2024-01-23 11:44:56 +01:00
claudio.atzori was assigned by miriam.baglioni 2024-01-23 11:44:56 +01:00
miriam.baglioni added 3 commits 2024-01-23 11:44:57 +01:00
Author
Member

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}]}}}

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}]}}}
miriam.baglioni added 2 commits 2024-01-30 13:51:17 +01:00
claudio.atzori added 1 commit 2024-03-25 15:50:08 +01:00
claudio.atzori added 1 commit 2024-03-25 15:50:20 +01:00
claudio.atzori merged commit c3c9bdb59c into beta 2024-03-25 16:02:02 +01:00
Sign in to join this conversation.
No description provided.