vaibhav_16dec | 0e58a66 | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | 84d73b1 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | 0e58a66 | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 16 | # Default values for aai. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
| 21 | repository: nexus3.onap.org:10001 |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 22 | dockerhubRepository: docker.io |
| 23 | busyboxImage: busybox |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 24 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 25 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 25e936b | 2019-03-15 06:42:07 +0000 | [diff] [blame] | 26 | readinessImage: readiness-check:2.0.2 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 27 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 28 | loggingRepository: docker.elastic.co |
| 29 | loggingImage: beats/filebeat:5.5.0 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 30 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 31 | restartPolicy: Always |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 32 | |
Ravi Geda | 375666c | 2018-09-30 21:14:41 +0100 | [diff] [blame] | 33 | installSidecarSecurity: false |
Kajur, Harish (vk250x) | a8a554c | 2018-11-07 12:51:35 -0500 | [diff] [blame] | 34 | aafEnabled: true |
Ravi Geda | 375666c | 2018-09-30 21:14:41 +0100 | [diff] [blame] | 35 | |
| 36 | fproxy: |
| 37 | name: forward-proxy |
| 38 | activeSpringProfiles: noHostVerification,cadi |
| 39 | image: onap/fproxy:2.1-STAGING-latest |
| 40 | port: 10680 |
| 41 | |
| 42 | rproxy: |
| 43 | name: reverse-proxy |
| 44 | activeSpringProfiles: noHostVerification,cadi |
| 45 | image: onap/rproxy:2.1-STAGING-latest |
| 46 | port: 10692 |
| 47 | |
| 48 | tproxyConfig: |
| 49 | name: init-tproxy-config |
| 50 | image: onap/tproxy-config:2.1-STAGING-latest |
| 51 | |
| 52 | # AAF server details. Only needed if the AAF DNS does not resolve from the pod |
| 53 | aaf: |
| 54 | serverIp: 10.12.6.214 |
| 55 | serverHostname: aaf.osaaf.org |
| 56 | serverPort: 30247 |
| 57 | |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 58 | cassandra: |
Mahendra Raghuwanshi | 105cbb9 | 2019-03-20 06:36:19 +0000 | [diff] [blame] | 59 | #This will instantiate AAI cassandra cluster, default:shared cassandra. |
| 60 | localCluster: false |
| 61 | |
| 62 | #Service Name of the cassandra cluster to connect to. |
| 63 | #Override it to aai-cassandra if localCluster is enabled. |
| 64 | serviceName: cassandra |
| 65 | |
mahendrr | 4741afb | 2019-05-03 08:51:40 +0000 | [diff] [blame^] | 66 | #This should be same as shared cassandra instance or if localCluster is enabled |
| 67 | #then it should be same as aai-cassandra replicaCount |
vagrant | 62ddc7d | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 68 | replicas: 3 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 69 | |
mahendrr | 4741afb | 2019-05-03 08:51:40 +0000 | [diff] [blame^] | 70 | #Cassanara login details |
| 71 | username: cassandra |
| 72 | password: cassandra |
| 73 | |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 74 | aai: |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 75 | serviceName: aai |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 76 | babel: |
| 77 | serviceName: aai-babel |
| 78 | champ: |
| 79 | serviceName: aai-champ |
| 80 | aaiElasticsearch: |
| 81 | serviceName: aai-elasticsearch |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 82 | resources: |
| 83 | serviceName: aai-resources |
| 84 | sparkyBe: |
| 85 | serviceName: aai-sparky-be |
| 86 | dataRouter: |
| 87 | serviceName: aai-data-router |
| 88 | gizmo: |
| 89 | serviceName: aai-gizmo |
| 90 | modelloader: |
| 91 | serviceName: aai-modelloader |
| 92 | searchData: |
| 93 | serviceName: aai-search-data |
| 94 | traversal: |
| 95 | serviceName: aai-traversal |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 96 | graphadmin: |
| 97 | serviceName: aai-graphadmin |
Michael Arrastia | 0e102f6 | 2018-08-21 13:36:27 +0100 | [diff] [blame] | 98 | spike: |
| 99 | serviceName: aai-spike |
Keren Joseph | 29f11ab | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 100 | |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 101 | initContainers: |
| 102 | enabled: true |
| 103 | # Specifies a list of jobs to be run |
| 104 | jobs: |
| 105 | # When enabled, it will create the schema based on oxm and edge rules |
| 106 | createSchema: |
| 107 | enabled: true |
| 108 | # When enabled, it will create the widget models via REST API to haproxy |
| 109 | updateQueryData: |
| 110 | enabled: true |
Mahendra Raghuwanshi | 105cbb9 | 2019-03-20 06:36:19 +0000 | [diff] [blame] | 111 | #migration using helm hooks |
| 112 | migration: |
| 113 | enabled: false |
| 114 | remoteCassandra: |
| 115 | enabled: false |
| 116 | storage: |
| 117 | backend: cassandra |
| 118 | hostname: 10.10.10.10 |
| 119 | connectionTimeout: 100000 |
| 120 | cacheSize: 1000000 |
| 121 | keyConsistent: true |
| 122 | |
| 123 | #If backend is cql or cassandra it should be keyspace name |
| 124 | #else backend is hbase it should be hbase table name |
| 125 | name: aaigraph |
| 126 | |
| 127 | ## CQL driver specific properties for janusgraph |
| 128 | # cql: |
| 129 | # #Name of the Cassandra Cluster |
| 130 | # cluster: someclustername |
| 131 | # readConsistency: QUORUM |
| 132 | # writeConsistency: QUORUM |
| 133 | # replicationFactor: 3 |
| 134 | # localConsistencyForSysOps: true |
| 135 | |
| 136 | ## Cassandra driver specific properties for janusgraph |
| 137 | cassandra: |
| 138 | #Name of the Cassandra Cluster |
| 139 | clusterName: aai-cluster |
| 140 | localDataCenter: Pod lab |
| 141 | readConsistency: LOCAL_QUORUM |
| 142 | writeConsistency: LOCAL_QUORUM |
| 143 | replicationFactor: 3 |
| 144 | |
| 145 | #storage: |
| 146 | # backend: cassandra |
| 147 | # hostname: somehost1,somehost2,somehost3 |
| 148 | # connectionTimeout: 100000 |
| 149 | # cacheSize: 1000000 |
| 150 | # clusterName: someClusterName |
| 151 | # localDataCenter: someDataCenter |
| 152 | # keyConsistent: true |
| 153 | # #If backend is cql or cassandra it should be keyspace name |
| 154 | # #else backend is hbase it should be hbase table name |
| 155 | # name: your_hbase_table_or_keyspace_name |
| 156 | |
| 157 | ## CQL driver specific properties for janusgraph |
| 158 | # cql: |
| 159 | # #Name of the Cassandra Cluster |
| 160 | # cluster: someclustername |
| 161 | # readConsistency: QUORUM |
| 162 | # writeConsistency: QUORUM |
| 163 | # replicationFactor: 3 |
| 164 | # localConsistencyForSysOps: true |
| 165 | |
| 166 | ## Cassandra driver specific properties for janusgraph |
| 167 | # cassandra: |
| 168 | # #Name of the Cassandra Cluster |
| 169 | # cluster: someclustername |
| 170 | # readConsistency: LOCAL_QUORUM |
| 171 | # writeConsistency: LOCAL_QUORUM |
| 172 | # replicationFactor: 3 |
| 173 | |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 174 | |
| 175 | # Common configuration for resources traversal and graphadmin |
| 176 | config: |
| 177 | # User information for the admin user in container |
| 178 | userId: 1000 |
| 179 | groupId: 1000 |
| 180 | |
| 181 | # Specifies that the cluster connected to a dynamic |
| 182 | # cluster being spinned up by kubernetes deployment |
| 183 | cluster: |
| 184 | cassandra: |
| 185 | dynamic: true |
| 186 | |
| 187 | # If cluster.cassandra.dynamic is set to false |
| 188 | # Then the following configuration should be uncommented |
| 189 | # This is if you are planning to connect to a existing |
| 190 | # Cassandra cluster instead of doing the deployment |
| 191 | #storage: |
| 192 | # backend: cassandra |
| 193 | # hostname: somehost1,somehost2,somehost3 |
| 194 | # connectionTimeout: 100000 |
| 195 | # cacheSize: 1000000 |
| 196 | # clusterName: someClusterName |
| 197 | # localDataCenter: someDataCenter |
| 198 | # keyConsistent: true |
| 199 | # # If backend is cql or cassandra it should be keyspace name |
| 200 | # # else backend is hbase it should be hbase table name |
| 201 | # name: your_hbase_table_or_keyspace_name |
| 202 | |
| 203 | # # CQL driver specific properties for janusgraph |
| 204 | # cql: |
| 205 | # # Name of the Cassandra Cluster |
| 206 | # cluster: someclustername |
| 207 | # readConsistency: QUORUM |
| 208 | # writeConsistency: QUORUM |
| 209 | # replicationFactor: 3 |
| 210 | # localConsistencyForSysOps: true |
| 211 | |
| 212 | # # Cassandra driver specific properties for janusgraph |
| 213 | # cassandra: |
| 214 | # # Name of the Cassandra Cluster |
| 215 | # cluster: someclustername |
| 216 | # readConsistency: LOCAL_QUORUM |
| 217 | # writeConsistency: LOCAL_QUORUM |
| 218 | # replicationFactor: 3 |
| 219 | |
| 220 | # Specifies if the basic authorization is enabled |
| 221 | basic: |
| 222 | auth: |
| 223 | enabled: true |
| 224 | username: AAI |
| 225 | passwd: AAI |
| 226 | |
| 227 | # Active spring profiles for the resources microservice |
| 228 | profiles: |
Kajur, Harish (vk250x) | 18556c8 | 2018-10-25 18:08:18 -0400 | [diff] [blame] | 229 | active: production,dmaap,aaf-auth |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 230 | |
| 231 | # Notification event specific properties |
| 232 | notification: |
| 233 | eventType: AAI-EVENT |
| 234 | domain: dev |
| 235 | |
| 236 | # Schema specific properties that include supported versions of api |
| 237 | schema: |
Harish Venkata Kajur | cb1af34 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 238 | # Specifies if the connection should be one way ssl, two way ssl or no auth |
| 239 | service: |
| 240 | client: one-way-ssl |
| 241 | # Specifies which translator to use if it has schema-service, then it will make a rest request to schema service |
| 242 | translator: |
| 243 | list: schema-service |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 244 | source: |
| 245 | # Specifies which folder to take a look at |
| 246 | name: onap |
| 247 | uri: |
| 248 | # Base URI Path of the application |
| 249 | base: |
| 250 | path: /aai |
| 251 | version: |
| 252 | # Current version of the REST API |
| 253 | api: |
Harish Venkata Kajur | 3c90a1f | 2019-03-12 14:11:15 -0400 | [diff] [blame] | 254 | default: v16 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 255 | # Specifies which version the depth parameter is configurable |
Harish Venkata Kajur | cb1af34 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 256 | depth: v11 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 257 | # List of all the supported versions of the API |
Harish Venkata Kajur | 3c90a1f | 2019-03-12 14:11:15 -0400 | [diff] [blame] | 258 | list: v11,v12,v13,v14,v15,v16 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 259 | # Specifies from which version related link should appear |
| 260 | related: |
Harish Venkata Kajur | cb1af34 | 2019-02-12 23:56:51 -0500 | [diff] [blame] | 261 | link: v11 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 262 | # Specifies from which version the app root change happened |
| 263 | app: |
| 264 | root: v11 |
| 265 | # Specifies from which version the xml namespace changed |
| 266 | namespace: |
| 267 | change: v12 |
| 268 | # Specifies from which version the edge label appeared in API |
| 269 | edge: |
| 270 | label: v12 |
| 271 | |
| 272 | # Keystore configuration password and filename |
| 273 | keystore: |
| 274 | filename: aai_keystore |
| 275 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 276 | |
| 277 | # Truststore configuration password and filename |
| 278 | truststore: |
| 279 | filename: aai_keystore |
| 280 | passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0 |
| 281 | |
| 282 | # Specifies a list of files to be included in auth volume |
| 283 | auth: |
| 284 | files: |
| 285 | - aai_keystore |
| 286 | |
| 287 | # Specifies which clients should always default to realtime graph connection |
| 288 | realtime: |
| 289 | clients: SDNC,MSO,SO,robot-ete |
| 290 | |
| 291 | # Logback debug enabled |
| 292 | logback: |
| 293 | console: |
| 294 | # If enabled, container will print all logback to standard output |
| 295 | # This will make debugging much easier but it should only be done |
| 296 | # when debugging the issue and changed back as it can affect performance |
| 297 | # since when this is enabled, it prints a lot of information to console |
| 298 | enabled: false |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 299 | |
| 300 | # application image |
| 301 | dockerhubRepository: registry.hub.docker.com |
Harish Venkata Kajur | 839bd44 | 2019-04-11 12:36:01 -0400 | [diff] [blame] | 302 | image: aaionap/haproxy:1.4.0 |
kerenj | 3db4be5 | 2017-08-24 11:32:22 +0000 | [diff] [blame] | 303 | pullPolicy: Always |
Alexis de Talhouët | d97a78c | 2017-12-11 08:36:25 -0500 | [diff] [blame] | 304 | |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 305 | flavor: small |
| 306 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 307 | # flag to enable debugging - application support required |
| 308 | debugEnabled: false |
Jerome Doucerain | 9e5c757 | 2018-03-17 14:18:41 -0400 | [diff] [blame] | 309 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 310 | # application configuration |
BorislavG | e3b6f91 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 311 | config: |
| 312 | logstashServiceName: log-ls |
| 313 | logstashPort: 5044 |
| 314 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 315 | # default number of instances |
| 316 | replicaCount: 1 |
| 317 | |
| 318 | nodeSelector: {} |
| 319 | |
| 320 | affinity: {} |
| 321 | |
| 322 | # probe configuration parameters |
| 323 | liveness: |
| 324 | initialDelaySeconds: 10 |
| 325 | periodSeconds: 10 |
| 326 | # necessary to disable liveness probe when setting breakpoints |
| 327 | # in debugger so K8s doesn't restart unresponsive container |
| 328 | enabled: true |
| 329 | |
Mahendra Raghuwanshi | 105cbb9 | 2019-03-20 06:36:19 +0000 | [diff] [blame] | 330 | #This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use. |
| 331 | #Below command will instantiate the aai cassandra instances: |
| 332 | #helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \ |
| 333 | # --set aai.global.cassandra.localCluster=true \ |
| 334 | # --set aai.global.cassandra.serviceName=aai-cassandra |
| 335 | cassandra: |
| 336 | nameOverride: aai-cassandra |
| 337 | replicaCount: 3 |
| 338 | service: |
| 339 | name: aai-cassandra |
| 340 | persistence: |
| 341 | mountSubPath: aai/cassandra |
| 342 | enabled: true |
| 343 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 344 | readiness: |
| 345 | initialDelaySeconds: 10 |
| 346 | periodSeconds: 10 |
| 347 | |
| 348 | service: |
| 349 | type: NodePort |
Harish Venkata Kajur | 0f43cf5 | 2019-04-26 15:13:09 -0400 | [diff] [blame] | 350 | portName: aai-ssl |
| 351 | externalPort: 8443 |
| 352 | internalPort: 8443 |
| 353 | nodePort: 33 |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 354 | # POLICY hotfix - Note this must be temporary |
| 355 | # See https://jira.onap.org/browse/POLICY-510 |
| 356 | aaiServiceClusterIp: |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 357 | |
| 358 | ingress: |
| 359 | enabled: false |
| 360 | |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 361 | resources: |
| 362 | small: |
| 363 | limits: |
| 364 | cpu: 2 |
| 365 | memory: 4Gi |
| 366 | requests: |
Mandeep Khinda | 654dbb5 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 367 | cpu: 1 |
| 368 | memory: 1Gi |
rajeshkalai | 442b8f0 | 2018-09-18 16:55:39 -0400 | [diff] [blame] | 369 | large: |
| 370 | limits: |
| 371 | cpu: 4 |
| 372 | memory: 8Gi |
| 373 | requests: |
Mandeep Khinda | 654dbb5 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 374 | cpu: 2 |
| 375 | memory: 2Gi |
Ravi Geda | 375666c | 2018-09-30 21:14:41 +0100 | [diff] [blame] | 376 | unlimited: {} |