make sdnctl user db password configurable for SDNC
[oom.git] / kubernetes / sdc / resources / config / environments / AUTO.json
1 {
2     "name": "{{ .Values.global.env.name }}",
3     "description": "OpenSource-{{ .Values.global.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": false,
12         "CS_VIP": "sdc-cs.{{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         "ES_VIP": "sdc-es.{{include "common.namespace" .}}",
17         "KB_VIP": "sdc-kb.{{include "common.namespace" .}}",
18
19         "interfaces": {
20             "application": "eth0",
21             "private": "eth0"
22         },
23         "ECompP": {
24             "ecomp_rest_url": "http://portal-app.{{include "common.namespace" .}}:8989/ONAPPORTAL/auxapi",
25             "ueb_url_list": "message-router.{{include "common.namespace" .}}, message-router.{{include "common.namespace" .}}",
26             "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
27             "app_key": "x9UfO7JsDn8BESVX",
28             "inbox_name": "ECOMP-PORTAL-INBOX",
29             "ecomp_redirect_url": "http://portal-app.{{include "common.namespace" .}}:8989/ONAPPORTAL/login.htm",
30             "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
31             "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
32         },
33         "UEB": {
34             "PublicKey": "iPIxkpAMI8qTcQj8",
35             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
36             "fqdn": [
37                 "message-router.{{include "common.namespace" .}}",
38                 "message-router.{{include "common.namespace" .}}"
39             ]
40         },
41         "Nodes": {
42             "CS": [
43                 "sdc-cs.{{include "common.namespace" .}}"
44             ],
45             "BE": "sdc-be.{{include "common.namespace" .}}",
46             "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}",
47             "FE": "sdc-fe.{{include "common.namespace" .}}",
48             "ES": [
49                 "sdc-es.{{include "common.namespace" .}}"
50             ],
51             "KB": "sdc-kb.{{include "common.namespace" .}}"
52         },
53         "Plugins": {
54             "DCAE": {
55                 "dcae_discovery_url": "{{.Values.config.environment.dcaeUrl}}",
56                 "dcae_source_url": "{{.Values.config.environment.dcaeUrl}}"
57             },
58             "WORKFLOW": {
59                 "workflow_discovery_url": "{{.Values.config.environment.workflowUrl}}",
60                 "workflow_source_url": "{{.Values.config.environment.workflowUrl}}"
61             }
62         },
63         "VnfRepo": {
64             "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
65             "vnfRepoHost": "{{.Values.config.environment.vnfRepoHost}}"
66         }
67     },
68     "override_attributes": {
69         "FE": {
70             "http_port": "8181",
71             "https_port": "9443"
72         },
73         "BE": {
74             "http_port": "8080",
75             "https_port": "8443"
76         },
77         "ONBOARDING_BE": {
78             "http_port": "8081",
79             "https_port": "8445"
80         },
81         "elasticsearch": {
82             "cluster_name": "SDC-ES-",
83             "ES_path_home": "/usr/share/elasticsearch",
84             "ES_path_data": "/usr/share/elasticsearch/data",
85             "num_of_replicas": "0",
86             "num_of_shards": "1"
87         },
88
89         "cassandra": {
90             "concurrent_reads": "32",
91             "num_tokens": "256",
92             "data_dir": "/var/lib/cassandra/data",
93             "hinted_handoff_enabled": "true",
94             "cassandra_user": "asdc_user",
95             "cassandra_password": "Aa1234%^!",
96             "concurrent_writes": "32",
97             "cluster_name": "SDC-CS-",
98             "multithreaded_compaction": "false",
99             "cache_dir": "/var/lib/cassandra/saved_caches",
100             "log_file": "/var/lib/cassandra/log/system.log",
101             "phi_convict_threshold": "8",
102             "commitlog_dir": "/var/lib/cassandra/commitlog",
103             "socket_read_timeout": "20000",
104             "socket_connect_timeout": "20000",
105             "titan_connection_timeout": "10000"
106         }
107     }
108 }