Merge "Add path for EI Consumer"
authorPatrik Buhr <patrik.buhr@est.tech>
Wed, 23 Jun 2021 07:19:21 +0000 (07:19 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Wed, 23 Jun 2021 07:19:21 +0000 (07:19 +0000)
docker-compose/control-panel/config/nginx.conf
docker-compose/nonrtric-gateway/config/application-nonrtricgateway.yaml
nonrtric-gateway/config/application.yaml
webapp-frontend/nginx.conf
webapp-frontend/proxy.conf.json

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 656ebaf..fb8c106 100644 (file)
@@ -33,7 +33,7 @@ spring:
       - id: A1-EI
         uri: https://localhost:8434
         predicates:
-        - Path=/data-producer/**
+        - Path=/data-producer/**,/data-consumer/**
 management:
   endpoint:
     gateway:
@@ -49,4 +49,4 @@ logging:
     org.springframework.cloud.gateway: INFO
     reactor.netty: INFO
   file:
-    name: /var/log/nonrtric-gateway/application.log
\ No newline at end of file
+    name: /var/log/nonrtric-gateway/application.log
index 656ebaf..fb8c106 100644 (file)
@@ -33,7 +33,7 @@ spring:
       - id: A1-EI
         uri: https://localhost:8434
         predicates:
-        - Path=/data-producer/**
+        - Path=/data-producer/**,/data-consumer/**
 management:
   endpoint:
     gateway:
@@ -49,4 +49,4 @@ logging:
     org.springframework.cloud.gateway: INFO
     reactor.netty: INFO
   file:
-    name: /var/log/nonrtric-gateway/application.log
\ No newline at end of file
+    name: /var/log/nonrtric-gateway/application.log
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 becd017..3284709 100644 (file)
@@ -6,5 +6,9 @@
   "/data-producer": {
     "target": "http://localhost:9090",
     "secure": false
- }
-}
\ No newline at end of file
+  },
+  "/data-consumer": {
+    "target": "http://localhost:9090",
+    "secure": false
+  }
+}