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