Current Release

This documentation covers the current version of Fedora. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Run the Vagrant VM

Follow the instructions at https://github.com/fcrepo4-labs/fcrepo4-vagrant for setting up the Fedora 4 Vagrant Virtual Machine.  These are essentially:

  • Install Vagrant and VirtualBox
  • Clone the fcrepo4-vagrant Git repository and start the VM:

    git clone https://github.com/fcrepo4-labs/fcrepo4-vagrant.git
    cd fcrepo4-vagrant
    vagrant up

Build the Audit Triplestore Camel Workflow

  • Connect to the Vagrant VM as the vagrant user, and build the Audit Triplestore Camel workflow:
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 -Dtriplestore.baseUrl=http://localhost:3030/test/update
curl -X POST -H "Slug: object1" http://127.0.0.1:8080/fcrepo/rest
curl -X POST -H "Slug: file1" --data-binary "test content" http://127.0.0.1:8080/fcrepo/rest/object1
curl -X PATCH -H "Content-type: application/sparql-update" --data-binary "insert data { <> <http://purl.org/dc/elements/1.1/title> \"new title\" . }" http://127.0.0.1:8080/fcrepo/rest/object1
curl -X DELETE http://127.0.0.1:8080/fcrepo/rest/object1/file1
curl -X DELETE http://127.0.0.1:8080/fcrepo/rest/object1
  • No labels