Skip to content

Pdp refactor

Luana Martelli requested to merge pdp-refactor into develop

This PR refactors the PDP.

  • The SPARQL query to retrieve the contract has been updated
  • It introduces a Storage that represents a layer between Jena and a graph object. Basically it makes the queries to Jena and retrieve the wanted value.
  • Also introduces a Policy that implements the logic to decide if a contract is valid and the user has access to data.
  • Various fixes

TODO

The graph object and the methods associated to it are currently stored in the jena folder. This is confusing and will be put in a different module - but this will be in an other PR.

Merge request reports