From 2c163a7e5a3db27b6af7e0c9f560249e6fb5bc31 Mon Sep 17 00:00:00 2001 From: elinuxhenrik Date: Tue, 22 Jun 2021 11:16:18 +0200 Subject: [PATCH] Add path for Non-RT RIC EI Consumer Issue-ID: NONRTRIC-537 Signed-off-by: elinuxhenrik Change-Id: I37e48869b946353484b906baf8ef223993043446 --- solution/integration/smo/non-rt-ric/config/control-panel/nginx.conf | 6 +++++- .../config/nonrtric-gateway/application-nonrtricgateway.yaml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/solution/integration/smo/non-rt-ric/config/control-panel/nginx.conf b/solution/integration/smo/non-rt-ric/config/control-panel/nginx.conf index 916caef..3416fd4 100644 --- a/solution/integration/smo/non-rt-ric/config/control-panel/nginx.conf +++ b/solution/integration/smo/non-rt-ric/config/control-panel/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/solution/integration/smo/non-rt-ric/config/nonrtric-gateway/application-nonrtricgateway.yaml b/solution/integration/smo/non-rt-ric/config/nonrtric-gateway/application-nonrtricgateway.yaml index 9132df3..08b386c 100644 --- a/solution/integration/smo/non-rt-ric/config/nonrtric-gateway/application-nonrtricgateway.yaml +++ b/solution/integration/smo/non-rt-ric/config/nonrtric-gateway/application-nonrtricgateway.yaml @@ -37,7 +37,7 @@ spring: - id: A1-EI2 uri: http://ecs:8083 predicates: - - Path=/data-producer/** + - Path=/data-producer/**,/data-consumer/** management: endpoint: gateway: -- 2.16.6