From efe96fa26c01a66c673be68d5ecc70f836963505 Mon Sep 17 00:00:00 2001 From: "david.mcweeney" Date: Tue, 28 May 2024 10:45:02 +0100 Subject: CPS-2187 - Move Module Set Tag into request body for data access passthrough Change-Id: If633e1d2cd3e9986917f3537286896198a6a3897 Signed-off-by: david.mcweeney Issue-ID: CPS-2187 --- .../onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/groovy/org') diff --git a/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy b/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy index 23b039bd..a519de7b 100644 --- a/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy +++ b/src/test/groovy/org/onap/cps/ncmp/dmi/rest/controller/DmiRestControllerSpec.groovy @@ -341,14 +341,14 @@ class DmiRestControllerSpec extends Specification { def 'PassThrough logs module set tag'(){ given: 'Passthrough read URL and request data with a module set tag (parameter)' def readPassThroughUrl ="${basePathV1}/ch/some-cmHandle/data/ds/ncmp-datastore:" + - 'passthrough-running?resourceIdentifier=some-resourceIdentifier&moduleSetTag=module-set-tag1' + 'passthrough-running?resourceIdentifier=some-resourceIdentifier' def jsonData = TestUtils.getResourceFileContent('readData.json') when: 'the request is posted' mvc.perform( post(readPassThroughUrl).contentType(MediaType.APPLICATION_JSON).content(jsonData)) then: 'response status is OK' def loggingMessage = getLoggingMessage(0) - assert loggingMessage.contains('module-set-tag1') + assert loggingMessage.contains('module-set-tag-example') } def 'Get resource data for pass-through running with #scenario value in resource identifier param.'() { -- cgit 1.2.3-korg