ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 1 | spring: |
| 2 | profiles: |
| 3 | active: prod |
| 4 | main: |
| 5 | allow-bean-definition-overriding: true |
| 6 | aop: |
| 7 | auto: false |
| 8 | management: |
| 9 | endpoints: |
| 10 | web: |
| 11 | exposure: |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 12 | # Enabling of springboot actuator features. See springboot documentation. |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 13 | include: "loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 14 | |
| 15 | logging: |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 16 | # Configuration of logging |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 17 | level: |
| 18 | ROOT: ERROR |
| 19 | org.springframework: ERROR |
| 20 | org.springframework.data: ERROR |
| 21 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 22 | org.onap.ccsdk.oran.a1policymanagementservice: INFO |
| 23 | file: |
| 24 | name: /var/log/policy-agent/application.log |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 25 | server: |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 26 | # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework. |
| 27 | # See springboot documentation. |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 28 | port : 8433 |
| 29 | http-port: 8081 |
| 30 | ssl: |
| 31 | key-store-type: JKS |
| 32 | key-store-password: policy_agent |
RehanRaza | a9a369f | 2020-06-29 12:06:17 +0200 | [diff] [blame] | 33 | key-store: /opt/app/policy-agent/etc/cert/keystore.jks |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 34 | key-password: policy_agent |
| 35 | key-alias: policy_agent |
| 36 | app: |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 37 | # 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. |
RehanRaza | a9a369f | 2020-06-29 12:06:17 +0200 | [diff] [blame] | 39 | filepath: /opt/app/policy-agent/data/application_configuration.json |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 40 | webclient: |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 41 | # 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. |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 44 | trust-store-used: false |
| 45 | trust-store-password: policy_agent |
RehanRaza | a9a369f | 2020-06-29 12:06:17 +0200 | [diff] [blame] | 46 | trust-store: /opt/app/policy-agent/etc/cert/truststore.jks |
RehanRaza | e838dbd | 2021-02-02 11:24:34 +0100 | [diff] [blame] | 47 | # 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 |