Device Profile changes
Section names
Proposed renaming in the device profile:
- Resources → DeviceCommands
- Commands → CoreCommands
Voted on the name change, vote passed with +4
- Tony to file issues for the name change
Resource/DeviceCommand operations
Proposal to remove mixing "get" and "set" operations in a single resource/command
- Tony to update device requirements to remove mixing
Service startup & registry
Not currently using core-metadata or registry (consul) to prevent multiple instances of the same device service
Could have a flag in teh SDK to force a uniqueness check
- How to handle restarts of a crashed service?
Tony: When the registry is in-use, the original idea was that the [service] registry would provide the functionality to prevent multiple instances of a service from being started via it's registration mechanism. This is one of the reasons services should unregister themselves on graceful shutdown. That said, I'm not sure how we handle this if a service crashes.