diff --git a/camel/component/pom.xml b/camel/component/pom.xml
index afee867da..79f825951 100644
--- a/camel/component/pom.xml
+++ b/camel/component/pom.xml
@@ -10,8 +10,8 @@
Islandora Camel Component
- 2.16.0
- [2.16,3)
+ 2.15.1
+ [2.15.1,3)
2.4
2.5.1
1.8
diff --git a/camel/services/basic-image-service/pom.xml b/camel/services/basic-image-service/pom.xml
index 064c5ab61..7c2ff1f82 100644
--- a/camel/services/basic-image-service/pom.xml
+++ b/camel/services/basic-image-service/pom.xml
@@ -13,8 +13,8 @@
UTF-8
UTF-8
- 2.16.0
- [2.16,3)
+ 2.15.1
+ [2.15.1,3)
4.4.0
3.1.4
1.7.12
diff --git a/camel/services/collection-service/pom.xml b/camel/services/collection-service/pom.xml
index 87bc574d9..70c970c0c 100644
--- a/camel/services/collection-service/pom.xml
+++ b/camel/services/collection-service/pom.xml
@@ -13,8 +13,8 @@
UTF-8
UTF-8
- 2.16.0
- [2.16,3)
+ 2.15.1
+ [2.15.1,3)
4.4.0
3.1.4
1.7.12
diff --git a/camel/sync/pom.xml b/camel/sync/pom.xml
index fb24aec23..0b35a0eab 100644
--- a/camel/sync/pom.xml
+++ b/camel/sync/pom.xml
@@ -13,8 +13,8 @@
UTF-8
UTF-8
- 2.16.0
- [2.16, 3)
+ 2.15.1
+ [2.15.1,3)
4.4.0
5.12.1
1.7.12
diff --git a/camel/sync/src/main/resources/OSGI-INF/blueprint/eventGateway.xml b/camel/sync/src/main/resources/OSGI-INF/blueprint/eventGateway.xml
index 285e91ba4..ccc4fa42c 100644
--- a/camel/sync/src/main/resources/OSGI-INF/blueprint/eventGateway.xml
+++ b/camel/sync/src/main/resources/OSGI-INF/blueprint/eventGateway.xml
@@ -166,10 +166,17 @@
${property.rdf}
- $[1]['http://fedora.info/definitions/v4/repository#hasParent'][0]['@id']
-
-
-
+
+ $[0]['http://fedora.info/definitions/v4/repository#hasParent'][0]['@id']
+
+
+
+
+ java.lang.Exception
+
+
+
+
diff --git a/install/Vagrantfile b/install/Vagrantfile
index ae92a4bb6..39ddca791 100644
--- a/install/Vagrantfile
+++ b/install/Vagrantfile
@@ -64,9 +64,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision :shell, :path => "./scripts/drupal.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/fcrepo.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/blazegraph.sh", :args => home_dir
- config.vm.provision :shell, :path => "./scripts/fcrepo-camel-toolbox.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/islandora-commands.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/karaf.sh", :args => home_dir
+ config.vm.provision :shell, :path => "./scripts/fcrepo-camel-toolbox.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/hawtio.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/camel.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/cxf.sh", :args => home_dir
@@ -75,6 +75,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision :shell, :path => "./scripts/config.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/islandora-component.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/sync.sh", :args => home_dir
- config.vm.provision :shell, :path => "./scripts/services.sh", :args => home_dir
+ config.vm.provision :shell, :path => "./scripts/collection-service.sh", :args => home_dir
+ config.vm.provision :shell, :path => "./scripts/basic-image-service.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/post-install.sh", :args => home_dir
end
diff --git a/install/configs/karaf/services.script b/install/configs/karaf/basic-image-service.script
similarity index 51%
rename from install/configs/karaf/services.script
rename to install/configs/karaf/basic-image-service.script
index fd957b3e8..14ae33bd0 100644
--- a/install/configs/karaf/services.script
+++ b/install/configs/karaf/basic-image-service.script
@@ -1,5 +1,3 @@
-feature:repo-add file:/home/vagrant/islandora/camel/services/collection-service/target/classes/features.xml
-feature:install islandora-collection-service
feature:repo-add file:/home/vagrant/islandora/camel/services/basic-image-service/target/classes/features.xml
feature:install islandora-basic-image-service
logout
diff --git a/install/configs/karaf/camel.script b/install/configs/karaf/camel.script
index 48d47a90f..3cbf45959 100644
--- a/install/configs/karaf/camel.script
+++ b/install/configs/karaf/camel.script
@@ -1,2 +1,2 @@
-feature:repo-add camel 2.16.0
+feature:repo-add camel 2.15.1
logout
diff --git a/install/configs/karaf/collection-service.script b/install/configs/karaf/collection-service.script
new file mode 100644
index 000000000..06449a8fb
--- /dev/null
+++ b/install/configs/karaf/collection-service.script
@@ -0,0 +1,3 @@
+feature:repo-add file:/home/vagrant/islandora/camel/services/collection-service/target/classes/features.xml
+feature:install islandora-collection-service
+logout
diff --git a/install/configs/karaf/fcrepo-camel-toolbox.script b/install/configs/karaf/fcrepo-camel-toolbox.script
new file mode 100644
index 000000000..1ce93afb1
--- /dev/null
+++ b/install/configs/karaf/fcrepo-camel-toolbox.script
@@ -0,0 +1,6 @@
+feature:repo-add mvn:org.fcrepo.camel/fcrepo-camel-toolbox/4.4.0/xml/features
+feature:install fcrepo-indexing-triplestore
+feature:install fcrepo-audit-triplestore
+feature:install fcrepo-reindexing
+feature:install fcrepo-fixity
+logout
diff --git a/install/configs/variables b/install/configs/variables
index 95822dcb4..72f701bdc 100755
--- a/install/configs/variables
+++ b/install/configs/variables
@@ -7,7 +7,7 @@ KARAF_VERSION=4.0.2
KARAF_CLIENT="/opt/karaf/bin/client"
KARAF_CONFIGS="$HOME_DIR/islandora/install/configs/karaf/"
FCREPO_CAMEL_VERSION=4.4.0
-CAMEL_VERSION=2.16.0
+CAMEL_VERSION=2.15.1
SOLR_VERSION=4.10.3
SOLR_HOME="/var/lib/tomcat7/solr"
BLAZEGRAPH_VERSION=1.5.1
diff --git a/install/scripts/activemq.sh b/install/scripts/activemq.sh
index a3c2bd309..80e4dad4a 100644
--- a/install/scripts/activemq.sh
+++ b/install/scripts/activemq.sh
@@ -6,4 +6,4 @@ if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then
. "$HOME_DIR"/islandora/install/configs/variables
fi
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/activemq.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/activemq.script"
diff --git a/install/scripts/services.sh b/install/scripts/basic-image-service.sh
similarity index 72%
rename from install/scripts/services.sh
rename to install/scripts/basic-image-service.sh
index c0348f9c9..74d5e9fb9 100644
--- a/install/scripts/services.sh
+++ b/install/scripts/basic-image-service.sh
@@ -11,12 +11,7 @@ chown -R vagrant:vagrant "$HOME_DIR/.m2"
cd "$HOME_DIR"/islandora/camel/services
-cd collection-service
-sudo -u vagrant mvn install
-
-cd "$HOME_DIR"/islandora/camel/services
-
cd basic-image-service
sudo -u vagrant mvn install
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/services.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/basic-image-service.script"
diff --git a/install/scripts/camel.sh b/install/scripts/camel.sh
index ccc39b0e9..a4d46ada9 100644
--- a/install/scripts/camel.sh
+++ b/install/scripts/camel.sh
@@ -6,4 +6,4 @@ if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then
. "$HOME_DIR"/islandora/install/configs/variables
fi
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/camel.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/camel.script"
diff --git a/install/scripts/collection-service.sh b/install/scripts/collection-service.sh
new file mode 100644
index 000000000..d908b3eac
--- /dev/null
+++ b/install/scripts/collection-service.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+echo "Installing Islandora Services"
+
+HOME_DIR=$1
+if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then
+ . "$HOME_DIR"/islandora/install/configs/variables
+fi
+
+# Chown everything over to the vagrant user just in case
+chown -R vagrant:vagrant "$HOME_DIR/.m2"
+
+cd "$HOME_DIR"/islandora/camel/services
+
+cd collection-service
+sudo -u vagrant mvn install
+
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/collection-service.script"
diff --git a/install/scripts/cxf.sh b/install/scripts/cxf.sh
index c3a74061c..2ce0744fb 100644
--- a/install/scripts/cxf.sh
+++ b/install/scripts/cxf.sh
@@ -6,5 +6,4 @@ if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then
. "$HOME_DIR"/islandora/install/configs/variables
fi
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/cxf.script"
-
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/cxf.script"
diff --git a/install/scripts/fcrepo-camel-toolbox.sh b/install/scripts/fcrepo-camel-toolbox.sh
index 4f942f437..c7645379c 100644
--- a/install/scripts/fcrepo-camel-toolbox.sh
+++ b/install/scripts/fcrepo-camel-toolbox.sh
@@ -3,21 +3,23 @@ echo "Installing Fcrepo-Camel-Toolbox"
HOME_DIR=$1
+cd "$HOME_DIR"
+
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then
. "$HOME_DIR"/islandora/install/configs/variables
fi
-if [ ! -f "$DOWNLOAD_DIR/fcrepo-camel-toolbox.war" ]; then
+if [ ! -f "$DOWNLOAD_DIR/fcrepo-camel-toolbox.tar.gz" ]; then
echo "Downloading fcrepo-camel-toolbox"
- wget -O "$DOWNLOAD_DIR/fcrepo-camel-toolbox.war" "https://github.com/fcrepo4-labs/fcrepo-camel-toolbox/releases/download/fcrepo-camel-toolbox-$FCREPO_CAMEL_VERSION/fcrepo-camel-webapp-at-is-it-$FCREPO_CAMEL_VERSION.war"
+ wget -O "$DOWNLOAD_DIR/fcrepo-camel-toolbox.tar.gz" https://github.com/fcrepo4-exts/fcrepo-camel-toolbox/archive/fcrepo-camel-toolbox-"$FCREPO_CAMEL_VERSION".tar.gz
fi
-cd /var/lib/tomcat7/webapps
-cp -v "$DOWNLOAD_DIR/fcrepo-camel-toolbox.war" "/var/lib/tomcat7/webapps"
-chown tomcat7:tomcat7 /var/lib/tomcat7/webapps/fcrepo-camel-toolbox.war
+cd "$DOWNLOAD_DIR"
+tar -xzvf fcrepo-camel-toolbox.tar.gz
+sed -i 's#fuseki/test/update#bigdata/sparql#g' "$DOWNLOAD_DIR"/fcrepo-camel-toolbox-fcrepo-camel-toolbox-4.4.0/fcrepo-indexing-triplestore/src/main/cfg/org.fcrepo.camel.indexing.triplestore.cfg "$DOWNLOAD_DIR"/fcrepo-camel-toolbox-fcrepo-camel-toolbox-4.4.0/fcrepo-audit-triplestore/src/main/cfg/org.fcrepo.camel.audit.cfg
+cd fcrepo-camel-toolbox-fcrepo-camel-toolbox-"$FCREPO_CAMEL_VERSION"
+MAVEN_OPTS="-Xmx1024m" sudo -u vagrant mvn install
-if [ $(grep -c '\-Dtriplestore.baseUrl=' /etc/default/tomcat7) -eq 0 ]; then
- echo "JAVA_OPTS=\"\$JAVA_OPTS -Dtriplestore.baseUrl=localhost:8080/bigdata/sparql\"" >> /etc/default/tomcat7
-fi
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/fcrepo-camel-toolbox.script"
-service tomcat7 restart
+sed -i 's#fuseki/test/update#bigdata/sparql#g' /opt/karaf/etc/org.fcrepo.camel.indexing.triplestore.cfg
diff --git a/install/scripts/hawtio.sh b/install/scripts/hawtio.sh
index c62b1a179..b202eb2d7 100644
--- a/install/scripts/hawtio.sh
+++ b/install/scripts/hawtio.sh
@@ -6,4 +6,4 @@ if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then
. "$HOME_DIR"/islandora/install/configs/variables
fi
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/hawtio.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/hawtio.script"
diff --git a/install/scripts/islandora-component.sh b/install/scripts/islandora-component.sh
index f1ca1a070..fe61ae842 100644
--- a/install/scripts/islandora-component.sh
+++ b/install/scripts/islandora-component.sh
@@ -12,4 +12,4 @@ chown -R vagrant:vagrant "$HOME_DIR/.m2"
cd "$HOME_DIR"/islandora/camel/component
sudo -u vagrant mvn install
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/component.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/component.script"
diff --git a/install/scripts/karaf.sh b/install/scripts/karaf.sh
index deb2f00f0..802404bde 100644
--- a/install/scripts/karaf.sh
+++ b/install/scripts/karaf.sh
@@ -24,7 +24,7 @@ ln -s /opt/apache-karaf-"$KARAF_VERSION" /opt/karaf
# Run a setup script to add some feature repos and prepare it for running as a service
/opt/karaf/bin/start
sleep 60
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/setup.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/setup.script"
/opt/karaf/bin/stop
# Add it as a Linux service
diff --git a/install/scripts/post-install.sh b/install/scripts/post-install.sh
index 046f516d0..4b9e01fc2 100644
--- a/install/scripts/post-install.sh
+++ b/install/scripts/post-install.sh
@@ -25,7 +25,7 @@ service tomcat7 restart
# Cycle karaf and watch the maven bundles
service karaf-service restart
sleep 60
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/watch.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/watch.script"
# Fix ApacheSolr config
drush -r "$DRUPAL_HOME" sqlq "update apachesolr_environment set url='http://localhost:8080/solr' where url='http://localhost:8983/solr'"
diff --git a/install/scripts/sync.sh b/install/scripts/sync.sh
index bf147c597..ab96146d7 100644
--- a/install/scripts/sync.sh
+++ b/install/scripts/sync.sh
@@ -12,4 +12,4 @@ chown -R vagrant:vagrant "$HOME_DIR/.m2"
cd "$HOME_DIR/islandora/camel/sync"
sudo -u vagrant mvn install
-"$KARAF_CLIENT" < "$KARAF_CONFIGS/sync.script"
+"$KARAF_CLIENT" -u karaf -h localhost -a 8101 -f "$KARAF_CONFIGS/sync.script"