[SDC] Add strimzi kafka setup on sdc-be
[oom.git] / kubernetes / sdc / resources / config / environments / AUTO.json
1 {
2     "name": "{{ .Values.env.name }}",
3     "description": "OpenSource-{{ .Values.env.name }}",
4     "cookbook_versions": {
5         "Deploy-SDandC": "= 1.0.0"
6     },
7     "json_class": "Chef::Environment",
8     "chef_type": "environment",
9
10     "default_attributes": {
11         "disableHttp": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }},
12         "CS_VIP": "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}",
13         "BE_VIP": "sdc-be.{{include "common.namespace" .}}",
14         "ONBOARDING_BE_VIP": "sdc-onboarding-be.{{include "common.namespace" .}}",
15         "FE_VIP": "sdc-fe.{{include "common.namespace" .}}",
16         "interfaces": {
17             "application": "eth0",
18             "private": "eth0"
19         },
20         "ECompP": {
21             "ecomp_rest_url": "https://portal-app.{{include "common.namespace" .}}:8443/ONAPPORTAL/auxapi",
22             "ueb_url_list": "message-router.{{include "common.namespace" .}}, message-router.{{include "common.namespace" .}}",
23             "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
24             "app_key": "x9UfO7JsDn8BESVX",
25             "inbox_name": "ECOMP-PORTAL-INBOX",
26             "ecomp_redirect_url": "https://portal-app.{{include "common.namespace" .}}:30225/ONAPPORTAL/login.htm",
27             "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
28             "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
29         },
30         "UEB": {
31             "PublicKey": "iPIxkpAMI8qTcQj8",
32             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
33             "fqdn": [
34                 "message-router.{{include "common.namespace" .}}",
35                 "message-router.{{include "common.namespace" .}}"
36             ]
37         },
38         "Kafka": {
39              "bootstrap": "{{ include "common.release" . }}-{{ .Values.global.kafka.kafkaBootstrap }}"
40         },
41         "DistributionTopics": {
42              "notificationTopicName": "{{ .Values.global.kafka.topics.sdcDistNotifTopic }}",
43              "statusTopicName": "{{ .Values.global.kafka.topics.sdcDistStatusTopic }}"
44         },
45         "Nodes": {
46             "CS": [
47                 "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}"
48             ],
49             "BE": "sdc-be.{{include "common.namespace" .}}",
50             "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}",
51             "FE": "sdc-fe.{{include "common.namespace" .}}"
52         },
53         "VnfRepo": {
54             "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
55             "vnfRepoHost": "refrepo.{{include "common.namespace" .}}"
56         },
57         "HelmValidator": {
58             "validator_enabled": "{{.Values.sdcHelmValidator.enabled}}",
59             "helm_version": "{{.Values.sdcHelmValidator.helmVersion}}",
60             "deployable": "{{.Values.sdcHelmValidator.deployable}}",
61             "lintable": "{{.Values.sdcHelmValidator.lintable}}",
62             "strict_lintable": "{{.Values.sdcHelmValidator.strictLintable}}",
63             "validator_url": "{{.Values.sdcHelmValidator.url}}"
64         }
65     },
66     "override_attributes": {
67         "FE": {
68             "http_port": "8181",
69             "https_port": "9443"
70         },
71         "BE": {
72             "http_port": "8080",
73             "https_port": "8443"
74         },
75         "ONBOARDING_BE": {
76             "http_port": "8081",
77             "https_port": "8445",
78             "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/"
79         },
80         "cassandra": {
81             "cassandra_port": 9042,
82             "concurrent_reads": "32",
83             "num_tokens": "256",
84             "data_dir": "/var/lib/cassandra/data",
85             "hinted_handoff_enabled": "true",
86             "cassandra_user": "asdc_user",
87             "cassandra_password": "Aa1234%^!",
88             "concurrent_writes": "32",
89             "cluster_name": "{{.Values.global.sdc_cassandra.clusterName}}",
90             "datacenter_name": "{{.Values.global.sdc_cassandra.dataCenter}}",
91             "multithreaded_compaction": "false",
92             "cache_dir": "/var/lib/cassandra/saved_caches",
93             "log_file": "/var/lib/cassandra/log/system.log",
94             "phi_convict_threshold": "8",
95             "commitlog_dir": "/var/lib/cassandra/commitlog",
96             "socket_read_timeout": "20000",
97             "socket_connect_timeout": "20000",
98             "janusgraph_connection_timeout": "10000",
99             "replication_factor": "{{.Values.global.sdc_cassandra.replicaCount}}",
100             "db_cache": "{{.Values.global.sdc_cassandra.dbCache}}",
101             "read_consistency_level": "{{.Values.global.sdc_cassandra.readConsistencyLevel}}",
102             "write_consistency_level":"{{.Values.global.sdc_cassandra.writeConsistencyLevel}}"
103         },
104       "DMAAP": {
105          "consumer": {
106             "host": "dcae-mrtr.com:3905",
107             "topic": "operationalEnvironmentEvent",
108             "serviceName": "dcae-mrtr.com:3905/events",
109             "environment": "TEST",
110             "partner": "BOT_R",
111             "username": "user1@sdc.com",
112             "password": "password=="
113          },
114          "producer": {
115             "host": "olsd004.com:3905",
116             "topic": "SDC-FACADE-NOTIF-v1 ",
117             "serviceName": "dmaap.com:3905/events",
118             "environment": "TEST",
119             "username": "user1@sdc.com",
120             "password": "password=="
121          }
122       {{- if .Values.global.aafEnabled }}
123       },
124       "jetty": {
125          "keystore_pwd": "${KEYSTORE_PASS}",
126          "truststore_pwd": "${TRUSTSTORE_PASS}",
127          "keymanager_pwd": "${KEYMANAGER_PASS}"
128       {{- end }}
129       }
130     }
131 }