Validation tools of the Oaf objects #186

Open
claudio.atzori wants to merge 5 commits from validation into beta
Owner

This PR introduces the common utilities for validating the Oaf objects.

An example of how to use them is available in the unit test

dhp-common/src/test/java/eu/dnetlib/dhp/schema/oaf/utils/OafValidatorTest.java

Note that as this PR depends on a development branch of the schema module, which introduces the annotation constraints, the relative dependency is expressed towards the SNAPSHOT version, assuming that it will be installed locally.

This PR introduces the common utilities for validating the Oaf objects. An example of how to use them is available in the unit test ``` dhp-common/src/test/java/eu/dnetlib/dhp/schema/oaf/utils/OafValidatorTest.java ``` Note that as this PR depends on a development branch of the schema module, which introduces the annotation constraints, the relative dependency is expressed towards the SNAPSHOT version, assuming that it will be installed locally.
claudio.atzori added 1 commit 2 years ago
claudio.atzori changed title from Validation of the Oaf objects to Validation tools of the Oaf objects 2 years ago
claudio.atzori added 1 commit 2 years ago
claudio.atzori added 1 commit 2 years ago
claudio.atzori added 1 commit 2 years ago
claudio.atzori added 1 commit 2 years ago
This pull request has changes conflicting with the target branch.
  • dhp-common/src/test/resources/eu/dnetlib/dhp/schema/oaf/utils/publication_3.json
  • pom.xml
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b validation beta
git pull origin validation

Step 2:

Merge the changes and update on Gitea.
git checkout beta
git merge --no-ff validation
git push origin beta
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#186
Loading…
There is no content yet.