aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/functions/ansible-awx-executor/src
diff options
context:
space:
mode:
authorBrinda Santh <bs2796@att.com>2020-01-31 14:41:41 -0500
committerBrinda Santh <bs2796@att.com>2020-01-31 14:41:41 -0500
commit5c094c6adc53d958b2079de67d9d26242e10d7ef (patch)
tree0185fdf0018c47fa63ff4a1f83eee135e82e1de3 /ms/blueprintsprocessor/functions/ansible-awx-executor/src
parent23f898a96f7e8b3ecb0817abc61612bdc3d2e9aa (diff)
Spring boot, Kotlin version upgrades
Dependent Patch : https://gerrit.onap.org/r/c/ccsdk/parent/+/100990 Fixed Jackson set method according to latest version. Fixed Security properties issues for failed JUnit test cases. Reused maven properties from parent for Spring boot, Nats, Kafka, etc Issue-ID: CCSDK-1737 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I04bb0e535161e05897f587a0f08a2689e10c5f41
Diffstat (limited to 'ms/blueprintsprocessor/functions/ansible-awx-executor/src')
-rw-r--r--ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt
index 9ea6034a8..6f994edab 100644
--- a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt
+++ b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt
@@ -318,14 +318,14 @@ open class ComponentRemoteAnsibleExecutor(
val askLimitOnLaunch = jtLaunchReqs.at("/ask_limit_on_launch").asBoolean()
if (askLimitOnLaunch && !limitProp.isNullOrMissing()) {
- payload.set(INPUT_LIMIT_TO_HOST, limitProp)
+ payload.set<JsonNode>(INPUT_LIMIT_TO_HOST, limitProp)
}
val askTagsOnLaunch = jtLaunchReqs.at("/ask_tags_on_launch").asBoolean()
if (askTagsOnLaunch && !tagsProp.isNullOrMissing()) {
- payload.set(INPUT_TAGS, tagsProp)
+ payload.set<JsonNode>(INPUT_TAGS, tagsProp)
}
if (askTagsOnLaunch && !skipTagsProp.isNullOrMissing()) {
- payload.set("skip_tags", skipTagsProp)
+ payload.set<JsonNode>("skip_tags", skipTagsProp)
}
}
@@ -336,10 +336,10 @@ open class ComponentRemoteAnsibleExecutor(
} else {
inventoryProp
}
- payload.set(INPUT_INVENTORY, inventoryKeyId)
+ payload.set<JsonNode>(INPUT_INVENTORY, inventoryKeyId)
}
- payload.set("extra_vars", extraArgs)
+ payload.set<JsonNode>("extra_vars", extraArgs)
return payload.asJsonString(false)
}