X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric-gateway%2Fconfig%2Fapplication.yaml;fp=nonrtric-gateway%2Fconfig%2Fapplication.yaml;h=57d94d7220f80e8b49aca8d200108b085b5bc0a5;hb=bccdfae0521c7aa6299b2dee2d887e945ffa3490;hp=0000000000000000000000000000000000000000;hpb=b025b9b3ed3dbe3dc3ccf4edd1fdac05373a8b80;p=portal%2Fnonrtric-controlpanel.git diff --git a/nonrtric-gateway/config/application.yaml b/nonrtric-gateway/config/application.yaml new file mode 100644 index 0000000..57d94d7 --- /dev/null +++ b/nonrtric-gateway/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: policytypes + uri: https://localhost:8433 + predicates: + - Path=/v2/policy-types/** + - id: policies + uri: https://localhost:8433 + predicates: + - Path=/v2/policies +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