[SDC Client] Allow HTTP 86/126186/9
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 10 Dec 2021 09:55:32 +0000 (10:55 +0100)
committerDan Timoney <dtimoney@att.com>
Mon, 13 Dec 2021 20:51:33 +0000 (20:51 +0000)
commit6e5625b242c92c7e6763f03daae8cb3238ee760d
treed14e6e7e8605553a6d2652549a3d64ad71ee4380
parent3763eb87d5717063ea35975cce184563013eaad1
[SDC Client] Allow HTTP

By default, SDC client is using only https, which can be problematic
when used on top of service mesh for example.
Let's override isUseHttpsWithSDC in order to allow use of http thanks to
a configuration variable.

Issue-ID: OOM-2258
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I029f1dc802bba647b8088fb61a5e60680337aa00
ms/sdclistener/application/src/main/java/org/onap/ccsdk/cds/sdclistener/SdcListenerConfiguration.java
ms/sdclistener/application/src/main/java/org/onap/ccsdk/cds/sdclistener/service/ListenerServiceImpl.java
ms/sdclistener/application/src/main/resources/application.yaml
ms/sdclistener/application/src/test/java/org/onap/ccsdk/cds/sdclistener/SdcListenerConfigurationTest.java
ms/sdclistener/application/src/test/java/org/onap/ccsdk/cds/sdclistener/service/ListenerServiceImplTest.java
ms/sdclistener/distribution/src/main/dc/docker-compose.yaml
ms/sdclistener/parent/pom.xml