cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

Replace ProtocolData with Deployments #322

Closed rhythnic closed 4 years ago

rhythnic commented 5 years ago

Make Deployment models for Application, Device, and DeviceProfile. Deployment records store the relevant IDs and meta around syncing something with a remote network. Deployment records will hopefully make LPWAN Server less dependent on the health of the networks. They are the focal point of syncing apps/devices with networks. LPWAN Server will report success to the client after writing the deployment records. Event listeners and schedulers can use the deployment records as instructions for how to sync with external networks. The deployment records have a meta property that will hold network errors, etc. The deployment docs can be pulled down to the UI and used to show specifically what is wrong with syncing with networks. Deployment records can be used internally until the v2 API release.