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

Geofencing - Manage when telco is not able to manage geofencing on the requested area #198

Closed
bigludo7 opened this issue Jun 4, 2024 · 2 comments · Fixed by #224
Closed
Assignees
Labels

Comments

@bigludo7
Copy link
Collaborator

bigludo7 commented Jun 4, 2024

Another point that we should also probably discuss here is at subscription time.

Suppose we get a subscription for an area not covered or below a given percentage, or, for an area too small to be valid (N% will never be above x with current network ).
In these case the consumer will never be able to receive notification.

I tend to think that we must be pro-active on this and refuse the subscription with a explicit message. So we must add this capability in our API.

Probably this extra layer of checking could challenge our capability to answer synchronously to the call so also I'm wondering if we should not add capability to answer asynchronously to geofencing request.

Originally posted by @bigludo7 in #133 (comment)

@bigludo7
Copy link
Collaborator Author

bigludo7 commented Jun 4, 2024

During team meeting June 4th, 2024 we discussed following proposal:

  • Add a 422 error when the API provider is able to answer 'on the fly' that the area is not 'manage-able'. This one to cover sync scenario
  • Add a terminationReason to indicate that the the area is not 'manage-able'. The API provider sends a termination event to inform consumer that it will not be able to manage the area. This one to cover async scenario when the API provider assesses 'offline' that the area cannot be covered.

@bigludo7
Copy link
Collaborator Author

bigludo7 commented Jul 1, 2024

@maxl2287 preparing tomorrow meeting - May I assign this one to you? Thanks :)

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

Successfully merging a pull request may close this issue.

3 participants