Commit 13419268 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

astakos: Fix system setup in stress test

parent 283fc7ab
......@@ -4,7 +4,7 @@ d=`dirname $0`
export SYNNEFO_SETTINGS_DIR=$d/settings
HOST=127.0.0.1
P=8008
P=8000
pkill -f "runserver"
......@@ -18,5 +18,3 @@ while true; do
else sleep 0.1
fi
done
snf-manage astakos-init --load-service-resources
......@@ -18,7 +18,6 @@ DATABASES = {
HOST = 'http://127.0.0.1'
# FIXME: ASTAKOS_URL = HOST + ':8000/astakos/api/authenticate'
ASTAKOS_BASE_URL = HOST + ':8000/'
ASTAKOS_BASE_URL = HOST + ':8000/astakos'
ASTAKOS_IM_MODULES = ['local']
ASTAKOS_RECAPTCHA_ENABLED = False
......@@ -4,3 +4,14 @@ d=`dirname $0`
export SYNNEFO_SETTINGS_DIR=$d/settings
snf-manage syncdb --noinput
snf-manage migrate
HOST=127.0.0.1:8000
snf-manage component-add astakos --base-url $HOST/astakos
snf-manage component-add cyclades --base-url $HOST/cyclades
snf-manage component-add pithos --base-url $HOST/pithos
snf-service-export astakos $HOST/astakos | snf-manage service-import --json -
snf-service-export cyclades $HOST/cyclades | snf-manage service-import --json -
snf-service-export pithos $HOST/pithos | snf-manage service-import --json -
snf-manage resource-modify astakos.pending_app --limit 2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment