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 | }, |
| 38 | "Nodes": { |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 39 | "CS": [ |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 40 | "{{.Values.global.sdc_cassandra.serviceName}}.{{include "common.namespace" .}}" |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 41 | ], |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 42 | "BE": "sdc-be.{{include "common.namespace" .}}", |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 43 | "ONBOARDING_BE": "sdc-onboarding-be.{{include "common.namespace" .}}", |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 44 | "FE": "sdc-fe.{{include "common.namespace" .}}" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 45 | }, |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 46 | "VnfRepo": { |
| 47 | "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}", |
Michael Lando | 65f60bc | 2018-05-16 00:38:09 +0300 | [diff] [blame] | 48 | "vnfRepoHost": "refrepo.{{include "common.namespace" .}}" |
Joanna Jeremicz | fe52bf5 | 2021-04-21 14:31:29 +0200 | [diff] [blame] | 49 | }, |
| 50 | "HelmValidator": { |
| 51 | "validator_enabled": "{{.Values.sdcHelmValidator.enabled}}", |
| 52 | "helm_version": "{{.Values.sdcHelmValidator.helmVersion}}", |
| 53 | "deployable": "{{.Values.sdcHelmValidator.deployable}}", |
| 54 | "lintable": "{{.Values.sdcHelmValidator.lintable}}", |
| 55 | "strict_lintable": "{{.Values.sdcHelmValidator.strictLintable}}", |
| 56 | "validator_url": "{{.Values.sdcHelmValidator.url}}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 57 | } |
| 58 | }, |
| 59 | "override_attributes": { |
| 60 | "FE": { |
| 61 | "http_port": "8181", |
| 62 | "https_port": "9443" |
| 63 | }, |
| 64 | "BE": { |
| 65 | "http_port": "8080", |
| 66 | "https_port": "8443" |
| 67 | }, |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 68 | "ONBOARDING_BE": { |
| 69 | "http_port": "8081", |
priyanshu | 36cede6 | 2018-11-20 13:05:12 +0200 | [diff] [blame] | 70 | "https_port": "8445", |
| 71 | "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/" |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 72 | }, |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 73 | "cassandra": { |
Areli, Fuss (af732p) | 6c9e600 | 2019-04-04 15:47:22 +0300 | [diff] [blame] | 74 | "cassandra_port": 9042, |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 75 | "concurrent_reads": "32", |
| 76 | "num_tokens": "256", |
| 77 | "data_dir": "/var/lib/cassandra/data", |
| 78 | "hinted_handoff_enabled": "true", |
| 79 | "cassandra_user": "asdc_user", |
| 80 | "cassandra_password": "Aa1234%^!", |
| 81 | "concurrent_writes": "32", |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 82 | "cluster_name": "{{.Values.global.sdc_cassandra.clusterName}}", |
| 83 | "datacenter_name": "{{.Values.global.sdc_cassandra.dataCenter}}", |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 84 | "multithreaded_compaction": "false", |
| 85 | "cache_dir": "/var/lib/cassandra/saved_caches", |
| 86 | "log_file": "/var/lib/cassandra/log/system.log", |
| 87 | "phi_convict_threshold": "8", |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 88 | "commitlog_dir": "/var/lib/cassandra/commitlog", |
| 89 | "socket_read_timeout": "20000", |
| 90 | "socket_connect_timeout": "20000", |
shrikantawachar | ca99d77 | 2019-06-12 15:57:09 +0530 | [diff] [blame] | 91 | "janusgraph_connection_timeout": "10000", |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 92 | "replication_factor": "{{.Values.global.sdc_cassandra.replicaCount}}", |
| 93 | "db_cache": "{{.Values.global.sdc_cassandra.dbCache}}", |
| 94 | "read_consistency_level": "{{.Values.global.sdc_cassandra.readConsistencyLevel}}", |
| 95 | "write_consistency_level":"{{.Values.global.sdc_cassandra.writeConsistencyLevel}}" |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 96 | }, |
| 97 | "DMAAP": { |
| 98 | "consumer": { |
| 99 | "host": "dcae-mrtr.com:3905", |
| 100 | "topic": "operationalEnvironmentEvent", |
| 101 | "serviceName": "dcae-mrtr.com:3905/events", |
| 102 | "environment": "TEST", |
| 103 | "partner": "BOT_R", |
| 104 | "username": "user1@sdc.com", |
| 105 | "password": "password==" |
| 106 | }, |
| 107 | "producer": { |
| 108 | "host": "olsd004.com:3905", |
| 109 | "topic": "SDC-FACADE-NOTIF-v1 ", |
| 110 | "serviceName": "dmaap.com:3905/events", |
| 111 | "environment": "TEST", |
| 112 | "username": "user1@sdc.com", |
| 113 | "password": "password==" |
| 114 | } |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 115 | {{- if .Values.global.aafEnabled }} |
k.kedron | 2774ab1 | 2020-03-26 11:13:46 +0100 | [diff] [blame] | 116 | }, |
| 117 | "jetty": { |
| 118 | "keystore_pwd": "${KEYSTORE_PASS}", |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 119 | "truststore_pwd": "${TRUSTSTORE_PASS}", |
| 120 | "keymanager_pwd": "${KEYMANAGER_PASS}" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 121 | {{- end }} |
shrek2000 | f336f6d | 2020-02-25 16:11:26 +0200 | [diff] [blame] | 122 | } |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 123 | } |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 124 | } |