Enabling Code Formatter
[ccsdk/cds.git] / components / model-catalog / blueprint-model / service-blueprint / vLB_CDS_Kotlin / Scripts / kotlin / kotlin.kt
index ef0876f..f8ef7f8 100644 (file)
@@ -39,9 +39,9 @@ open class ConfigDeploy : AbstractScriptComponentFunction() {
 \r
     override suspend fun processNB(executionRequest: ExecutionServiceInput) {\r
         val resolution_key = getDynamicProperties("resolution-key").asText()\r
-        log.info("resolution_key: $resolution_key"\n)\r
+        log.info("resolution_key: $resolution_key"\ n)\r
         val payload = storedContentFromResolvedArtifactNB(resolution_key, "baseconfig")\r
-        log.info("configuration: \n$payload"\n)\r
+        log.info("configuration: \n$payload"\ n)\r
         log.info("Waiting 1 minute and 30 seconds or vLB to initialize ...")\r
         Thread.sleep(90000)\r
         val netconf_device = netconfDevice("netconf-connection")\r
@@ -58,8 +58,6 @@ open class ConfigDeploy : AbstractScriptComponentFunction() {
         //var payloadObject = JacksonUtils.jsonNode(payload) as ObjectNode\r
         //var vdns_ip: String = payloadObject.get("vdns-instance")[0].get("ip-addr").asText()\r
         netconf_session.disconnect()\r
-\r
-\r
     }\r
 \r
     override suspend fun recoverNB(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {\r