Change SQL query syntax for delete resource/template 07/130207/4
authorJozsef Csongvai <jozsef.csongvai@bell.ca>
Wed, 15 Jun 2022 18:26:21 +0000 (14:26 -0400)
committerkuldipr <kuldip.rai@amdocs.com>
Wed, 31 Aug 2022 21:10:23 +0000 (17:10 -0400)
commite8e0087c6aea0bf9b2d3d17207574e8db84ba0f3
tree74abb4823bcc8debb47f9de74160b1531043c8a7
parentc4d74940c9bf8d381fe066d5232a426e573dda98
Change SQL query syntax for delete resource/template

The delete query does not work with Mariadb version 10.1.24.
Changed the syntax so that it will work with both older and newer
versions. Typo in method names has been fixed as well.

Issue-ID: CCSDK-3735
Change-Id: I225752d62068e5aa44354624aa6542a4f4bae73b
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolutionDBService.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolutionRepository.kt
ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/TemplateResolutionRepository.kt
ms/blueprintsprocessor/functions/resource-resolution/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolutionDBServiceTest.kt