anomaly / gallagher

The missing toolkit for extending Gallagher Command Centre, featuring a CLI, SQL interface, TUI and a Python idiomatic SDK
https://anomaly.github.io/gallagher/
MIT License
11 stars 2 forks source link

Synchronisation of command centre data with a local data source (preferably a SQL backend) #9

Open devraj opened 1 year ago

devraj commented 1 year ago

Consider the Cardholder changes endpoint which essentially provides a list of events that occurred against a cardholder. These sorts of endpoints provide valuable information for third party integrations such as the ability to provide a history of when a customer has accessed a door.

Gallagher cloud does not provide the ability to add webhooks to receive events as they occur (which probably makes sense from a deployment and possibly security perspective).

Built on top of the base API client we should provide the ability to synchronise with the command centre, these would have to be written to a backend to keep a shadow of what is available on the command centre. The ida of this is not to query the command centre when the application is rendering interfaces.

This ticket has to be expanded with the details, possibly requires an RFC.

devraj commented 5 months ago

See also article on data sync

devraj commented 4 months ago

See also #31, might be worth merging?