Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service config - Accept/Reject/Unconfirmed Flag #37

Open
linux4life798 opened this issue Mar 15, 2018 · 1 comment
Open

Service config - Accept/Reject/Unconfirmed Flag #37

linux4life798 opened this issue Mar 15, 2018 · 1 comment

Comments

@linux4life798
Copy link
Member

linux4life798 commented Mar 15, 2018

Services should be able to give the rest interface feedback about whether it accepts or rejects the config for a device. When the service starts up, it should be able to see if it previously accepted or rejected a certain config.

Certain services that manage registration, such as lorawangw and lorawan, require configs that may collide with each other(other device's configs). Only one device's config must succeed.

This proposed change would fix the current race condition that occurs when these types of services startup.
Additionally, it would give the website a clear Good or Bad for the linked service, which it could then allow it to show a warning/error for a certain service.

Details

  • The interface for flags probably should not alienate very simple services that do not want to use it. Thus, there should be some REST side default action, like auto accept if a status is posted, simply stay in unconfirmed state, or add a fourth state that indicates the config was observed.
@linux4life798
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant