X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose%2Ficsversion%2Fconfig%2Fnonrtric-gateway%2Fapplication-nonrtricgateway.yaml;fp=docker-compose%2Ficsversion%2Fconfig%2Fnonrtric-gateway%2Fapplication-nonrtricgateway.yaml;h=d4d93be98cd40db8156928068ef0c9a48eb19982;hb=e3980260a770b66eae1744fba59ab574adb07dcd;hp=0000000000000000000000000000000000000000;hpb=7749724e74312a7aae07f32f4185c896fb1d6559;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/docker-compose/icsversion/config/nonrtric-gateway/application-nonrtricgateway.yaml b/docker-compose/icsversion/config/nonrtric-gateway/application-nonrtricgateway.yaml new file mode 100644 index 0000000..d4d93be --- /dev/null +++ b/docker-compose/icsversion/config/nonrtric-gateway/application-nonrtricgateway.yaml @@ -0,0 +1,56 @@ +################################################################################ +# Copyright (c) 2021 Nordix Foundation. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + +server: + port: 9090 +spring: + cloud: + gateway: + httpclient: + ssl: + useInsecureTrustManager: true + wiretap: true + httpserver: + wiretap: true + routes: + - id: A1-Policy + uri: http://policy-agent:8081 + predicates: + - Path=/a1-policy/** + - id: A1-EI + uri: http://ics:8083 + predicates: + - Path=/ei-producer/** + - id: A1-EI2 + uri: http://ics:8083 + predicates: + - Path=/data-producer/**,/data-consumer/** +management: + endpoint: + gateway: + enabled: true + endpoints: + web: + exposure: + include: "gateway,loggers,logfile,health,info,metrics,threaddump,heapdump" +logging: + level: + ROOT: ERROR + org.springframework: ERROR + org.springframework.cloud.gateway: INFO + reactor.netty: INFO + file: + name: /var/log/nonrtric-gateway/application.log