aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/masspnfsim/pnf-sim-lightweight/src/main/java/org/onap/pnfsimulator/simulator/client/RestTemplateAdapterImpl.java
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Remove masspnf simulator codeBartek Grzybowski1-155/+0
It has been moved to it's own repository: https://git.onap.org/integration/simulators/masspnf-simulator/ Change-Id: I54b63243eb9e932cd34373ef33679356542349be Issue-ID: INT-1810 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-12-04Add send requests to VES via HTTPS in Mass PNF SimulatorEli Halych1-0/+155
Details: - Previously allowed only HTTP. - HTTPS support added since VES accepts HTTPS and throws 400 Bad Request on HTTP. - Added autogenerating Basic Authorization token based on user:password in Base64 to access real VES together with HTTPS. - For this reason, simple HttpClient became part of RestTemplate that can ignore certificate checks for HTTPS when connecting to VES. - Adjusted test cases. Issue-ID: INT-1799 Signed-off-by: Eli Halych <illia.halych@t-mobile.pl> Change-Id: I69eaeb4b10f903c3a3aa880dbb787034da4c30bb