From 86da168854ba8807a92868cc955d959f643d9b4e Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Mon, 31 Oct 2022 16:25:57 -0400 Subject: Add @transactional to delete data-dictionary The delete endpoint was failing due to missing annotation. Issue-ID: CCSDK-3798 Change-Id: Ifa857a4842b9528d1e645e1fdeb6781121a930f7 Signed-off-by: Jozsef Csongvai (cherry picked from commit 46febe27ee933031db06c002d14aa1c911048fe1) --- .../designer/api/repository/ResourceDictionaryRepository.kt | 2 ++ .../designer/api/repository/ResourceDictionaryReactRepositoryTest.kt | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ms/blueprintsprocessor/modules/inbounds/designer-api') diff --git a/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/repository/ResourceDictionaryRepository.kt b/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/repository/ResourceDictionaryRepository.kt index 703542f60..e44e4e8c7 100644 --- a/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/repository/ResourceDictionaryRepository.kt +++ b/ms/blueprintsprocessor/modules/inbounds/designer-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/designer/api/repository/ResourceDictionaryRepository.kt @@ -20,6 +20,7 @@ import org.onap.ccsdk.cds.blueprintsprocessor.designer.api.domain.ResourceDictio import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.Query import org.springframework.stereotype.Repository +import javax.transaction.Transactional /** * ResourceMappingRepository.java Purpose: Provide Configuration Generator ResourceMappingRepository @@ -59,6 +60,7 @@ interface ResourceDictionaryRepository : JpaRepository