EOSC COntext Tagging
#231
Merged
claudio.atzori
merged 11 commits from eosc_context_tagging
into beta
2 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'eosc_context_tagging'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This PR regards the addition of the eosc context to results hostedby datasources registered in the eosc. At the moment the collectedfrom information is not taken into consideration.
The first step is a query at the database to collect the master (deduplicate representative) of the eosc datasources (those with namespace prefix starting with eosc) to create a correspondence (datasource id, master openaireid).
Then the master openaireid is used to search in the
result.instance[].hostedby
element, i.e. the datasource hosting the research product among each of its instances.When one is found equal to the master for the datasources registered in the eosc, then the tag is added among the
result.context[]
if not already present.c03e20be39
into beta 2 years agoc03e20be39
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.