kapua
kapua copied to clipboard
Device registration error when connectionIp exceeds field size
Description
If a birth message contains a connectionIp metric which has a value that exceeds the length of the field in the device registry DB table, the registration of the device fails.
Affected version
Kapua version: 1.0.6
Expected result
The length of the value of this metric can vary significantly based on the device, the infrastructure where the device is deployed etc. There should be some rule in place to properly manage the registration when the value contained in the birth message exceeds the db limits.