[SDC] Add missing dependency to cassandra chart
[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": {{ .Values.global.security.disableHttp }},
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         "Nodes": {
39             "CS": [
40                 "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}"
41             ],
42             "BE": "sdc-be.{{include "common.namespace" .}}",
43             "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}",
44             "FE": "sdc-fe.{{include "common.namespace" .}}"
45         },
46         "VnfRepo": {
47             "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
48             "vnfRepoHost": "refrepo.{{include "common.namespace" .}}"
49         },
50         "HelmValidator": {
51             "validator_enabled": "{{.Values.sdcHelmValidator.enabled}}",
52             "helm_version": "{{.Values.sdcHelmValidator.helmVersion}}",
53             "deployable": "{{.Values.sdcHelmValidator.deployable}}",
54             "lintable": "{{.Values.sdcHelmValidator.lintable}}",
55             "strict_lintable": "{{.Values.sdcHelmValidator.strictLintable}}",
56             "validator_url": "{{.Values.sdcHelmValidator.url}}"
57         }
58     },
59     "override_attributes": {
60         "FE": {
61             "http_port": "8181",
62             "https_port": "9443"
63         },
64         "BE": {
65             "http_port": "8080",
66             "https_port": "8443"
67         },
68         "ONBOARDING_BE": {
69             "http_port": "8081",
70             "https_port": "8445",
71             "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/"
72         },
73         "cassandra": {
74             "cassandra_port": 9042,
75             "concurrent_reads": "32",
76             "num_tokens": "256",
77             "data_dir": "/var/lib/cassandra/data",
78             "hinted_handoff_enabled": "true",
79             "cassandra_user": "asdc_user",
80             "cassandra_password": "Aa1234%^!",
81             "concurrent_writes": "32",
82             "cluster_name": "{{.Values.global.sdc_cassandra.clusterName}}",
83             "datacenter_name": "{{.Values.global.sdc_cassandra.dataCenter}}",
84             "multithreaded_compaction": "false",
85             "cache_dir": "/var/lib/cassandra/saved_caches",
86             "log_file": "/var/lib/cassandra/log/system.log",
87             "phi_convict_threshold": "8",
88             "commitlog_dir": "/var/lib/cassandra/commitlog",
89             "socket_read_timeout": "20000",
90             "socket_connect_timeout": "20000",
91             "janusgraph_connection_timeout": "10000",
92             "replication_factor": "{{.Values.global.sdc_cassandra.replicaCount}}",
93             "db_cache": "{{.Values.global.sdc_cassandra.dbCache}}",
94             "read_consistency_level": "{{.Values.global.sdc_cassandra.readConsistencyLevel}}",
95             "write_consistency_level":"{{.Values.global.sdc_cassandra.writeConsistencyLevel}}"
96         },
97       "DMAAP": {
98          "consumer": {
99             "host": "dcae-mrtr.com:3905",
100             "topic": "operationalEnvironmentEvent",
101             "serviceName": "dcae-mrtr.com:3905/events",
102             "environment": "TEST",
103             "partner": "BOT_R",
104             "username": "user1@sdc.com",
105             "password": "password=="
106          },
107          "producer": {
108             "host": "olsd004.com:3905",
109             "topic": "SDC-FACADE-NOTIF-v1 ",
110             "serviceName": "dmaap.com:3905/events",
111             "environment": "TEST",
112             "username": "user1@sdc.com",
113             "password": "password=="
114          }
115       },
116       "jetty": {
117          "keystore_pwd": "${KEYSTORE_PASS}",
118          "truststore_pwd": "${TRUSTSTORE_PASS}",
119          "keymanager_pwd": "${KEYMANAGER_PASS}"
120       }
121     }
122 }