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. |
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: |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 38 | - uid: &cpsCredsUID cpscreds |
| 39 | type: basicAuth |
| 40 | login: '{{ .Values.cpsCreds.identity }}' |
| 41 | password: '{{ .Values.cpsCreds.password }}' |
| 42 | passwordPolicy: required |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 43 | - uid: &pgUserCredsSecretUid pg-user-creds |
| 44 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-sonhms-pg-user-creds' |
| 45 | type: basicAuth |
| 46 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "sonhms-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 47 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 48 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 49 | passwordPolicy: generate |
| 50 | |
| 51 | ################################################################# |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 52 | # Application Configuration Defaults. |
| 53 | ################################################################# |
| 54 | # Application Image |
malar | 40b1667 | 2022-11-29 07:04:54 +0000 | [diff] [blame] | 55 | image: onap/org.onap.dcaegen2.services.son-handler:2.1.11 |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 56 | pullPolicy: Always |
| 57 | |
| 58 | # Log directory where logging sidecar should look for log files |
Maciej Wereski | 7000a7c | 2021-12-16 12:24:06 +0100 | [diff] [blame] | 59 | # if path is set to null sidecar won't be deployed in spite of |
| 60 | # global.centralizedLoggingEnabled setting. |
| 61 | log: |
| 62 | path: /var/log/ONAP/dcaegen2/services/sonhms |
| 63 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 64 | |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 65 | # Optional Policy configuration properties |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 66 | # if present, policy-sync side car will be deployed |
Vijay Venkatesh Kumar | 1718658 | 2022-05-18 16:06:18 -0400 | [diff] [blame] | 67 | #dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1 |
| 68 | #policies: |
| 69 | # policyID: | |
| 70 | # '["com.Config_PCIMS_CONFIG_POLICY"]' |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 71 | |
| 72 | # Dependencies |
| 73 | readinessCheck: |
| 74 | wait_for: |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 75 | - &postgresName dcae-sonhms-postgres |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 76 | - message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 77 | |
| 78 | # Probe Configuration |
| 79 | readiness: |
| 80 | initialDelaySeconds: 10 |
| 81 | periodSeconds: 15 |
| 82 | timeoutSeconds: 1 |
| 83 | path: /healthcheck |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 84 | scheme: HTTP |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 85 | port: 8080 |
| 86 | |
| 87 | # Service Configuration |
| 88 | service: |
| 89 | type: ClusterIP |
| 90 | name: dcae-son-handler |
| 91 | ports: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 92 | - name: http |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 93 | port: 8080 |
| 94 | port_protocol: http |
| 95 | |
Jack Lucas | 64da4e7 | 2023-03-03 14:46:05 -0500 | [diff] [blame] | 96 | # Credentials |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 97 | cpsCreds: |
| 98 | identity: cps |
| 99 | password: cpsr0cks! |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 100 | |
| 101 | credentials: |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 102 | - name: CPS_IDENTITY |
| 103 | uid: *cpsCredsUID |
| 104 | key: login |
| 105 | - name: CPS_PASSWORD |
| 106 | uid: *cpsCredsUID |
| 107 | key: password |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 108 | - name: PG_USERNAME |
| 109 | uid: *pgUserCredsSecretUid |
| 110 | key: login |
| 111 | - name: PG_PASSWORD |
| 112 | uid: *pgUserCredsSecretUid |
| 113 | key: password |
| 114 | |
| 115 | |
| 116 | # Initial Application Configuration |
| 117 | applicationConfig: |
| 118 | postgres.host: &dcaeSonhmsPgPrimary dcae-sonhms-pg-primary |
| 119 | postgres.port: 5432 |
| 120 | postgres.username: ${PG_USERNAME} |
| 121 | postgres.password: ${PG_PASSWORD} |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 122 | cps.username: ${CPS_IDENTITY} |
| 123 | cps.password: ${CPS_PASSWORD} |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 124 | sonhandler.pollingInterval: 20 |
| 125 | sonhandler.pollingTimeout: 60 |
| 126 | cbsPollingInterval: 60 |
| 127 | sonhandler.numSolutions: 5 |
| 128 | sonhandler.minCollision: 5 |
| 129 | sonhandler.minConfusion: 5 |
| 130 | sonhandler.maximumClusters: 5 |
| 131 | sonhandler.badThreshold: 50 |
| 132 | sonhandler.poorThreshold: 70 |
| 133 | sonhandler.namespace: onap |
| 134 | sonhandler.sourceId: SONHMS |
| 135 | sonhandler.dmaap.server: ["message-router"] |
| 136 | sonhandler.bufferTime: 60 |
| 137 | sonhandler.cg: sonhms-cg |
| 138 | sonhandler.cid: sonhms-cid |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 139 | sonhandler.clientType: cps |
malar | 40b1667 | 2022-11-29 07:04:54 +0000 | [diff] [blame] | 140 | sonhandler.nearRtricUrl: "https://a1-policy-management:30294/a1-policy/v2/policies" |
Malarvizhi | a14d174 | 2021-12-03 09:44:35 +0000 | [diff] [blame] | 141 | cps.service.url: http://cps-tbdmt:8080 |
| 142 | cps.get.celldata: execute/cps-ran-schemaset/get-cell-data |
| 143 | cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list |
| 144 | cps.get.pci.url: execute/ran-network-schemaset/get-pci |
| 145 | cps.get.pnf.url: execute/ran-network-schemaset/get-pnf |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 146 | sonhandler.configDb.service: http://configdb:8080 |
| 147 | sonhandler.oof.service: https://oof-osdf:8698 |
| 148 | sonhandler.oof.endpoint: /api/oof/v1/pci |
| 149 | sonhandler.pciOptimizer: pci |
| 150 | sonhandler.pciAnrOptimizer: pci_anr |
| 151 | sonhandler.poorCountThreshold: 3 |
| 152 | sonhandler.badCountThreshold: 3 |
| 153 | sonhandler.oofTriggerCountTimer: 30 |
| 154 | sonhandler.oofTriggerCountThreshold: 5 |
| 155 | sonhandler.policyRespTimer: 10 |
| 156 | sonhandler.policyNegativeAckThreshold: 3 |
| 157 | sonhandler.policyFixedPciTimeInterval: 30000 |
| 158 | sonhandler.nfNamingCode: RansimAgent |
| 159 | streams_publishes: |
| 160 | CL_topic: |
| 161 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 162 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 163 | topic_url: http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 164 | streams_subscribes: |
| 165 | performance_management_topic: |
| 166 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 167 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 168 | topic_url: http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 169 | fault_management_topic: |
| 170 | type: message-router |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 171 | dmaap_info: |
Niranjana | 094e02d | 2022-03-21 09:32:15 +0000 | [diff] [blame] | 172 | topic_url: http://message-router:3904/events/unauthenticated.SEC_FAULT_OUTPUT |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 173 | nbr_list_change_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/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 177 | dcae_cl_response_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/DCAE_CL_RSP |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 181 | service_calls: |
| 182 | sdnr-getpnfname: [] |
| 183 | sdnr-getpci: [] |
| 184 | sdnr-getnbrlist: [] |
| 185 | sdnr-getcelllist: [] |
| 186 | oof-req: [] |
| 187 | policy-req: [] |
| 188 | |
| 189 | applicationEnv: |
rope252 | 5a7fbee | 2022-07-25 20:00:36 +0100 | [diff] [blame] | 190 | CBS_CLIENT_CONFIG_PATH: '/app-config-input/application_config.yaml' |
| 191 | #Temporary Dummy CBS Port Value until internal SDK library is updated |
| 192 | CONFIG_BINDING_SERVICE_SERVICE_PORT: '0000' |
Niranjana | 9709775 | 2021-06-11 07:44:13 +0000 | [diff] [blame] | 193 | STANDALONE: 'false' |
| 194 | |
| 195 | # Resource Limit Flavor -By Default Using Small |
| 196 | flavor: small |
| 197 | |
| 198 | # Segregation for Different Environment (Small and Large) |
| 199 | resources: |
| 200 | small: |
| 201 | limits: |
| 202 | cpu: 1 |
| 203 | memory: 1Gi |
| 204 | requests: |
| 205 | cpu: 1 |
| 206 | memory: 1Gi |
| 207 | large: |
| 208 | limits: |
| 209 | cpu: 2 |
| 210 | memory: 2Gi |
| 211 | requests: |
| 212 | cpu: 2 |
| 213 | memory: 2Gi |
| 214 | unlimited: {} |
| 215 | |
| 216 | ################################################################# |
| 217 | # Application configuration Overriding Defaults in the Postgres. |
| 218 | ################################################################# |
| 219 | postgres: |
| 220 | nameOverride: *postgresName |
| 221 | service: |
| 222 | name: *postgresName |
| 223 | name2: *dcaeSonhmsPgPrimary |
| 224 | name3: dcae-sonhms-pg-replica |
| 225 | container: |
| 226 | name: |
| 227 | primary: dcae-sonhms-pg-primary |
| 228 | replica: dcae-sonhms-pg-replica |
| 229 | persistence: |
| 230 | mountSubPath: sonhms/data |
| 231 | mountInitPath: sonhms |
| 232 | config: |
| 233 | pgUserName: sonhms |
| 234 | pgDatabase: sonhms |
| 235 | pgUserExternalSecret: *pgUserCredsSecretName |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 236 | |
| 237 | #Pods Service Account |
| 238 | serviceAccount: |
| 239 | nameOverride: dcae-son-handler |
| 240 | roles: |
| 241 | - read |