From 945f1d4c6ce5ffeb3fadbbec20996c4cfb72737d Mon Sep 17 00:00:00 2001 From: nruest Date: Tue, 24 Jan 2017 09:56:27 -0500 Subject: [PATCH] Add API-X to vagrant install; Resolves https://github.com/Islandora-CLAW/CLAW/issues/504 --- configs/karaf/api.script | 2 ++ configs/karaf/apix.script | 2 ++ scripts/api-x.sh | 13 +++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 configs/karaf/api.script create mode 100644 configs/karaf/apix.script create mode 100755 scripts/api-x.sh diff --git a/configs/karaf/api.script b/configs/karaf/api.script new file mode 100644 index 0000000..340394e --- /dev/null +++ b/configs/karaf/api.script @@ -0,0 +1,2 @@ +feature:repo-add mvn:org.fcrepo.apix/fcrepo-apix-karaf/LATEST/xml/features +feature:install fcrepo-api-x diff --git a/configs/karaf/apix.script b/configs/karaf/apix.script new file mode 100644 index 0000000..f38609b --- /dev/null +++ b/configs/karaf/apix.script @@ -0,0 +1,2 @@ +feature:repo-add mvn:org.fcrepo.apix/fcrepo-api-x-karaf/0.1.0/xml/features +feature:install fcrepo-api-x diff --git a/scripts/api-x.sh b/scripts/api-x.sh new file mode 100755 index 0000000..e45f53c --- /dev/null +++ b/scripts/api-x.sh @@ -0,0 +1,13 @@ +#!/bin/bash +echo "Installing API-X" + +HOME_DIR=$1 + +if [ -f "$HOME_DIR/islandora/configs/variables" ]; then + . "$HOME_DIR"/islandora/configs/variables +fi + +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + +echo "Installing Alpaca" +$KARAF_CLIENT -f $KARAF_CONFIGS/apix.script