diff options
author | 2021-10-25 08:42:33 -0400 | |
---|---|---|
committer | 2021-10-25 12:44:09 +0000 | |
commit | 45ae8909ab6d12df5f61f9279568bef938932298 (patch) | |
tree | 4e12fc2b5bda4cf4a9edba17da3c82e156f2f301 /ms/neng/src/test | |
parent | 558001d751194692cdfc582daf6f916df3a45df6 (diff) |
Support disabling host verification in naming service1.2.1
As a workaround for an issue found in processing SAN certificates,
allow for hostname verification to be diabled by setting the
environment variable DISABLE_HOST_VERIFICATION=true. By default,
host name verification remains enabled ... it must be explicitly
disabled for this environment variable setting.
Issue-ID: CCSDK-3501
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I0e3260cc5b8640814dd2f092aee20bca183dc34b
Diffstat (limited to 'ms/neng/src/test')
-rw-r--r-- | ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/service/extinf/impl/PolicyFinderServiceImplTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/service/extinf/impl/PolicyFinderServiceImplTest.java b/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/service/extinf/impl/PolicyFinderServiceImplTest.java index 7ce03cc5..e31c0987 100644 --- a/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/service/extinf/impl/PolicyFinderServiceImplTest.java +++ b/ms/neng/src/test/java/org/onap/ccsdk/apps/ms/neng/service/extinf/impl/PolicyFinderServiceImplTest.java @@ -130,7 +130,7 @@ public class PolicyFinderServiceImplTest { assertNotNull(service.getPolicyMgrRestTempBuilder()); assertNotNull(service.getAuthInt()); - assertNotNull(service.getRestTemplate()); + assertNotNull(service.getRestTemplate(Boolean.FALSE)); } @Test |