diff options
author | JakobKrieg <jakob.krieg@bcmsolutions.de> | 2020-10-23 13:28:42 +0200 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-10-28 21:33:48 +0000 |
commit | 7b6da0e35be54ac5ce92458454a6e8d0b83031fd (patch) | |
tree | 5b04ceae67d11e86262cd22145f7ff80b01a181b /components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin | |
parent | cf1e08373c11c19ef6acf6f1390225c6e9ccf4eb (diff) |
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 <jakob.krieg@bcmsolutions.de>
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin')
-rw-r--r-- | components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/kotlin/ConfigDeploy.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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") |