#!/bin/bash if [ -z "$UPDATEDIR" ]; then echo "[ERROR] UPDATEDIR not defined" fi export AMDA_IHM=$(readlink -f "$UPDATEDIR/..") . $UPDATEDIR/../scripts/loadEnv.sh if [ -z ${NEWMETA} ] then echo "[ERROR] check if NEWMETA env variable is defined" exit 1 fi if [ -z ${AMDA_SPASE_INTERFACE} ] then echo "[ERROR] check if AMDA_SPASE_INTERFACE env variable is defined" exit 1 fi if [ -z ${AMDAINTERNALDIR} ] then echo "[ERROR] check if AMDAINTERNALDIR env variable is defined" exit 1 fi 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"