From e0066f06bc42f38d50168f9d744f9c12bf551781 Mon Sep 17 00:00:00 2001 From: ychacon Date: Tue, 8 Jun 2021 10:58:55 +0200 Subject: [PATCH] Fix routing to EI service Issue-ID: NONRTRIC-534 Signed-off-by: ychacon Change-Id: I77d8d4c13de5198f57adf02bb11f0f4791c46fbc --- nonrtric/helm/controlpanel/resources/nginx.conf | 5 ++++- nonrtric/helm/nonrtricgateway/resources/config/application.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nonrtric/helm/controlpanel/resources/nginx.conf b/nonrtric/helm/controlpanel/resources/nginx.conf index e7f807f3..46f87d09 100644 --- a/nonrtric/helm/controlpanel/resources/nginx.conf +++ b/nonrtric/helm/controlpanel/resources/nginx.conf @@ -15,7 +15,10 @@ http { location /a1-policy/ { proxy_pass http://backend; } - location /ei-producer/ { + location /data-producer/ { + proxy_pass http://backend; + } + location /data-consumer/ { proxy_pass http://backend; } location / { diff --git a/nonrtric/helm/nonrtricgateway/resources/config/application.yaml b/nonrtric/helm/nonrtricgateway/resources/config/application.yaml index 50533e70..124e23c3 100644 --- a/nonrtric/helm/nonrtricgateway/resources/config/application.yaml +++ b/nonrtric/helm/nonrtricgateway/resources/config/application.yaml @@ -33,7 +33,7 @@ spring: - id: A1-EI uri: https://enrichmentservice:9083 predicates: - - Path=/ei-producer/** + - Path=/data-producer/**,/data-consumer/** management: endpoint: gateway: -- 2.16.6