Merge "[AAI] Add model-loader tracing config"
[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": 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             {{- if .Values.global.kafka.useKafka }}
23             "ueb_url_list": "no-message-router.{{include "common.namespace" .}}, message-router.{{include "common.namespace" .}}",
24             {{- else }}
25             "ueb_url_list": "message-router.{{include "common.namespace" .}}, message-router.{{include "common.namespace" .}}",
26             {{- end }}
27             "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
28             "app_key": "x9UfO7JsDn8BESVX",
29             "inbox_name": "ECOMP-PORTAL-INBOX",
30             "ecomp_redirect_url": "https://portal-app.{{include "common.namespace" .}}:30225/ONAPPORTAL/login.htm",
31             "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
32             "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
33         },
34         "UEB": {
35             "PublicKey": "iPIxkpAMI8qTcQj8",
36             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
37             "fqdn": [
38                 {{- if .Values.global.kafka.useKafka }}
39                 "no-message-router.{{include "common.namespace" .}}",
40                 "no-message-router.{{include "common.namespace" .}}"
41                 {{- else }}
42                 "message-router.{{include "common.namespace" .}}",
43                 "message-router.{{include "common.namespace" .}}"
44                 {{- end }}
45             ]
46         },
47         "Kafka": {
48              "bootstrap": "{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092"
49         },
50         {{- if .Values.global.kafka.useKafka }}
51         "DistributionTopics": {
52              "notificationTopicName": "{{ .Values.global.kafka.topics.sdcDistNotifTopic }}",
53              "statusTopicName": "{{ .Values.global.kafka.topics.sdcDistStatusTopic }}"
54         },
55         {{- end }}
56         "Nodes": {
57             "CS": [
58                 "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}"
59             ],
60             "BE": "sdc-be.{{include "common.namespace" .}}",
61             "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}",
62             "FE": "sdc-fe.{{include "common.namespace" .}}"
63         },
64         "VnfRepo": {
65             "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
66             "vnfRepoHost": "refrepo.{{include "common.namespace" .}}"
67         },
68         "HelmValidator": {
69             "validator_enabled": "{{.Values.sdcHelmValidator.enabled}}",
70             "helm_version": "{{.Values.sdcHelmValidator.helmVersion}}",
71             "deployable": "{{.Values.sdcHelmValidator.deployable}}",
72             "lintable": "{{.Values.sdcHelmValidator.lintable}}",
73             "strict_lintable": "{{.Values.sdcHelmValidator.strictLintable}}",
74             "validator_url": "{{.Values.sdcHelmValidator.url}}"
75         }
76     },
77     "override_attributes": {
78         "FE": {
79             "http_port": "8181",
80             "https_port": "9443"
81         },
82         "BE": {
83             "http_port": "8080",
84             "https_port": "8443"
85         },
86         "ONBOARDING_BE": {
87             "http_port": "8081",
88             "https_port": "8445",
89             "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/"
90         },
91         "cassandra": {
92             "cassandra_port": 9042,
93             "concurrent_reads": "32",
94             "num_tokens": "256",
95             "data_dir": "/var/lib/cassandra/data",
96             "hinted_handoff_enabled": "true",
97             "cassandra_user": "asdc_user",
98             "cassandra_password": "Aa1234%^!",
99             "concurrent_writes": "32",
100             "cluster_name": "{{.Values.global.sdc_cassandra.clusterName}}",
101             "datacenter_name": "{{.Values.global.sdc_cassandra.dataCenter}}",
102             "multithreaded_compaction": "false",
103             "cache_dir": "/var/lib/cassandra/saved_caches",
104             "log_file": "/var/lib/cassandra/log/system.log",
105             "phi_convict_threshold": "8",
106             "commitlog_dir": "/var/lib/cassandra/commitlog",
107             "socket_read_timeout": "20000",
108             "socket_connect_timeout": "20000",
109             "janusgraph_connection_timeout": "10000",
110             "replication_factor": "{{.Values.global.sdc_cassandra.replicaCount}}",
111             "db_cache": "{{.Values.global.sdc_cassandra.dbCache}}",
112             "read_consistency_level": "{{.Values.global.sdc_cassandra.readConsistencyLevel}}",
113             "write_consistency_level":"{{.Values.global.sdc_cassandra.writeConsistencyLevel}}"
114         },
115       "DMAAP": {
116          "consumer": {
117             "host": "dcae-mrtr.com:3905",
118             "topic": "operationalEnvironmentEvent",
119             "serviceName": "dcae-mrtr.com:3905/events",
120             "environment": "TEST",
121             "partner": "BOT_R",
122             "username": "user1@sdc.com",
123             "password": "password=="
124          },
125          "producer": {
126             "host": "olsd004.com:3905",
127             "topic": "SDC-FACADE-NOTIF-v1 ",
128             "serviceName": "dmaap.com:3905/events",
129             "environment": "TEST",
130             "username": "user1@sdc.com",
131             "password": "password=="
132          }
133       }
134     }
135 }