astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
241 stars 46 forks source link

Interfaces passed in initial_introspection are not registered in devices-by-interface #391

Open rbino opened 4 years ago

rbino commented 4 years ago

We should copy DataUpdaterPlant.DataUpdater.Queries.register_device_with_interface/4 in Astarte Pairing and add them when initial_introspection is passed during device registration

eddbbt commented 5 months ago

update: This issue was (is) about a corner case misbehavior, such as:

it should not be allowed to delete an interface after at least one device that uses the interface(s) performs the initial connection (device state changes from "never connected"), as this could cause service interruptions