From 968cd1f0e8a4b5487933d1e7c2d0049720464d8c Mon Sep 17 00:00:00 2001 From: Petr OspalĂ˝ Date: Fri, 20 Sep 2019 05:51:37 +0200 Subject: Add support for HTTPS in sanity tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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Ă˝ Change-Id: I32e0fb7723ab8489eb09372d410c6f34aaf7cfc8 --- sdc-os-chef/environments/Template.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sdc-os-chef') 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": { -- cgit 1.2.3-korg