Cumulocity IoT Transport
PAM-32563
Undo breaking change to GenericResponse.body behavior.
In 10.7.0 we introduced a breaking change to GenericResponse.body to remove an erroneous single-element dictionary in which the actual body had been wrapped. This caused an unacceptable level of inconvenience to our cloud customers since this change had not been warned in advance. Accordingly, we have reverted the change in the 10.7.1.3 fix. If you rely on this new behavior, you can restore it in one of two fashions:
Call the new
GenericResponse.getBody() method we added in this fix which will always return the new, unadorned, body.
Set the property
analyticsBuilder.genericResponse.body=payload.body which will change
GenericResponse.body to the new behavior.