summaryrefslogtreecommitdiffstats
path: root/integration-tests/environments/integration-test.json
diff options
context:
space:
mode:
authorJulienBe <julien.bertozzi@intl.att.com>2020-08-19 11:12:59 +0200
committerSébastien Determe <sebastien.determe@intl.att.com>2020-08-22 20:22:02 +0000
commitb16794663103fe5716af7627e1d420bf4bbd1aa2 (patch)
tree9d2050a6096a708f87e4e31b2eac399b965b9e5b /integration-tests/environments/integration-test.json
parent056998c45c0f1e320a0adb1cb23318b6435ac11a (diff)
Add sdc startup in IT
Move the Api tests code in the integration-test module, and remove the need to have a container Issue-ID: SDC-3232 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Diffstat (limited to 'integration-tests/environments/integration-test.json')
-rw-r--r--integration-tests/environments/integration-test.json104
1 files changed, 104 insertions, 0 deletions
diff --git a/integration-tests/environments/integration-test.json b/integration-tests/environments/integration-test.json
new file mode 100644
index 0000000000..dec9c2f042
--- /dev/null
+++ b/integration-tests/environments/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=="
+ }
+ }
+ }
+}