IntegratedAlarmSystem-Group/ias

The CDB checker to report duplication of IDs

Closed this issue · 3 comments

For the command sending to work (@see #61) there should not be IAS tools with the same ID.

The full runing ID in fact, works well for IASIOs but is not valid for IAS executables. The same problem was already found and fixed for the HB that does not use the IdentifierType

This ticket is to improve the CDB checker to clearly report duplication of IDs between IAS tools.

Convertes and plugins does not need a configuration in the CDB; IDs of Supervisors are unique by definition (cheked by the JSON and RDB CDB implementations).
The cdbChack cannot help much in that sense. The only check is comparing IDs of clients and supervisors but checking of other IDs (plugins and converters) cannot be done.

The CDB reader return the configuration of a client but not the IDs of all the clients.

As of #177 the configuration of plugins might be part of the CDB even if not mandatory.
The CDB checker might be extended to compare IDS of Superviros, clients, plugins and sink to report duplications.

Implemented