Add path for EI Consumer 69/6369/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 22 Jun 2021 09:00:20 +0000 (11:00 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 22 Jun 2021 09:10:24 +0000 (11:10 +0200)
Issue-ID: NONRTRIC-537
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I7b862bc983f6d251a84c996f7869a45827072f0e

docker-compose/control-panel/config/nginx.conf
docker-compose/nonrtric-gateway/config/application-nonrtricgateway.yaml
test/simulator-group/ngw/application.yaml

index 916caef..3416fd4 100644 (file)
@@ -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
+}
index 5c5d64a..cee5398 100644 (file)
@@ -33,7 +33,7 @@ spring:
       - id: A1-EI
         uri: https://ecs:8434
         predicates:
-        - Path=/data-producer/**
+        - Path=/data-producer/**,/data-consumer/**
 management:
   endpoint:
     gateway:
index 7b062c2..f289168 100644 (file)
@@ -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: