X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fnonrtricgateway%2Fresources%2Fconfig%2Fapplication.yaml;fp=nonrtric%2Fhelm%2Fnonrtricgateway%2Fresources%2Fconfig%2Fapplication.yaml;h=1a6c1bf1a6fbf1ea4cce400598bc5c9a8431f5b0;hb=e691473b686c832d7f1e2158bd5364e14f6447b3;hp=0000000000000000000000000000000000000000;hpb=81dc65cca59e635d527c1a4aae8be7e16c80b544;p=it%2Fdep.git diff --git a/nonrtric/helm/nonrtricgateway/resources/config/application.yaml b/nonrtric/helm/nonrtricgateway/resources/config/application.yaml new file mode 100644 index 00000000..1a6c1bf1 --- /dev/null +++ b/nonrtric/helm/nonrtricgateway/resources/config/application.yaml @@ -0,0 +1,52 @@ +################################################################################ +# 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: https://policymanagementservice:9081 + predicates: + - Path=/a1-policy/** + - id: ei-producer + uri: https://enrichmentservice:9083 + predicates: + - Path=/ei-producer/** +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 \ No newline at end of file