PR: Bypass Action Set
#157
Merged
claudio.atzori
merged 10 commits from bypass_acstionset
into beta
2 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'bypass_acstionset'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This pull request is to create OAF entities that aim to enrich existing records in the graph. The OAF object is created setting as
id
a particular encoding of the given PIDunresolved:[pid]:[pidtype]
where
unresolved
is a constant valuepid
: is the persistent id value, e.g.10.5281/zenodo.4707307
pidtype
: is the persistent id type, e.g.doi
Then, such obejects are matched againsts those available in the graph using the
result.instance.pid
values.This mechanism can be used to integrate enrichments produced as associated by a given PID. All the objects for which a match is not found are discarded.
Consider using the already existing common function
@ -0,0 +47,4 @@
.map((MapFunction<String, R>) value -> OBJECT_MAPPER.readValue(value, clazz), Encoders.bean(clazz));
}
public static String getUnresolvedDoiIndentifier(String doi) {
Instead of defining an ad hoc method, it would be better to reuse the already existing function for the creation of the unresolved identifiers. It is available in
7b81607035
into beta 2 years agoReviewers
7b81607035
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.