summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
61dcd85)
The delete endpoint was failing due to missing annotation.
Issue-ID: CCSDK-3798
Change-Id: Ifa857a4842b9528d1e645e1fdeb6781121a930f7
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import org.springframework.stereotype.Repository
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
/**
* ResourceMappingRepository.java Purpose: Provide Configuration Generator ResourceMappingRepository
fun deleteByName(name: String)
/**
fun deleteByName(name: String)
/**
import org.springframework.test.context.ContextConfiguration
import org.springframework.test.context.TestPropertySource
import org.springframework.test.context.junit4.SpringRunner
import org.springframework.test.context.ContextConfiguration
import org.springframework.test.context.TestPropertySource
import org.springframework.test.context.junit4.SpringRunner
-import org.springframework.transaction.annotation.Transactional
@RunWith(SpringRunner::class)
@ContextConfiguration(
@RunWith(SpringRunner::class)
@ContextConfiguration(
@Commit
fun test05Delete() {
resourceDictionaryRepository.deleteByName(sourceName)
@Commit
fun test05Delete() {
resourceDictionaryRepository.deleteByName(sourceName)