Right now we have at least these issues with handing of bindings:
- All usecase client implementations ignore if bindings are rejected and continue as if they would be granted. There is no error handling to the application side
- The spine-go implementation only allows 1 binding per server feature on an entity. This is the safe approach but we need to consider the following additional scenarios:
- the first binding request wins
- the "wrong" device may have been the one with the first binding (e.g. CEM vs SMGW)
Therefor we may need:
- a way for an application to define which device may get the binding
- delete existing bindings and tell the device about this
- handle this scenario in our usecase client side implementations as well
- Handle that some devices may continue to request bindings when they didn't get them approved
There may be more
Right now we have at least these issues with handing of bindings:
Therefor we may need:
There may be more