Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Start the Vagrant VM:
Code Block
vagrant up

 

Build the Audit Triplestore Camel Workflow

  • Connect to the Vagrant VM as the vagrant user, and build the Audit Triplestore Camel workflow:
Code Block
languagebash
ssh -i ~/.vagrant.d/insecure_private_key -p 2222 vagrant@localhost
git clone https://github.com/fcrepo4-labs/fcrepo-camel-toolbox.git
cd fcrepo-camel-toolbox/audit-triplestore
mvn clean install
mvn camel:run

Verify that audit events are created in the triplestore

...

Query audit events

Once there are audit event triples in Fuseki, you can perform queries using the Fuseki SPARQL query form:

By resource:

Code Block
select ?e where { ?e <http://www.loc.gov/premis/rdf/v1#hasEventRelatedObject> <http://127.0.0.1:8080/fcrepo/rest/object1> }

...