Skip to content

Commit

Permalink
config: prepend REANA prefix to components
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez committed Jan 8, 2020
1 parent eda2b45 commit e5a6bd8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions reana_commons/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import os

MQ_URL = os.getenv('RABBIT_MQ_URL',
'message-broker.default.svc.cluster.local')
'reana-message-broker.default.svc.cluster.local')
"""Message queue (RabbitMQ) server host name."""

MQ_USER = os.getenv('RABBIT_MQ_USER', 'test')
Expand Down Expand Up @@ -51,16 +51,18 @@
OPENAPI_SPECS = {
'reana-workflow-controller': (
'http://{address}:{port}'.format(
address=os.getenv('WORKFLOW_CONTROLLER_SERVICE_HOST', '0.0.0.0'),
port=os.getenv('WORKFLOW_CONTROLLER_SERVICE_PORT_HTTP', '5000')),
address=os.getenv('REANA_WORKFLOW_CONTROLLER_SERVICE_HOST',
'0.0.0.0'),
port=os.getenv('REANA_WORKFLOW_CONTROLLER_SERVICE_PORT_HTTP',
'5000')),
'reana_workflow_controller.json'),
'reana-server': (
os.getenv('REANA_SERVER_URL', 'http://0.0.0.0:80'),
'reana_server.json'),
'reana-job-controller': (
'http://{address}:{port}'.format(
address=os.getenv('JOB_CONTROLLER_SERVICE_HOST', '0.0.0.0'),
port=os.getenv('JOB_CONTROLLER_SERVICE_PORT_HTTP', '5000')),
address=os.getenv('REANA_JOB_CONTROLLER_SERVICE_HOST', '0.0.0.0'),
port=os.getenv('REANA_JOB_CONTROLLER_SERVICE_PORT_HTTP', '5000')),
'reana_job_controller.json')
}
"""REANA Workflow Controller address."""
Expand Down

0 comments on commit e5a6bd8

Please sign in to comment.