-
Bug
-
Resolution: Done
-
Medium
-
El Alto Release
-
None
-
El Alto Sprint 1
When we use verb PUT with primary-config-data capability, the response code is (201 - Created) and the response body is Null. This causes exception due to the code below.
if (responseStatusCode in 200..299 && !responseBody.isBlank())
{ populateResource(resourceAssignment, sourceProperties, responseBody, path) }else
{ val errMsg = "Failed to get $dSource result for dictionary name ($dName) using urlPath ($urlPath) response_code: ($responseStatusCode)" logger.warn(errMsg) throw BluePrintProcessorException(errMsg) }I propose new code to handle the response body = Null, by skipping populateResource method if we have outputKeyMappings = Null.