Merge "Updated Cloud Guide with links to wiki"
[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": "{{.Release.Name}}-sdc-cs.{{include "common.namespace" .}}",
13         "BE_VIP": "{{.Release.Name}}-sdc-be.{{include "common.namespace" .}}",
14         "FE_VIP": "{{.Release.Name}}-sdc-fe.{{include "common.namespace" .}}",
15         "ES_VIP": "{{.Release.Name}}-sdc-es.{{include "common.namespace" .}}",
16         "KB_VIP": "{{.Release.Name}}-sdc-kb.{{include "common.namespace" .}}",
17         "interfaces": {
18             "application": "eth0",
19             "private": "eth0"
20         },
21         "ECompP": {
22             "ecomp_rest_url": "http://{{.Release.Name}}-portalapps.{{include "common.namespace" .}}:8989/ONAPPORTAL/auxapi",
23             "ueb_url_list": "{{.Release.Name}}-dmaap.{{include "common.namespace" .}}, {{.Release.Name}}-dmaap.{{include "common.namespace" .}}",
24             "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
25             "app_key": "x9UfO7JsDn8BESVX",
26             "inbox_name": "ECOMP-PORTAL-INBOX",
27             "ecomp_redirect_url": "http://{{.Release.Name}}-portalapps.{{include "common.namespace" .}}:8989/ONAPPORTAL/login.htm",
28             "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
29             "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
30         },
31         "UEB": {
32             "PublicKey": "iPIxkpAMI8qTcQj8",
33             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
34             "fqdn": ["{{.Release.Name}}-dmaap.{{include "common.namespace" .}}", "{{.Release.Name}}-dmaap.{{include "common.namespace" .}}"]
35         },
36         "Nodes": {
37             "CS": "{{.Release.Name}}-sdc-cs.{{include "common.namespace" .}}",
38             "BE": "{{.Release.Name}}-sdc-be.{{include "common.namespace" .}}",
39             "FE": "{{.Release.Name}}-sdc-fe.{{include "common.namespace" .}}",
40             "ES": "{{.Release.Name}}-sdc-es.{{include "common.namespace" .}}",
41             "KB": "{{.Release.Name}}-sdc-kb.{{include "common.namespace" .}}"
42         },
43         "Plugins": {
44             "DCAE": {
45                 "dcae_discovery_url": "{{.Values.config.environment.dcaeUrl}}",
46                 "dcae_source_url": "{{.Values.config.environment.dcaeUrl}}"
47             },
48             "WORKFLOW": {
49                 "workflow_discovery_url": "{{.Values.config.environment.workflowUrl}}",
50                 "workflow_source_url": "{{.Values.config.environment.workflowUrl}}"
51             }
52         },
53         "VnfRepo": {
54             "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
55             "vnfRepoHost": "{{.Values.config.environment.vnfRepoHost}}"
56         }
57     },
58     "override_attributes": {
59         "FE": {
60             "http_port": "8181",
61             "https_port": "9443"
62         },
63         "BE": {
64             "http_port": "8080",
65             "https_port": "8443"
66         },
67         "elasticsearch": {
68             "cluster_name": "SDC-ES-",
69             "ES_path_home": "/usr/share/elasticsearch",
70             "ES_path_data": "/usr/share/elasticsearch/data",
71             "num_of_replicas": "0",
72             "num_of_shards": "1"
73         },
74
75         "cassandra": {
76             "concurrent_reads": "32",
77             "num_tokens": "256",
78             "data_dir": "/var/lib/cassandra/data",
79             "hinted_handoff_enabled": "true",
80             "cassandra_user": "asdc_user",
81             "cassandra_password": "Aa1234%^!",
82             "concurrent_writes": "32",
83             "cluster_name": "SDC-CS-",
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             "titan_connection_timeout": "10000"
92         }
93     }
94 }