+ blueprintsProcessorCatalogService.saveToDatabase("1234", file)
+ blueprintsProcessorCatalogService.getFromDatabase("baseconfiguration", "1.0.0")
+
+ blueprintsProcessorCatalogService.deleteFromDatabase("baseconfiguration", "1.0.0")
+ }
+ }
+
+ @Test
+ fun `test save function`() {
+ runBlocking {
+ val file = normalizedFile("./target/blueprints/generated-cba.zip")
+ assertTrue(file.exists(), "couldnt get file ${file.absolutePath}")
+ val metadata = bluePrintRuntimeService.bluePrintContext().metadata!!
+ metadata[BluePrintConstants.PROPERTY_BLUEPRINT_PROCESS_ID] = blueprintId