Skip to content

initial setup for SHACL based validation

Created by: chenejac

VIVO GitHub issue: 3665

What does this pull request do?

This PR is introducing an engine for validation of dynamic actions and resourceAPIs over defined SHACL rules.

What's new?

SHACL rules for validation has been defined (but will be refined in some future PRs). Validation of dynamic actions and resourceAPIs might be done:

How should this be tested?

New functionality is covered by three unit tests in the ActionPoolTest. Also, RESTEndpointIntegrationTest is enriched to try to load a not valid Action, which is not available through REST endpoint (because BeanLoader is not loading that in the Pool as an invalid action and resourceAPI), although it is loaded in the graph.

Additional Notes:

Any additional information that you think would be helpful when reviewing this PR.

Interested parties

Tag (@ mention) interested parties or, if unsure, @VIVO-project/vivo-committers

Merge request reports