From 408bbd742c250bf66611c577eb3af4496b70d525 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Tue, 8 May 2018 17:18:21 -0700 Subject: Add AAI_SERVICE_URL environment variable The settings.py file uses the values of AAI_ADDR and AAI_PORT to create AAI_SERVICE_URL config value. This last value uses a template which contains the https protocol. Using secure protocols are good practice for production deployments but can be a restriction during testing. This change allows to modify this value. Change-Id: Idc7b0b709caf79e03c2f66774ef780223b913946 Signed-off-by: Victor Morales Issue-ID: MULTICLOUD-214 --- ocata/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ocata/docker') diff --git a/ocata/docker/Dockerfile b/ocata/docker/Dockerfile index 1b8477f3..8688328f 100644 --- a/ocata/docker/Dockerfile +++ b/ocata/docker/Dockerfile @@ -10,6 +10,7 @@ ENV MSB_ADDR "127.0.0.1" ENV MSB_PORT "80" ENV AAI_ADDR "aai.api.simpledemo.openecomp.org" ENV AAI_PORT "8443" +ENV AAI_SERVICE_URL ENV AAI_SCHEMA_VERSION "v13" ENV AAI_USERNAME "AAI" ENV AAI_PASSWORD "AAI" @@ -28,4 +29,4 @@ RUN apt-get update && \ pip install -r /opt/ocata/requirements.txt WORKDIR /opt/ocata -CMD /bin/sh -c /opt/ocata/run.sh \ No newline at end of file +CMD /bin/sh -c /opt/ocata/run.sh -- cgit 1.2.3-korg