aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/environments/Template.json
diff options
context:
space:
mode:
authorPetr OspalĂ˝ <p.ospaly@partner.samsung.com>2019-09-20 05:51:37 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-10-03 15:07:32 +0000
commit968cd1f0e8a4b5487933d1e7c2d0049720464d8c (patch)
treebcafe71526c49168d1402eddbb489a31830e5dab /sdc-os-chef/environments/Template.json
parent5fb549c2847fe5dfdb06019e136913cd0aeea0e9 (diff)
Add support for HTTPS in sanity tests
If 'disableHttp' is enabled then HTTP ports are replaced with HTTPS ports. Also added the latest trustore with AAF issuer. And because certs for SDC components have CN set to "sdc" - environment json must have the domain names correctly too...it will not work with plain IPs. The changes have been tested from CSIT perspective so if something is missing here or wrong then it is due to the fact that I was focusing on bringing https support to the same level as are http tests and there is also the fact that I do not know SDC component at all. The changes are also done in a manner of previous ones - hacked on top of the current codebase, which is in dire need of a rewrite: - duplicated trustores and other artifacts - duplicated scripts and/or similar script with small differences - ui tests use old ubuntu image vs api tests on alpine - chef codebase is very messy and I see no benefit in the current usage Issue-ID: SDC-2564 Signed-off-by: Petr OspalĂ˝ <p.ospaly@partner.samsung.com> Change-Id: I32e0fb7723ab8489eb09372d410c6f34aaf7cfc8
Diffstat (limited to 'sdc-os-chef/environments/Template.json')
-rw-r--r--sdc-os-chef/environments/Template.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/sdc-os-chef/environments/Template.json b/sdc-os-chef/environments/Template.json
index e049258cad..f9e5b6dfd4 100644
--- a/sdc-os-chef/environments/Template.json
+++ b/sdc-os-chef/environments/Template.json
@@ -52,15 +52,18 @@
"override_attributes": {
"FE": {
"http_port": "8181",
- "https_port": "9443"
+ "https_port": "9443",
+ "domain_name": "sdc"
},
"BE": {
"http_port": "8080",
- "https_port": "8443"
+ "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/"
},
"elasticsearch": {