aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/resources/config/environments/AUTO.json
blob: 065a7568229774931dc192352f4aac4e2e652d47 (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
    "name": "{{ .Values.env.name }}",
    "description": "OpenSource-{{ .Values.env.name }}",
    "cookbook_versions": {
        "Deploy-SDandC": "= 1.0.0"
    },
    "json_class": "Chef::Environment",
    "chef_type": "environment",

    "default_attributes": {
        "disableHttp": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }},
        "CS_VIP": "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}",
        "BE_VIP": "sdc-be.{{include "common.namespace" .}}",
        "ONBOARDING_BE_VIP": "sdc-onboarding-be.{{include "common.namespace" .}}",
        "FE_VIP": "sdc-fe.{{include "common.namespace" .}}",
        "interfaces": {
            "application": "eth0",
            "private": "eth0"
        },
        "ECompP": {
            "ecomp_rest_url": "https://portal-app.{{include "common.namespace" .}}:8443/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": "https://portal-app.{{include "common.namespace" .}}:30225/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" .}}"
            ]
        },
        "Kafka": {
             "bootstrap": "{{ include "common.release" . }}-strimzi-kafka-bootstrap:9092"
        },
        {{- if .Values.global.kafka.useKafka }}
        "DistributionTopics": {
             "notificationTopicName": "{{ .Values.global.kafka.topics.sdcDistNotifTopic }}",
             "statusTopicName": "{{ .Values.global.kafka.topics.sdcDistStatusTopic }}"
        },
        {{- end }}
        "Nodes": {
            "CS": [
                "{{.Values.global.sdc_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" .}}"
        },
        "VnfRepo": {
            "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
            "vnfRepoHost": "refrepo.{{include "common.namespace" .}}"
        },
        "HelmValidator": {
            "validator_enabled": "{{.Values.sdcHelmValidator.enabled}}",
            "helm_version": "{{.Values.sdcHelmValidator.helmVersion}}",
            "deployable": "{{.Values.sdcHelmValidator.deployable}}",
            "lintable": "{{.Values.sdcHelmValidator.lintable}}",
            "strict_lintable": "{{.Values.sdcHelmValidator.strictLintable}}",
            "validator_url": "{{.Values.sdcHelmValidator.url}}"
        }
    },
    "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/"
        },
        "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.sdc_cassandra.clusterName}}",
            "datacenter_name": "{{.Values.global.sdc_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",
            "janusgraph_connection_timeout": "10000",
            "replication_factor": "{{.Values.global.sdc_cassandra.replicaCount}}",
            "db_cache": "{{.Values.global.sdc_cassandra.dbCache}}",
            "read_consistency_level": "{{.Values.global.sdc_cassandra.readConsistencyLevel}}",
            "write_consistency_level":"{{.Values.global.sdc_cassandra.writeConsistencyLevel}}"
        },
      "DMAAP": {
         "consumer": {
            "host": "dcae-mrtr.com:3905",
            "topic": "operationalEnvironmentEvent",
            "serviceName": "dcae-mrtr.com:3905/events",
            "environment": "TEST",
            "partner": "BOT_R",
            "username": "user1@sdc.com",
            "password": "password=="
         },
         "producer": {
            "host": "olsd004.com:3905",
            "topic": "SDC-FACADE-NOTIF-v1 ",
            "serviceName": "dmaap.com:3905/events",
            "environment": "TEST",
            "username": "user1@sdc.com",
            "password": "password=="
         }
      {{- if .Values.global.aafEnabled }}
      },
      "jetty": {
         "keystore_pwd": "${KEYSTORE_PASS}",
         "truststore_pwd": "${TRUSTSTORE_PASS}",
         "keymanager_pwd": "${KEYMANAGER_PASS}"
      {{- end }}
      }
    }
}