From 8ab6b99ad6acc07978977bba42c335dbcdf23116 Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Wed, 11 Nov 2020 19:18:31 -0500 Subject: Remove URI encoding in BlueprintWebClientService Malformed uri's should be handled by resource resolution in the cba Issue-ID: CCSDK-2980 Change-Id: I5c1cf97519a882ff5cf99e9850c65df9ba6d9c36 Signed-off-by: Jozsef Csongvai --- .../rest/service/RestClientServiceTest.kt | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'ms/blueprintsprocessor/modules/commons/rest-lib/src/test/kotlin') diff --git a/ms/blueprintsprocessor/modules/commons/rest-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/RestClientServiceTest.kt b/ms/blueprintsprocessor/modules/commons/rest-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/RestClientServiceTest.kt index 23ac1635b..1778eadbd 100644 --- a/ms/blueprintsprocessor/modules/commons/rest-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/RestClientServiceTest.kt +++ b/ms/blueprintsprocessor/modules/commons/rest-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/RestClientServiceTest.kt @@ -131,19 +131,6 @@ class RestClientServiceTest { ) } - @Test - fun testGetPathParamWithWhitespace() { - val restClientService = bluePrintRestLibPropertyService - .blueprintWebClientService("sample") - val response = restClientService.exchangeResource( - HttpMethod.GET.name, "/sample/path/id 3/get", "" - ) - assertEquals( - "path param id:id 3", response.body, - "failed to get query param response" - ) - } - @Test fun testPatch() { val restClientService = bluePrintRestLibPropertyService -- cgit 1.2.3-korg