summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-08-13 10:32:41 -0700
committerChristophe Closset <christophe.closset@intl.att.com>2020-08-21 19:21:59 +0000
commit056998c45c0f1e320a0adb1cb23318b6435ac11a (patch)
tree4a24deba9ad0d86a95cf782397697832e30a6b0b /integration-tests/src/test/resources
parente493d4ff662d6f7bf0c7adbc58c356beb2fe2dce (diff)
Add sdc startup in IT
Add the SDC startup for IT tests Issue-ID: SDC-3232 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I865eabfb6c61f26f98ee12906de09f1a8daa469a Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'integration-tests/src/test/resources')
-rw-r--r--integration-tests/src/test/resources/integration-test.json104
1 files changed, 104 insertions, 0 deletions
diff --git a/integration-tests/src/test/resources/integration-test.json b/integration-tests/src/test/resources/integration-test.json
new file mode 100644
index 0000000000..dec9c2f042
--- /dev/null
+++ b/integration-tests/src/test/resources/integration-test.json
@@ -0,0 +1,104 @@
+{
+ "name": "${it.env.name}",
+ "description": "OpenSource-${it.env.name}",
+ "json_class": "Chef::Environment",
+ "chef_type": "environment",
+
+ "default_attributes": {
+ "disableHttp": false,
+ "CS_VIP": "sdc-cs",
+ "BE_VIP": "sdc-BE",
+ "ONBOARDING_BE_VIP": "sdc-onboard-BE",
+ "FE_VIP": "sdc-FE",
+ "DCAE_BE_VIP": "localhost",
+ "DCAE_FE_VIP": "localhost",
+ "DCAE_TOSCA_LAB_VIP": "localhost",
+ "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"]
+ },
+ "Nodes": {
+ "CS": [
+ "sdc-cs"
+ ],
+ "BE": "sdc-BE",
+ "ONBOARDING_BE": "sdc-onboard-BE",
+ "FE": "sdc-FE"
+ },
+ "VnfRepo": {
+ "vnfRepoPort": "8702",
+ "vnfRepoHost": "10.0.14.1"
+ }
+ },
+ "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": "${it.sdc.user}",
+ "cassandra_password": "${it.sdc.password}",
+ "concurrent_writes": "32",
+ "cluster_name": "${it.sdc.cluster.name}",
+ "datacenter_name": "${it.sdc.cluster.name}",
+ "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"
+ },
+ "DMAAP": {
+ "consumer": {
+ "host": "dcae-mrtr.com:3905",
+ "topic": "operationalEnvironmentEvent",
+ "serviceName": "dcae-mrtr.com:3905/events",
+ "environment": "${it.env.name}",
+ "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": "${it.env.name}",
+ "username": "user1@sdc.com",
+ "password": "password=="
+ }
+ }
+ }
+}