From: elinuxhenrik Date: Tue, 22 Jun 2021 09:00:20 +0000 (+0200) Subject: Add path for EI Consumer X-Git-Tag: 2.2.1~8^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f24a7657bf8352936931b845cc9c77f09305089f;p=nonrtric.git Add path for EI Consumer Issue-ID: NONRTRIC-537 Signed-off-by: elinuxhenrik Change-Id: I7b862bc983f6d251a84c996f7869a45827072f0e --- diff --git a/docker-compose/control-panel/config/nginx.conf b/docker-compose/control-panel/config/nginx.conf index 916caef6..3416fd4e 100644 --- a/docker-compose/control-panel/config/nginx.conf +++ b/docker-compose/control-panel/config/nginx.conf @@ -16,8 +16,12 @@ http { set $upstream nonrtric-gateway; proxy_pass http://$upstream:9090; } + location /data-consumer/{ + set $upstream nonrtric-gateway; + proxy_pass http://$upstream:9090; + } location / { try_files $uri $uri/ /index.html; } } -} \ No newline at end of file +} diff --git a/docker-compose/nonrtric-gateway/config/application-nonrtricgateway.yaml b/docker-compose/nonrtric-gateway/config/application-nonrtricgateway.yaml index 5c5d64a4..cee5398d 100644 --- a/docker-compose/nonrtric-gateway/config/application-nonrtricgateway.yaml +++ b/docker-compose/nonrtric-gateway/config/application-nonrtricgateway.yaml @@ -33,7 +33,7 @@ spring: - id: A1-EI uri: https://ecs:8434 predicates: - - Path=/data-producer/** + - Path=/data-producer/**,/data-consumer/** management: endpoint: gateway: diff --git a/test/simulator-group/ngw/application.yaml b/test/simulator-group/ngw/application.yaml index 7b062c2f..f2891685 100644 --- a/test/simulator-group/ngw/application.yaml +++ b/test/simulator-group/ngw/application.yaml @@ -37,7 +37,7 @@ spring: - id: A1-EI2 uri: https://${ECS_DOMAIN_NAME}:${ECS_EXTERNAL_SECURE_PORT} predicates: - - Path=/data-producer/** + - Path=/data-producer/**,/data-consumer/** management: endpoint: gateway: