From fc165016d5757a119c93e9d9ae73766fbd3db1fc Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Mon, 28 Sep 2020 10:09:36 -0400 Subject: Fix service blueprints Blueprints were failing enrichment. Cba's were referencing requirement restconf-connection which is not defined in component-netconf-executor. Added new capability for restconf and fixed referencing Issue-ID: CCSDK-2859 Change-Id: I13f8800ea5fad9daed8a8b7b81cc3649efbebbc9 Signed-off-by: Jozsef Csongvai (cherry picked from commit 919a7aa6ecbb06a4d04afba280202bdedef0eb52) --- .../service-blueprint/vLB/Scripts/kotlin/ConfigDeploy.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/ConfigDeploy.kt') diff --git a/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/ConfigDeploy.kt b/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/ConfigDeploy.kt index 61cde0521..737fb4234 100644 --- a/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/ConfigDeploy.kt +++ b/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/kotlin/ConfigDeploy.kt @@ -51,7 +51,7 @@ open class ConfigDeploy : AbstractScriptComponentFunction() { val vdns_ip: String = payloadObject.get("vdns-instance")[0].get("ip-addr").asText() val blueprintContext = bluePrintRuntimeService.bluePrintContext() - val requirement = blueprintContext.nodeTemplateRequirement(nodeTemplateName, "restconf-connection") + val requirement = blueprintContext.nodeTemplateRequirement(nodeTemplateName, "netconf-connection") val capabilityProperties = bluePrintRuntimeService.resolveNodeTemplateCapabilityProperties(requirement.node!!, requirement.capability!!) val netconfDeviceInfo = JacksonUtils.getInstanceFromMap(capabilityProperties, NetconfDeviceInfo::class.java) log.info("Waiting for 2 minutes until vLB intializes ...") -- cgit 1.2.3-korg