Implement truststore & keystore handling for cassandra
[sdc.git] / sdc-os-chef / environments / Template.json
index 1022a03..369d224 100644 (file)
 {
    "name": "xxx",
    "description": "OpenSource-xxx",
-   "cookbook_versions": {
-            "Deploy-SDandC": "= 1.0.0"
-   },
    "json_class": "Chef::Environment",
    "chef_type": "environment",
 
    "default_attributes": {
-        "CS_VIP": "yyy",
-        "BE_VIP": "yyy",
-        "FE_VIP": "yyy",
-        "ES_VIP": "yyy",
-        "interfaces": {
-            "application": "eth0",
-            "private": "eth1"
-        },
-               "ECompP": {
-                   "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
-            "ueb_url_list": "10.0.11.1,10.0.11.1", 
-            "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu", 
-            "app_key": "x9UfO7JsDn8BESVX", 
-            "inbox_name": "ECOMP-PORTAL-INBOX", 
-            "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm", 
-            "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
-                       "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
-        }, 
-        "UEB": {
-            "PublicKey": "iPIxkpAMI8qTcQj8",
-            "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
-            "fqdn": ["10.0.11.1", "10.0.11.1"]
-        },
-        "Nodes": {
-            "CS": "yyy",
-            "BE": "yyy",
-            "FE": "yyy",
-            "ES": "yyy"
-        }
-    },
-    "override_attributes": {
-        "FE": {
-            "http_port": "8181",
-            "https_port": "9443"
-        },
-        "BE": {
-            "http_port": "8080",
-            "https_port": "8443"
-        },
-        "elasticsearch": {
-            "cluster_name": "SDC-ES-",
-            "ES_path_home": "/usr/share/elasticsearch",
-            "ES_path_data": "/usr/share/elasticsearch/data",
-            "num_of_replicas": "0",
-            "num_of_shards": "1"
-        },
-
-        "cassandra": {
-            "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": "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"
-        }
-    }
+      "disableHttp": false,
+      "CS_VIP": "yyy",
+      "BE_VIP": "yyy",
+      "ONBOARDING_BE_VIP": "yyy",
+      "FE_VIP": "yyy",
+      "interfaces": {
+         "application": "eth0",
+         "private": "eth1"
+      },
+      "ECompP": {
+         "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
+         "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm",
+         "cipher_key": "AGLDdG4D04BKm2IxIWEr8o==",
+         "portal_user": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA=",
+         "portal_pass": "j85yNhyIs7zKYbR1VlwEfNhS6b7Om4l0Gx5O8931sCI=",
+         "portal_app_name": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA="
+      },
+      "UEB": {
+         "PublicKey": "iPIxkpAMI8qTcQj8",
+         "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
+         "fqdn": ["10.0.11.1", "10.0.11.1"]
+      },
+      "Kafka": {
+         "bootstrap": "kafka-bootstrap:9092"
+      },
+      "DistributionTopics": {
+         "notificationTopicName": "SDC-DISTR-NOTIF-TOPIC",
+         "statusTopicName": "SDC-DISTR-STATUS-TOPIC"
+      },
+      "Nodes": {
+         "CS": [
+            "yyy"
+         ],
+         "BE":            "yyy",
+         "ONBOARDING_BE": "yyy",
+         "FE":            "yyy"
+      },
+      "VnfRepo": {
+         "vnfRepoPort": "8702",
+         "vnfRepoHost": "10.0.14.1"
+      },
+      "HelmValidator": {
+         "validator_enabled": false,
+         "helm_version": "v3",
+         "deployable": true,
+         "lintable": true,
+         "strict_lintable": false,
+         "validator_url": "http://helm-validator:8080/validate"
+      }
+   },
+   "override_attributes": {
+      "FE": {
+         "http_port": "8181",
+         "https_port": "9443",
+         "domain_name": "sdc"
+      },
+      "BE": {
+         "http_port": "8080",
+         "https_port": "8443",
+         "domain_name": "sdc"
+      },
+      "ONBOARDING_BE": {
+         "http_port": "8081",
+         "https_port": "8445",
+         "domain_name": "sdc",
+         "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": "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",
+         "socket_read_timeout": "40000",
+         "socket_connect_timeout": "40000",
+         "janusgraph_connection_timeout": "20000",
+         "replication_factor": "1",
+         "cassandra_keystore_path": "cassandra_keystore_path",
+         "cassandra_keystore_password": "cassandra_keystore_password",
+         "cassandra_truststore_path": "cassandra_truststore_path",
+         "cassandra_truststore_password": "cassandra_truststore_password"
+      },
+      "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=="
+         }
+      }
+   }
 }
-