Device names in endpoint-mgt and traccar are not consistent - Fix #21
Merged
pahansith
merged 13 commits from deenath/device-mgt-core:master
into master
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'deenath/device-mgt-core:master'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Fix: https://roadmap.entgra.net/issues/9656
When renaming an agent, the update wasn't send to the traccar server.
Added new methods and combined it with existing agent modification code
@Override
public void modifyDevice(Device device,int tenantId) throws ExecutionException,InterruptedException{
TraccarDevice traccarDevice = new TraccarDevice(device.getId(), device.getName(), device.getDeviceIdentifier(), null,null,null,null,null,null,null,null,null);
Better to define a new constructor with only required parameters, or create a default constructor and set the required values to the object.
7e914aeafd
into master 2 years ago7e914aeafd
.