aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/resources/config/environments/AUTO.json
blob: 0c42d860cac7045a5a8e2f9e8a03d0c13849f347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
    "name": "{{ .Values.global.env.name }}",
    "description": "OpenSource-{{ .Values.global.env.name }}",
    "cookbook_versions": {
        "Deploy-SDandC": "= 1.0.0"
    },
    "json_class": "Chef::Environment",
    "chef_type": "environment",

    "default_attributes": {
        "disableHttp": false,
        "CS_VIP": "{{.Values.global.cassandra.serviceName}}.{{include "common.namespace" .}}",
        "BE_VIP": "sdc-be.{{include "common.namespace" .}}",
        "ONBOARDING_BE_VIP": "sdc-onboarding-be.{{include "common.namespace" .}}",
        "DCAE_BE_VIP": "sdc-dcae-be.{{include "common.namespace" .}}",
        "DCAE_FE_VIP": "sdc-dcae-fe.{{include "common.namespace" .}}",
        "DCAE_TOSCA_LAB_VIP": "sdc-dcae-tosca-lab.{{include "common.namespace" .}}",
        "FE_VIP": "sdc-fe.{{include "common.namespace" .}}",
        "ES_VIP": "sdc-es.{{include "common.namespace" .}}",
        "KB_VIP": "sdc-kb.{{include "common.namespace" .}}",
        "interfaces": {
            "application": "eth0",
            "private": "eth0"
        },
        "ECompP": {
            "ecomp_rest_url": "http://portal-app.{{include "common.namespace" .}}:8989/ONAPPORTAL/auxapi",
            "ueb_url_list": "message-router.{{include "common.namespace" .}}, message-router.{{include "common.namespace" .}}",
            "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
            "app_key": "x9UfO7JsDn8BESVX",
            "inbox_name": "ECOMP-PORTAL-INBOX",
            "ecomp_redirect_url": "http://portal-app.{{include "common.namespace" .}}:8989/ONAPPORTAL/login.htm",
            "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
            "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
        },
        "UEB": {
            "PublicKey": "iPIxkpAMI8qTcQj8",
            "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
            "fqdn": [
                "message-router.{{include "common.namespace" .}}",
                "message-router.{{include "common.namespace" .}}"
            ]
        },
        "Nodes": {
            "CS": [
                "{{.Values.global.cassandra.serviceName}}.{{include "common.namespace" .}}"
            ],
            "BE": "sdc-be.{{include "common.namespace" .}}",
            "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}",
            "FE": "sdc-fe.{{include "common.namespace" .}}",
            "ES": [
                "sdc-es.{{include "common.namespace" .}}"
            ],
            "KB": "sdc-kb.{{include "common.namespace" .}}"
        },
        "VnfRepo": {
            "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
            "vnfRepoHost": "refrepo.{{include "common.namespace" .}}"
        }
    },
    "override_attributes": {
        "FE": {
            "http_port": "8181",
            "https_port": "9443"
        },
        "BE": {
            "http_port": "8080",
            "https_port": "8443"
        },
        "ONBOARDING_BE": {
            "http_port": "8081",
            "https_port": "8445",
            "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/"
        },
        "elasticsearch": {
            "cluster_name": "SDC-ES-",
            "ES_path_home": "/usr/share/elasticsearch",
            "ES_path_data": "/usr/share/elasticsearch/data",
            "num_of_replicas": "0",
            "num_of_shards": "1"
        },

        "cassandra": {
            "cassandra_port": 9042,
            "concurrent_reads": "32",
            "num_tokens": "256",
            "data_dir": "/var/lib/cassandra/data",
            "hinted_handoff_enabled": "true",
            "cassandra_user": "asdc_user",
            "cassandra_password": "Aa1234%^!",
            "concurrent_writes": "32",
            "cluster_name": "{{.Values.global.cassandra.clusterName}}",
            "datacenter_name": "{{.Values.global.cassandra.dataCenter}}",
            "multithreaded_compaction": "false",
            "cache_dir": "/var/lib/cassandra/saved_caches",
            "log_file": "/var/lib/cassandra/log/system.log",
            "phi_convict_threshold": "8",
            "commitlog_dir": "/var/lib/cassandra/commitlog",
            "socket_read_timeout": "20000",
            "socket_connect_timeout": "20000",
            "titan_connection_timeout": "10000",
            "replication_factor": "{{.Values.global.cassandra.replicaCount}}"
        }
    }
}