| { |
| "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 }} |
| } |
| } |
| } |