From 7b6da0e35be54ac5ce92458454a6e8d0b83031fd Mon Sep 17 00:00:00 2001 From: JakobKrieg Date: Fri, 23 Oct 2020 13:28:42 +0200 Subject: Simplify PNF-DEMO CBA - fix reference issues causing enrichment/validation to fail - remove redundant data dictionaries - remove redundant template & mapping - rename node-templates for clarity - add workflow outputs for better feedback - remove bash scripts which belong in documentation Issue-ID: CCSDK-2859 Change-Id: I12095f37ff20fcfeee6af43aef3bd221b2ab1ef7 Signed-off-by: JakobKrieg Signed-off-by: Jozsef Csongvai --- .../service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt') diff --git a/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt index 96ef69937..5dc5c1551 100644 --- a/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt +++ b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Aarna Networks, Inc. + * Copyright © 2019 IBM, Bell Canada, AT&T, Orange * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BasicAuthRestClientSe import org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService import org.onap.ccsdk.cds.blueprintsprocessor.services.execution.AbstractScriptComponentFunction import org.onap.ccsdk.cds.controllerblueprints.core.utils.JacksonUtils +import org.onap.ccsdk.cds.controllerblueprints.core.asJsonType import org.slf4j.LoggerFactory import org.springframework.http.HttpMethod import org.springframework.web.client.RestTemplate @@ -66,6 +67,7 @@ open class ConfigDeploy : AbstractScriptComponentFunction() { */ val dev_response = netconf_rpc_client.invokeRpc(payload) log.info("NETCONF device response message : dev_response\n") + setAttribute("response-data", dev_response.asJsonType()) /** netconf_rpc_client.lock("candidate") -- cgit 1.2.3-korg