updateEnv.sh
769 Bytes
#!/bin/bash
if [ -z "$AMDAINSTALLATION" ]; then
echo "[ERROR] UPDATEDIR not defined"
fi
export AMDAINSTALLATION=$UPDATEDIR/../../
. $UPDATEDIR/../scripts/loadEnv.sh
if [[ ${AMDA_SPASE_INTERFACE: -1} != "/" ]]; then
export AMDA_SPASE_INTERFACE=$AMDA_SPASE_INTERFACE/
fi
if [[ ${NEWMETA: -1} != "/" ]]; then
export NEWMETA=$NEWMETA/
fi
if [[ ${AMDAINTERNALDIR: -1} != "/" ]]; then
export AMDAINTERNALDIR=$AMDAINTERNALDIR/
fi
#SPASE Registry definitions
export SPASE_REPO="http://apus.irap.omp.eu:8080/amda-registry/resolver"
#Remote SPASE Registry to get Person' Info
export SPASE_REMOTE="http://www.spase-group.org/smwg/resolver"
# for SPASE Registy MAJ
export SPASE_HOST=apus.irap.omp.eu
export SPASE_ROOT="/usr/share/tomcat/webapps/amda-registry/metadata"