Map oaf:eoscifguidelines from mdstore to the graph #256
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#256
Loading…
Reference in New Issue
No description provided.
Delete Branch "eoscifguidelines-from-mdstores"
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?
Field in a transformed record:
will add an EOSCIfGuidelines in the list
Result.eoscifguidelines
.I was probably not paying (enough) attention when you agreed to introduce this change in the mapping layer, apologies for this... but I would not include such specific conditions in there.
Instead, as we already got a process dedicated to set the
eoscifguidelines
field in the graph pipeline, I would extend it instead to cover also this case. After all, it already defines all the criteria (although very much hardcoded FTM) for this purpose and I would keep them all in the same place rather than spreading all over the source code.The condition it would verify could be based on the
instance.hostedby.key == '<ROHub ID>'
.What do you think?
No, Claudio, I disagree.
Miriam had to implement the process because we cannot find the information about the EOSC guidelines in the metadata we collect.
With ROhub, this is not the case: it is the first source that tells us which are the guidelines supported by each product. We need to exploit that, which should be the "normal" way of setting the field about the EOSC IF guidelines.
Please merge the PR and I think you should do it also on the master branch, because I have been informed that we need this asap on the EOSC EXPLORE portal (for sure before the review of EOSC Future).
As you can see the change is minor and the tests work, I do not like to put in prod something that was not tested on beta, this goes against our best practices for deployments, but it looks we have no option...
As a second though I agree, knowing we already had a procedure in place for setting the
eoscifguidelines
I just thought to avoid spreading the same logic in multiple places across the pipeline. However, you have a point: mapping them directly from the source is surely a cleaner approach.The three commits below are also integrated in the master branch
31a10f000b
ee759ac92d
208ed32315