Blueprint for configuring a PNF
authorottero <rodrigo.ottero@est.tech>
Mon, 11 Mar 2019 14:03:09 +0000 (14:03 +0000)
committerottero <rodrigo.ottero@est.tech>
Mon, 11 Mar 2019 14:03:09 +0000 (14:03 +0000)
This is the first version of a blueprint, intended to be used to
configure PNFs.

The design considers that a blueprint will be created for each possible
PNF.

Change-Id: I4994149441257eb417b6d5f611e12cd81595177f
Issue-ID: CCSDK-1107
Signed-off-by: ottero <rodrigo.ottero@est.tech>
ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/validation/BluePrintArtifactDefinitionValidatorImpl.kt
ms/controllerblueprints/modules/service/src/test/kotlin/org/onap/ccsdk/apps/controllerblueprints/service/enhancer/BluePrintEnhancerServiceImplTest.kt

index 4ea5ab5..8072f28 100644 (file)
@@ -58,7 +58,7 @@ open class BluePrintArtifactDefinitionValidatorImpl(
         val completePath = bluePrintContext.rootPath.plus(File.separator).plus(file)
 
         check(File(completePath).exists()) {
-            throw BluePrintException("couldn't file ($completePath)")
+            throw BluePrintException("couldn't find file ($completePath)")
         }
 
         // Perform Extension Validation
index ccacee0..3bfb3d2 100644 (file)
@@ -65,7 +65,7 @@ class BluePrintEnhancerServiceImplTest {
         val basePath = "./../../../../components/model-catalog/blueprint-model/test-blueprint/baseconfiguration"
 
         val targetPath = Paths.get("target", "bp-enhance").toUri().path
-
+        
         val bluePrintContext = bluePrintEnhancerService.enhance(basePath, targetPath)
         Assert.assertNotNull("failed to get blueprintContext ", bluePrintContext)