Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 1 | # ============= LICENSE_START ================================================ |
| 2 | # ============================================================================ |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 3 | # Copyright (C) 2021-2022 Wipro Limited. |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame] | 4 | # Copyright (c) 2022-2023 J. F. Lucas. All rights reserved. |
pranitk1905 | 2e4c8f5 | 2023-04-17 17:04:14 +0530 | [diff] [blame] | 5 | # Copyright (c) 2023 Deutsche Telekom AG. All rights reserved. |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 6 | # ============================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============= LICENSE_END ================================================== |
| 19 | |
| 20 | ################################################################# |
| 21 | # Global Configuration Defaults. |
| 22 | ################################################################# |
| 23 | global: |
| 24 | nodePortPrefix: 302 |
| 25 | nodePortPrefixExt: 304 |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 26 | centralizedLoggingEnabled: true |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
| 29 | # Filebeat Configuration Defaults. |
| 30 | ################################################################# |
| 31 | filebeatConfig: |
| 32 | logstashServiceName: log-ls |
| 33 | logstashPort: 5044 |
| 34 | |
| 35 | ################################################################# |
| 36 | # Secrets Configuration. |
| 37 | ################################################################# |
| 38 | secrets: |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 39 | - uid: &cpsCredsUID cpscreds |
| 40 | type: basicAuth |
| 41 | login: '{{ .Values.cpsCreds.identity }}' |
| 42 | password: '{{ .Values.cpsCreds.password }}' |
| 43 | passwordPolicy: required |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 44 | - uid: &pgUserCredsSecretUid pg-user-creds |
| 45 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds' |
| 46 | type: basicAuth |
| 47 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 48 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 49 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 50 | passwordPolicy: generate |
| 51 | |
| 52 | ################################################################# |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 53 | # Application Configuration Defaults. |
| 54 | ################################################################# |
| 55 | # Application Image |
pranitk1905 | 2e4c8f5 | 2023-04-17 17:04:14 +0530 | [diff] [blame] | 56 | image: onap/org.onap.dcaegen2.services.son-handler:2.2.1 |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 57 | pullPolicy: Always |
| 58 | |
| 59 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 60 | # if path is set to null sidecar won't be deployed in spite of |
| 61 | # global.centralizedLoggingEnabled setting. |
| 62 | log: |
| 63 | path: /var/log/ONAP/dcaegen2/services/sonhms |
| 64 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 65 | |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 66 | # Optional Policy configuration properties |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 67 | # if present, policy-sync side car will be deployed |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 68 | #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1 |
| 69 | #policies: |
| 70 | # policyID: | |
| 71 | # '["com.Config_PCIMS_CONFIG_POLICY"]' |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 72 | |
| 73 | # Dependencies |
| 74 | readinessCheck: |
| 75 | wait_for: |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 76 | - &postgresName dcae-sonhms-postgres |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 77 | - message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 78 | |
| 79 | # Probe Configuration |
| 80 | readiness: |
| 81 | initialDelaySeconds: 10 |
| 82 | periodSeconds: 15 |
| 83 | timeoutSeconds: 1 |
| 84 | path: /healthcheck |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 85 | scheme: HTTP |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 86 | port: 8080 |
| 87 | |
| 88 | # Service Configuration |
| 89 | service: |
| 90 | type: ClusterIP |
| 91 | name: dcae-son-handler |
| 92 | ports: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 93 | - name: http |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 94 | port: 8080 |
| 95 | port_protocol: http |
| 96 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 97 | serviceMesh: |
| 98 | authorizationPolicy: |
| 99 | authorizedPrincipals: |
| 100 | - serviceAccount: message-router-read |
| 101 | authorizedPrincipalsPostgres: |
| 102 | - serviceAccount: dcae-son-handler-read |
| 103 | |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame] | 104 | # Credentials |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 105 | cpsCreds: |
| 106 | identity: cps |
| 107 | password: cpsr0cks! |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 108 | |
| 109 | credentials: |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 110 | - name: CPS_IDENTITY |
| 111 | uid: *cpsCredsUID |
| 112 | key: login |
| 113 | - name: CPS_PASSWORD |
| 114 | uid: *cpsCredsUID |
| 115 | key: password |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 116 | - name: PG_USERNAME |
| 117 | uid: *pgUserCredsSecretUid |
| 118 | key: login |
| 119 | - name: PG_PASSWORD |
| 120 | uid: *pgUserCredsSecretUid |
| 121 | key: password |
| 122 | |
| 123 | |
| 124 | # Initial Application Configuration |
| 125 | applicationConfig: |
| 126 | postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary |
| 127 | postgres.port: 5432 |
| 128 | postgres.username: ${PG_USERNAME} |
| 129 | postgres.password: ${PG_PASSWORD} |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 130 | cps.username: ${CPS_IDENTITY} |
| 131 | cps.password: ${CPS_PASSWORD} |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 132 | sonhandler.pollingInterval: 20 |
| 133 | sonhandler.pollingTimeout: 60 |
| 134 | cbsPollingInterval: 60 |
| 135 | sonhandler.numSolutions: 5 |
| 136 | sonhandler.minCollision: 5 |
| 137 | sonhandler.minConfusion: 5 |
| 138 | sonhandler.maximumClusters: 5 |
| 139 | sonhandler.badThreshold: 50 |
| 140 | sonhandler.poorThreshold: 70 |
| 141 | sonhandler.namespace: onap |
| 142 | sonhandler.sourceId: SONHMS |
| 143 | sonhandler.dmaap.server: ["message-router"] |
| 144 | sonhandler.bufferTime: 60 |
| 145 | sonhandler.cg: sonhms-cg |
| 146 | sonhandler.cid: sonhms-cid |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 147 | sonhandler.clientType: cps |
malar | 40b1667 | 2022-11-29 07:04:54 +0000 | [diff] [blame] | 148 | sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies" |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 149 | cps.service.url: http://cps-tbdmt:8080 |
| 150 | cps.get.celldata: execute/cps-ran-schemaset/get-cell-data |
| 151 | cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list |
| 152 | cps.get.pci.url: execute/ran-network-schemaset/get-pci |
| 153 | cps.get.pnf.url: execute/ran-network-schemaset/get-pnf |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 154 | sonhandler.configDb.service: http://configdb:8080 |
| 155 | sonhandler.oof.service: https://oof-osdf:8698 |
| 156 | sonhandler.oof.endpoint: /api/oof/v1/pci |
| 157 | sonhandler.pciOptimizer: pci |
| 158 | sonhandler.pciAnrOptimizer: pci_anr |
| 159 | sonhandler.poorCountThreshold: 3 |
| 160 | sonhandler.badCountThreshold: 3 |
| 161 | sonhandler.oofTriggerCountTimer: 30 |
| 162 | sonhandler.oofTriggerCountThreshold: 5 |
| 163 | sonhandler.policyRespTimer: 10 |
| 164 | sonhandler.policyNegativeAckThreshold: 3 |
| 165 | sonhandler.policyFixedPciTimeInterval: 30000 |
| 166 | sonhandler.nfNamingCode: RansimAgent |
| 167 | streams_publishes: |
| 168 | CL_topic: |
| 169 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 170 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 171 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 172 | streams_subscribes: |
| 173 | performance_management_topic: |
| 174 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 175 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 176 | topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 177 | fault_management_topic: |
| 178 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 179 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 180 | topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 181 | nbr_list_change_topic: |
| 182 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 183 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 184 | topic_url: http://message-router:3904/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 185 | dcae_cl_response_topic: |
| 186 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 187 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 188 | topic_url: http://message-router:3904/events/DCAE_CL_RSP |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 189 | service_calls: |
| 190 | sdnr-getpnfname: [] |
| 191 | sdnr-getpci: [] |
| 192 | sdnr-getnbrlist: [] |
| 193 | sdnr-getcelllist: [] |
| 194 | oof-req: [] |
| 195 | policy-req: [] |
| 196 | |
| 197 | applicationEnv: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 198 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
| 199 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 200 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 201 | STANDALONE: 'false' |
| 202 | |
| 203 | # Resource Limit Flavor -By Default Using Small |
| 204 | flavor: small |
| 205 | |
| 206 | # Segregation for Different Environment (Small and Large) |
| 207 | resources: |
| 208 | small: |
| 209 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame^] | 210 | cpu: 999 |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 211 | memory: 1Gi |
| 212 | requests: |
| 213 | cpu: 1 |
| 214 | memory: 1Gi |
| 215 | large: |
| 216 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame^] | 217 | cpu: 999 |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 218 | memory: 2Gi |
| 219 | requests: |
| 220 | cpu: 2 |
| 221 | memory: 2Gi |
| 222 | unlimited: {} |
| 223 | |
| 224 | ################################################################# |
| 225 | # Application configuration Overriding Defaults in the Postgres. |
| 226 | ################################################################# |
| 227 | postgres: |
| 228 | nameOverride: *postgresName |
| 229 | service: |
| 230 | name: *postgresName |
| 231 | name2: *dcaeSonhmsPgPrimary |
| 232 | name3: dcae-sonhms-pg-replica |
| 233 | container: |
| 234 | name: |
| 235 | primary: dcae-sonhms-pg-primary |
| 236 | replica: dcae-sonhms-pg-replica |
| 237 | persistence: |
| 238 | mountSubPath: sonhms/data |
| 239 | mountInitPath: sonhms |
| 240 | config: |
| 241 | pgUserName: sonhms |
| 242 | pgDatabase: sonhms |
| 243 | pgUserExternalSecret: *pgUserCredsSecretName |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 244 | |
| 245 | #Pods Service Account |
| 246 | serviceAccount: |
| 247 | nameOverride: dcae-son-handler |
| 248 | roles: |
| 249 | - read |