Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 1 | { |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 2 | "name": "{{ .Values.env.name }}", |
| 3 | "description": "OpenSource-{{ .Values.env.name }}", |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 4 | "cookbook_versions": { |
| 5 | "Deploy-SDandC": "= 1.0.0" |
| 6 | }, |
| 7 | "json_class": "Chef::Environment", |
| 8 | "chef_type": "environment", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 9 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 10 | "default_attributes": { |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 11 | "disableHttp": {{ (eq "true" (include "common.needTLS" .)) | ternary "true" "false" }}, |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 12 | "CS_VIP": "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}", |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 13 | "BE_VIP": "sdc-be.{{include "common.namespace" .}}", |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 14 | "ONBOARDING_BE_VIP": "sdc-onboarding-be.{{include "common.namespace" .}}", |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 15 | "FE_VIP": "sdc-fe.{{include "common.namespace" .}}", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | "interfaces": { |
| 17 | "application": "eth0", |
| 18 | "private": "eth0" |
| 19 | }, |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 20 | "ECompP": { |
Ofir Sonsino | daaf1c9 | 2020-03-12 19:28:12 +0200 | [diff] [blame] | 21 | "ecomp_rest_url": "https://portal-app.{{include "common.namespace" .}}:8443/ONAPPORTAL/auxapi", |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 22 | "ueb_url_list": "message-router.{{include "common.namespace" .}}, message-router.{{include "common.namespace" .}}", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 23 | "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu", |
| 24 | "app_key": "x9UfO7JsDn8BESVX", |
| 25 | "inbox_name": "ECOMP-PORTAL-INBOX", |
Ofir Sonsino | daaf1c9 | 2020-03-12 19:28:12 +0200 | [diff] [blame] | 26 | "ecomp_redirect_url": "https://portal-app.{{include "common.namespace" .}}:30225/ONAPPORTAL/login.htm", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 27 | "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1", |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 28 | "decryption_key": "AGLDdG4D04BKm2IxIWEr8o==" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 29 | }, |
| 30 | "UEB": { |
| 31 | "PublicKey": "iPIxkpAMI8qTcQj8", |
| 32 | "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal", |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 33 | "fqdn": [ |
| 34 | "message-router.{{include "common.namespace" .}}", |
| 35 | "message-router.{{include "common.namespace" .}}" |
| 36 | ] |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 37 | }, |
efiacor | 3422fe9 | 2022-07-12 13:19:53 +0100 | [diff] [blame] | 38 | "Kafka": { |
| 39 | "bootstrap": "{{ include "common.release" . }}-{{ .Values.global.kafka.kafkaBootstrap }}" |
| 40 | }, |
| 41 | "DistributionTopics": { |
| 42 | "notificationTopicName": "{{ .Values.global.kafka.topics.sdcDistNotifTopic }}", |
| 43 | "statusTopicName": "{{ .Values.global.kafka.topics.sdcDistStatusTopic }}" |
| 44 | }, |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 45 | "Nodes": { |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 46 | "CS": [ |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 47 | "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}" |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 48 | ], |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 49 | "BE": "sdc-be.{{include "common.namespace" .}}", |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 50 | "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}", |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 51 | "FE": "sdc-fe.{{include "common.namespace" .}}" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 52 | }, |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 53 | "VnfRepo": { |
| 54 | "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}", |
Michael Lando | 65f60bc | 2018-05-16 00:38:09 +0300 | [diff] [blame] | 55 | "vnfRepoHost": "refrepo.{{include "common.namespace" .}}" |
Joanna Jeremicz | fe52bf5 | 2021-04-21 14:31:29 +0200 | [diff] [blame] | 56 | }, |
| 57 | "HelmValidator": { |
| 58 | "validator_enabled": "{{.Values.sdcHelmValidator.enabled}}", |
| 59 | "helm_version": "{{.Values.sdcHelmValidator.helmVersion}}", |
| 60 | "deployable": "{{.Values.sdcHelmValidator.deployable}}", |
| 61 | "lintable": "{{.Values.sdcHelmValidator.lintable}}", |
| 62 | "strict_lintable": "{{.Values.sdcHelmValidator.strictLintable}}", |
| 63 | "validator_url": "{{.Values.sdcHelmValidator.url}}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 64 | } |
| 65 | }, |
| 66 | "override_attributes": { |
| 67 | "FE": { |
| 68 | "http_port": "8181", |
| 69 | "https_port": "9443" |
| 70 | }, |
| 71 | "BE": { |
| 72 | "http_port": "8080", |
| 73 | "https_port": "8443" |
| 74 | }, |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 75 | "ONBOARDING_BE": { |
| 76 | "http_port": "8081", |
priyanshu | 36cede6 | 2018-11-20 13:05:12 +0200 | [diff] [blame] | 77 | "https_port": "8445", |
| 78 | "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/" |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 79 | }, |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 80 | "cassandra": { |
Areli, Fuss (af732p) | 6c9e600 | 2019-04-04 15:47:22 +0300 | [diff] [blame] | 81 | "cassandra_port": 9042, |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 82 | "concurrent_reads": "32", |
| 83 | "num_tokens": "256", |
| 84 | "data_dir": "/var/lib/cassandra/data", |
| 85 | "hinted_handoff_enabled": "true", |
| 86 | "cassandra_user": "asdc_user", |
| 87 | "cassandra_password": "Aa1234%^!", |
| 88 | "concurrent_writes": "32", |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 89 | "cluster_name": "{{.Values.global.sdc_cassandra.clusterName}}", |
| 90 | "datacenter_name": "{{.Values.global.sdc_cassandra.dataCenter}}", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 91 | "multithreaded_compaction": "false", |
| 92 | "cache_dir": "/var/lib/cassandra/saved_caches", |
| 93 | "log_file": "/var/lib/cassandra/log/system.log", |
| 94 | "phi_convict_threshold": "8", |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 95 | "commitlog_dir": "/var/lib/cassandra/commitlog", |
| 96 | "socket_read_timeout": "20000", |
| 97 | "socket_connect_timeout": "20000", |
shrikantawachar | ca99d77 | 2019-06-12 15:57:09 +0530 | [diff] [blame] | 98 | "janusgraph_connection_timeout": "10000", |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 99 | "replication_factor": "{{.Values.global.sdc_cassandra.replicaCount}}", |
| 100 | "db_cache": "{{.Values.global.sdc_cassandra.dbCache}}", |
| 101 | "read_consistency_level": "{{.Values.global.sdc_cassandra.readConsistencyLevel}}", |
| 102 | "write_consistency_level":"{{.Values.global.sdc_cassandra.writeConsistencyLevel}}" |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 103 | }, |
| 104 | "DMAAP": { |
| 105 | "consumer": { |
| 106 | "host": "dcae-mrtr.com:3905", |
| 107 | "topic": "operationalEnvironmentEvent", |
| 108 | "serviceName": "dcae-mrtr.com:3905/events", |
| 109 | "environment": "TEST", |
| 110 | "partner": "BOT_R", |
| 111 | "username": "user1@sdc.com", |
| 112 | "password": "password==" |
| 113 | }, |
| 114 | "producer": { |
| 115 | "host": "olsd004.com:3905", |
| 116 | "topic": "SDC-FACADE-NOTIF-v1 ", |
| 117 | "serviceName": "dmaap.com:3905/events", |
| 118 | "environment": "TEST", |
| 119 | "username": "user1@sdc.com", |
| 120 | "password": "password==" |
| 121 | } |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 122 | {{- if .Values.global.aafEnabled }} |
k.kedron | 2774ab1 | 2020-03-26 11:13:46 +0100 | [diff] [blame] | 123 | }, |
| 124 | "jetty": { |
| 125 | "keystore_pwd": "${KEYSTORE_PASS}", |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 126 | "truststore_pwd": "${TRUSTSTORE_PASS}", |
| 127 | "keymanager_pwd": "${KEYMANAGER_PASS}" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 128 | {{- end }} |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 129 | } |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 130 | } |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 131 | } |