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

How can a provider inform the ASP/aggregator about not implemented features in advance of the API call #119

Open
pendula95 opened this issue Feb 29, 2024 · 2 comments

Comments

@pendula95
Copy link
Collaborator

pendula95 commented Feb 29, 2024

I see there is a discussion in minutes regarding this topic but following the next meetings minutes I don't see any activity. https://github.com/camaraproject/DeviceStatus/blob/main/documentation/MeetingMinutes/MoM-2023-09-13.md#aob

Example:
Let's say API implementation of Device connectivity status /connectivity is only based on AAA as a datasource and contains information if subscriber has data connectivity or not. So in this case the API can be implemented as:

  1. Return only CONNECTED_DATA or NOT_CONNECTED.
    Without the caller knowing that this API implementation only supports CONNECTED_DATA and NOT_CONNECTED I might get a false assumption that any subscriber that gets NOT_CONNECTED also has no capability of CONNECTED_SMS.
@bigludo7
Copy link
Collaborator

bigludo7 commented Mar 5, 2024

Hello @pendula95
This is a fair question and I did not see how we can handle this with current API Design.

One way to do this is, perhaps, to add a fourth value in the enum: NOT_DATA_CONNECTED
With this value we indicate that the mobile is not reachable by data but 'we do not know for SMS"

This is not very elegant design but if this UC is common perhaps we can think about it..

@rartych
Copy link
Collaborator

rartych commented Mar 11, 2024

Regarding the general question in the title, I think this API proposal addresses it: camaraproject/APIBacklog#22
Here we can think how to tackle specific cases regarding connectivity status information.

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

No branches or pull requests

3 participants