Merge "Add missing naming policy for vFW_NextGen"
[oom.git] / kubernetes / sdc / resources / config / environments / AUTO.json
index d35590e..67e237a 100755 (executable)
@@ -1,41 +1,74 @@
 {
-   "name": "AUTO",
-   "description": "OpenSource-AUTO",
-   "cookbook_versions": {
-            "Deploy-SDandC": "= 1.0.0"
-   },
-   "json_class": "Chef::Environment",
-   "chef_type": "environment",
+    "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": {
-        "CS_VIP": "sdc-cs.{{.Values.nsPrefix}}",
-        "BE_VIP": "sdc-be.{{.Values.nsPrefix}}",
-        "FE_VIP": "sdc-fe.{{.Values.nsPrefix}}",
-        "ES_VIP": "sdc-es.{{.Values.nsPrefix}}",
+    "default_attributes": {
+        "disableHttp": false,
+        "CS_VIP": "sdc-cs.{{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://portalapps.{{.Values.nsPrefix}}:8989/ONAPPORTAL/auxapi",
-            "ueb_url_list": "dmaap.{{.Values.nsPrefix}}, dmaap.{{.Values.nsPrefix}}",
+        "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://portalapps.{{.Values.nsPrefix}}:8989/ONAPPORTAL/login.htm",
+            "ecomp_redirect_url": "http://portal-app.{{include "common.namespace" .}}:8989/ONAPPORTAL/login.htm",
             "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
-                        "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
+            "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
         },
         "UEB": {
             "PublicKey": "iPIxkpAMI8qTcQj8",
             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
-            "fqdn": ["dmaap.{{.Values.nsPrefix}}", "dmaap.{{.Values.nsPrefix}}"]
+            "fqdn": [
+                "message-router.{{include "common.namespace" .}}",
+                "message-router.{{include "common.namespace" .}}"
+            ]
         },
         "Nodes": {
-            "CS": "sdc-cs.{{.Values.nsPrefix}}",
-            "BE": "sdc-be.{{.Values.nsPrefix}}",
-            "FE": "sdc-fe.{{.Values.nsPrefix}}",
-            "ES": "sdc-es.{{.Values.nsPrefix}}"
+            "CS": [
+                "sdc-cs.{{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" .}}"
+        },
+        "Plugins": {
+            "DCAE": {
+                "dcae_discovery_url": "http://sdc-dcae-fe.{{include "common.namespace" .}}:8183/dcaed/#/home",
+                "dcae_source_url": "http://sdc.dcae.plugin.simpledemo.onap.org:30263/dcaed/#/home"
+            },
+            "DCAE-TAB": {
+                "dcae_dt_discovery_url": "http://sdc-dcae-dt.{{include "common.namespace" .}}:8186/dcae/#/dcae/home",
+                "dcae_dt_source_url": "http://sdc.dcae.plugin.simpledemo.onap.org:30265/dcae/#/dcae/home"
+            },
+            "WORKFLOW": {
+                "workflow_discovery_url": "http://sdc-wfd-fe.{{include "common.namespace" .}}:8080",
+                "workflow_source_url": "http://sdc.workflow.plugin.simpledemo.onap.org:30256"
+            }
+        },
+        "VnfRepo": {
+            "vnfRepoPort": "{{.Values.config.environment.vnfRepoPort}}",
+            "vnfRepoHost": "refrepo.{{include "common.namespace" .}}"
         }
     },
     "override_attributes": {
             "http_port": "8080",
             "https_port": "8443"
         },
+        "ONBOARDING_BE": {
+            "http_port": "8081",
+            "https_port": "8445"
+        },
         "elasticsearch": {
             "cluster_name": "SDC-ES-",
             "ES_path_home": "/usr/share/elasticsearch",
             "cassandra_password": "Aa1234%^!",
             "concurrent_writes": "32",
             "cluster_name": "SDC-CS-",
+            "datacenter_name": "SDC-CS-",
             "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"
+            "commitlog_dir": "/var/lib/cassandra/commitlog",
+            "socket_read_timeout": "20000",
+            "socket_connect_timeout": "20000",
+            "titan_connection_timeout": "10000"
         }
     }
 }