Merge "clamphealth check"
[oom.git] / kubernetes / sdc / resources / config / environments / AUTO.json
index 5d6eaef..ba6fe97 100755 (executable)
@@ -1,41 +1,68 @@
 {
-   "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": {
+        "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" .}}",
+        "FE_VIP": "sdc-fe.{{include "common.namespace" .}}",
+        "ES_VIP": "sdc-es.{{include "common.namespace" .}}",
+        "KB_VIP": "sdc-kb.{{include "common.namespace" .}}",
 
-   "default_attributes": {
-        "CS_VIP": "sdc-cs.onap-sdc",
-        "BE_VIP": "sdc-be.onap-sdc",
-        "FE_VIP": "sdc-fe.onap-sdc",
-        "ES_VIP": "sdc-es.onap-sdc",
         "interfaces": {
             "application": "eth0",
             "private": "eth0"
         },
-                "ECompP": {
-                    "ecomp_rest_url": "http://portalapps.onap-portal:8989/ONAPPORTAL/auxapi",
-            "ueb_url_list": "dmaap.onap-message-router, dmaap.onap-message-router",
+        "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.onap-portal: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.onap-message-router", "dmaap.onap-message-router"]
+            "fqdn": [
+                "message-router.{{include "common.namespace" .}}",
+                "message-router.{{include "common.namespace" .}}"
+            ]
         },
         "Nodes": {
-            "CS": "sdc-cs.onap-sdc",
-            "BE": "sdc-be.onap-sdc",
-            "FE": "sdc-fe.onap-sdc",
-            "ES": "sdc-es.onap-sdc"
+            "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": "{{.Values.config.environment.dcaeUrl}}",
+                "dcae_source_url": "{{.Values.config.environment.dcaeUrl}}"
+            },
+            "WORKFLOW": {
+                "workflow_discovery_url": "{{.Values.config.environment.workflowUrl}}",
+                "workflow_source_url": "{{.Values.config.environment.workflowUrl}}"
+            }
+        },
+        "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",
             "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"
         }
     }
 }