From 7447fb767ab5b9583d7c594d3f78f63443daacca Mon Sep 17 00:00:00 2001 From: Rokas Maciulaitis Date: Tue, 23 Oct 2018 15:23:53 +0200 Subject: [PATCH] config: amends config * Changing default reana_server_url value from None to valid url, because initialization of SwaggerClient with swagger_spec.api_url as None fails. Signed-off-by: Rokas Maciulaitis Co-authored-by: Diego Rodriguez --- AUTHORS.rst | 1 + reana_commons/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 9f8355c6..bd54473d 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -5,4 +5,5 @@ The list of contributors in alphabetical order: - `Diego Rodriguez `_ - `Dinos Kousidis `_ +- `Rokas Maciulaitis `_ - `Tibor Simko `_ diff --git a/reana_commons/config.py b/reana_commons/config.py index 650a60e9..b1595e19 100644 --- a/reana_commons/config.py +++ b/reana_commons/config.py @@ -49,7 +49,7 @@ port=os.getenv('WORKFLOW_CONTROLLER_SERVICE_PORT_HTTP', '5000')), 'reana_workflow_controller.json'), 'reana-server': ( - os.getenv('REANA_SERVER_URL', None), + os.getenv('REANA_SERVER_URL', '0.0.0.0'), 'reana_server.json'), 'reana-job-controller': ( 'http://{address}:{port}'.format(