From 5c094c6adc53d958b2079de67d9d26242e10d7ef Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Fri, 31 Jan 2020 14:41:41 -0500 Subject: 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 Change-Id: I04bb0e535161e05897f587a0f08a2689e10c5f41 --- .../ansible/executor/ComponentRemoteAnsibleExecutor.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ms/blueprintsprocessor/functions/ansible-awx-executor') 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(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(INPUT_TAGS, tagsProp) } if (askTagsOnLaunch && !skipTagsProp.isNullOrMissing()) { - payload.set("skip_tags", skipTagsProp) + payload.set("skip_tags", skipTagsProp) } } @@ -336,10 +336,10 @@ open class ComponentRemoteAnsibleExecutor( } else { inventoryProp } - payload.set(INPUT_INVENTORY, inventoryKeyId) + payload.set(INPUT_INVENTORY, inventoryKeyId) } - payload.set("extra_vars", extraArgs) + payload.set("extra_vars", extraArgs) return payload.asJsonString(false) } -- cgit 1.2.3-korg