Improved error handling for remote ansible executor. 67/89167/2
authorSerge Simard <serge@agilitae.com>
Mon, 3 Jun 2019 18:36:50 +0000 (14:36 -0400)
committerSerge Simard <serge@agilitae.com>
Mon, 3 Jun 2019 18:47:22 +0000 (14:47 -0400)
commit026433ce63e27c551ea7f06e48088a105ef5992e
tree1542026198351adf9592f107f4835e483a7bcdf7
parent3fa6fd4c5a9f6bf5ca522b7dffe07c77626e6403
Improved error handling for remote ansible executor.
  - Aligned error status with AWX job details status; i.e. lowercase
  - Fixed error message in Validation module; encountered during debug.
  - Added better handling of inventory name resolution failure.
  - Now supports json endpoint selector values, via DSL.

Change-Id: I71735956e4b543e5ab62e891ef1e18f4963ffadb
Issue-ID: CCSDK-1357
Signed-off-by: Serge Simard <serge@agilitae.com>
components/model-catalog/blueprint-model/test-blueprint/remote_ansible/Definitions/remote_ansible.json
ms/blueprintsprocessor/functions/ansible-awx-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/ansible/executor/ComponentRemoteAnsibleExecutor.kt
ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/validation/utils/PropertyAssignmentValidationUtils.kt