Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
13419268
Commit
13419268
authored
Oct 18, 2013
by
Giorgos Korfiatis
Browse files
astakos: Fix system setup in stress test
parent
283fc7ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/test/launch.sh
View file @
13419268
...
...
@@ -4,7 +4,7 @@ d=`dirname $0`
export
SYNNEFO_SETTINGS_DIR
=
$d
/settings
HOST
=
127.0.0.1
P
=
800
8
P
=
800
0
pkill
-f
"runserver"
...
...
@@ -18,5 +18,3 @@ while true; do
else
sleep
0.1
fi
done
snf-manage astakos-init
--load-service-resources
snf-astakos-app/astakos/test/settings/local.conf
View file @
13419268
...
...
@@ -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
snf-astakos-app/astakos/test/setup.sh
View file @
13419268
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment