20de309ea28a9ccbfd15e318ad861e12b05286f5
[it/dep.git] / smo-install / oran_oom / policymanagementservice / values.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
3 #  Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
4 #  ========================================================================
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #  Unless required by applicable law or agreed to in writing, software
12 #  distributed under the License is distributed on an "AS IS" BASIS,
13 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #  See the License for the specific language governing permissions and
15 #  limitations under the License.
16 #  ============LICENSE_END=================================================
17
18 # Default values for Policy Management Service.
19 # This is a YAML-formatted file.
20 # Declare variables to be passed into your templates.
21
22 imagePullPolicy: IfNotPresent
23 image:
24   registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
25   name: nonrtric-plt-a1policymanagementservice
26   tag: 2.7.0
27 service:
28   type: NodePort
29   ports:
30   - name: http
31     internalPort: "8081"
32     targetPort: "8081"
33     nodePort: "30094"
34     name_tls: https
35     internalPort_tls: "8433"
36     targetPort_tls: "8433"
37     nodePort_tls: "30095"
38 liveness:
39   initialDelaySeconds: 20
40   periodSeconds: 10
41 readiness:
42   initialDelaySeconds: 20
43   periodSeconds: 10
44 persistence:
45   size: 2Gi
46   storageClassName: standard
47 ingress:
48   enabled: false
49
50 config:
51   config:
52     controller:
53     - name: controller1
54       baseUrl: https://a1controller:8383
55       userName: admin
56       password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
57     ric:
58     - name: ric1
59       baseUrl: https://a1-sim-osc-0:8185
60       controller: controller1
61       managedElementIds:
62       - kista_1
63       - kista_2
64     - name: ric2
65       baseUrl: https://a1-sim-osc-1:8185
66       controller: controller1
67       managedElementIds:
68       - kista_1
69       - kista_2
70     - name: ric3
71       baseUrl: https://a1-sim-std-0:8185
72       controller: controller1
73       managedElementIds:
74       - kista_1
75       - kista_2
76     - name: ric4
77       baseUrl: https://a1-sim-std-1:8185
78       controller: controller1
79       managedElementIds:
80       - kista_1
81       - kista_2
82     - name: ric5
83       baseUrl: https://a1-sim-std2-0:8185
84       controller: controller1
85       managedElementIds:
86       - kista_1
87       - kista_2
88     - name: ric6
89       baseUrl: https://a1-sim-std2-1:8185
90       controller: controller1
91       managedElementIds:
92       - kista_1
93       - kista_2
94     streams_publishes:
95       dmaap_publisher:
96         type: message_router
97         dmaap_info:
98           topic_url: http://message-router.onap:3904/events/A1-POLICY-AGENT-WRITE
99     streams_subscribes:
100       dmaap_subscriber:
101         type: message_router
102         dmaap_info:
103           topic_url: http://message-router.onap:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100
104
105
106 application:
107   spring:
108     profiles:
109       active: prod
110     main:
111       allow-bean-definition-overriding: true
112     aop:
113       auto: false
114   management:
115     endpoints:
116       web:
117         exposure:
118           # Enabling of springboot actuator features. See springboot documentation.
119           include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
120
121   logging:
122     # Configuration of logging
123     level:
124       ROOT: ERROR
125       org.springframework: ERROR
126       org.springframework.data: ERROR
127       org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
128       org.onap.ccsdk.oran.a1policymanagementservice: INFO
129     file:
130       name: /var/log/policy-agent/application.log
131
132   server:
133     # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
134     # See springboot documentation.
135     port : "8433"
136     http-port: "8081"
137     ssl:
138         key-store-type: JKS
139         key-store-password: policy_agent
140         key-store: /opt/app/policy-agent/etc/cert/keystore.jks
141         key-password: policy_agent
142         key-alias: policy_agent
143   app:
144     # Location of the component configuration file. The file will only be used if the Consul database is not used;
145     # configuration from the Consul will override the file.
146     filepath: /var/policy-management-service/application_configuration.json
147     webclient:
148       # Configuration of the trust store used for the HTTP client (outgoing requests)
149       # The file location and the password for the truststore is only relevant if trust-store-used == true
150       # Note that the same keystore as for the server is used.
151       trust-store-used: false
152       trust-store-password: policy_agent
153       trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
154       # Configuration of usage of HTTP Proxy for the southbound accesses.
155       # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
156       http.proxy-host:
157       http.proxy-port: 0
158       http.proxy-type: HTTP
159     # path where the service can store data
160     vardata-directory: /var/policy-management-service
161     # the config-file-schema-path referres to a location in the jar file. If this property is empty or missing,
162     # no schema validation will be executed.
163     config-file-schema-path: /application_configuration_schema.json
164     # A file containing an authorization token, which shall be inserted in each HTTP header (authorization).
165     # If the file name is empty, no authorization token is sent.
166     auth-token-file: