Real vFW CNF config-assign and config-deploy
[demo.git] / heat / vFW_CNF_CDS / templates / cba / Scripts / kotlin / ConfigDeploy.kt
index 861cdf6..96b3c51 100644 (file)
@@ -30,11 +30,11 @@ open class ConfigDeploy : AbstractScriptComponentFunction() {
     }
 
     override suspend fun processNB(executionRequest: ExecutionServiceInput) {
-        val resolution_key = getDynamicProperties("resolution-key").asText()
-        log.info("Got the resolution_key: $resolution_key from config-deploy going to retrieve the data from DB")
+        val resolutionKey = getDynamicProperties("resolution-key").asText()
+        log.info("Got the resolution_key: $resolutionKey from config-deploy going to retrieve the data from DB")
         val prefix = "config-deploy" // used in the config-assign resolution
 
-        val payload = storedContentFromResolvedArtifactNB(resolution_key, prefix)
+        val payload = storedContentFromResolvedArtifactNB(resolutionKey, prefix)
         log.info("cnf configuration data from DB : \n$payload\n")
 
         println("Run config-deploy")