Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Add API-X to vagrant install; Resolves Islandora/documentation#504
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Jan 24, 2017
1 parent ea92fe0 commit 078f729
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision :shell, :path => "./scripts/alpaca.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/islandora-karaf-components.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/config.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/api-x.sh", :args => home_dir
config.vm.provision :shell, :path => "./scripts/post-install.sh", :args => home_dir
end
2 changes: 2 additions & 0 deletions configs/karaf/apix.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feature:repo-add mvn:org.fcrepo.apix/fcrepo-api-x-karaf/LATEST/xml/features
feature:install fcrepo-api-x
13 changes: 13 additions & 0 deletions scripts/api-x.sh
Original file line number Diff line number Diff line change
@@ -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 API-X"
$KARAF_CLIENT -f $KARAF_CONFIGS/apix.script

0 comments on commit 078f729

Please sign in to comment.