diff options
author | Serge Simard <serge@agilitae.com> | 2019-06-03 14:36:50 -0400 |
---|---|---|
committer | Serge Simard <serge@agilitae.com> | 2019-06-03 14:47:22 -0400 |
commit | 026433ce63e27c551ea7f06e48088a105ef5992e (patch) | |
tree | 1542026198351adf9592f107f4835e483a7bcdf7 /ms/controllerblueprints | |
parent | 3fa6fd4c5a9f6bf5ca522b7dffe07c77626e6403 (diff) |
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>
Diffstat (limited to 'ms/controllerblueprints')
-rw-r--r-- | ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/validation/utils/PropertyAssignmentValidationUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/validation/utils/PropertyAssignmentValidationUtils.kt b/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/validation/utils/PropertyAssignmentValidationUtils.kt index 35ddc5b6f..2ef70164a 100644 --- a/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/validation/utils/PropertyAssignmentValidationUtils.kt +++ b/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/validation/utils/PropertyAssignmentValidationUtils.kt @@ -91,7 +91,7 @@ open class PropertyAssignmentValidationUtils(private val bluePrintContext: BlueP } check(isValid) { - throw BluePrintException("property(propertyName) defined of type(propertyType) is not comptable with the value (propertyAssignment)") + throw BluePrintException("property($propertyName) defined of type($propertyType) is not comptable with the value ($propertyAssignment)") } } |