Renaming Files having BluePrint to have Blueprint
[ccsdk/cds.git] / ms / blueprintsprocessor / functions / resource-resolution / src / test / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / functions / resource / resolution / mock / MockDatabaseConfiguration.kt
index 2219f23..653a2c1 100644 (file)
@@ -17,9 +17,9 @@ package org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.moc
 
 import io.mockk.coEvery
 import io.mockk.mockk
-import org.onap.ccsdk.cds.blueprintsprocessor.db.BluePrintDBLibGenericService
-import org.onap.ccsdk.cds.controllerblueprints.core.interfaces.BluePrintValidatorService
-import org.onap.ccsdk.cds.controllerblueprints.core.service.BluePrintRuntimeService
+import org.onap.ccsdk.cds.blueprintsprocessor.db.BlueprintDBLibGenericService
+import org.onap.ccsdk.cds.controllerblueprints.core.interfaces.BlueprintValidatorService
+import org.onap.ccsdk.cds.controllerblueprints.core.service.BlueprintRuntimeService
 import org.springframework.context.annotation.Bean
 import org.springframework.context.annotation.Configuration
 
@@ -27,8 +27,8 @@ import org.springframework.context.annotation.Configuration
 open class MockDBLibGenericService {
 
     @Bean(name = ["MariaDatabaseConfiguration", "MySqlDatabaseConfiguration"])
-    open fun createDatabaseConfiguration(): BluePrintDBLibGenericService {
-        return mockk<BluePrintDBLibGenericService>()
+    open fun createDatabaseConfiguration(): BlueprintDBLibGenericService {
+        return mockk<BlueprintDBLibGenericService>()
     }
 }
 
@@ -36,10 +36,10 @@ open class MockDBLibGenericService {
 open class MockBlueprintProcessorCatalogServiceImpl {
 
     @Bean(name = ["bluePrintRuntimeValidatorService"])
-    open fun bluePrintRuntimeValidatorService(): BluePrintValidatorService {
-        val bluePrintValidatorService = mockk<BluePrintValidatorService>()
-        coEvery { bluePrintValidatorService.validateBluePrints(any<String>()) } returns true
-        coEvery { bluePrintValidatorService.validateBluePrints(any<BluePrintRuntimeService<*>>()) } returns true
+    open fun bluePrintRuntimeValidatorService(): BlueprintValidatorService {
+        val bluePrintValidatorService = mockk<BlueprintValidatorService>()
+        coEvery { bluePrintValidatorService.validateBlueprints(any<String>()) } returns true
+        coEvery { bluePrintValidatorService.validateBlueprints(any<BlueprintRuntimeService<*>>()) } returns true
         return bluePrintValidatorService
     }
 }