blob: 4b9e38484b27fe9266ae314f12f5ed619ae2efad [file] [log] [blame]
ecaiyanlinuxd202b532020-05-30 15:17:59 +02001spring:
2 profiles:
3 active: prod
4 main:
5 allow-bean-definition-overriding: true
6 aop:
7 auto: false
8management:
9 endpoints:
10 web:
11 exposure:
RehanRazae838dbd2021-02-02 11:24:34 +010012 # Enabling of springboot actuator features. See springboot documentation.
ecaiyanlinuxd202b532020-05-30 15:17:59 +020013 include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
14
15logging:
RehanRazae838dbd2021-02-02 11:24:34 +010016 # Configuration of logging
ecaiyanlinuxd202b532020-05-30 15:17:59 +020017 level:
18 ROOT: ERROR
19 org.springframework: ERROR
20 org.springframework.data: ERROR
21 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
RehanRazae838dbd2021-02-02 11:24:34 +010022 org.onap.ccsdk.oran.a1policymanagementservice: INFO
23 file:
24 name: /var/log/policy-agent/application.log
ecaiyanlinuxd202b532020-05-30 15:17:59 +020025server:
RehanRazae838dbd2021-02-02 11:24:34 +010026 # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
27 # See springboot documentation.
ecaiyanlinuxd202b532020-05-30 15:17:59 +020028 port : 8433
29 http-port: 8081
30 ssl:
31 key-store-type: JKS
32 key-store-password: policy_agent
RehanRazaa9a369f2020-06-29 12:06:17 +020033 key-store: /opt/app/policy-agent/etc/cert/keystore.jks
ecaiyanlinuxd202b532020-05-30 15:17:59 +020034 key-password: policy_agent
35 key-alias: policy_agent
36app:
RehanRazae838dbd2021-02-02 11:24:34 +010037 # Location of the component configuration file. The file will only be used if the Consul database is not used;
38 # configuration from the Consul will override the file.
RehanRazaa9a369f2020-06-29 12:06:17 +020039 filepath: /opt/app/policy-agent/data/application_configuration.json
ecaiyanlinuxd202b532020-05-30 15:17:59 +020040 webclient:
RehanRazae838dbd2021-02-02 11:24:34 +010041 # Configuration of the trust store used for the HTTP client (outgoing requests)
42 # The file location and the password for the truststore is only relevant if trust-store-used == true
43 # Note that the same keystore as for the server is used.
ecaiyanlinuxd202b532020-05-30 15:17:59 +020044 trust-store-used: false
45 trust-store-password: policy_agent
RehanRazaa9a369f2020-06-29 12:06:17 +020046 trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
RehanRazae838dbd2021-02-02 11:24:34 +010047 # Configuration of usage of HTTP Proxy for the southbound accesses.
48 # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
49 http.proxy-host:
50 http.proxy-port: 0