-
Notifications
You must be signed in to change notification settings - Fork 5
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
Initial API proposal #11
Initial API proposal #11
Conversation
Updates to keep linter happy
Remove 404 error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @eric-murray , thanks a lot for this good proposal, it's OK. I've a question on what we've started to discuss on discussions #7 and #8. What do you think about adding those rules in the API overview.
@GillesInnov35 But there is no need to wait for these rules to be agreed before merging this PR. This is just a "work in progress" version, which will be subject to further updates before being released as an initial version. Further updates can be pushed to the repository as they are agreed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
BR
Gilles
Thanks @GillesInnov35 I won't merge this until others have raised any questions they may have, and have given their approval as well. It should also be discussed during at least one of the bi-weekly KYC meetings. As the next meeting is tomorrow, I think we are looking at waiting until after the subsequent meeting before merging this. And I also need approval for PR #13. Currently, the YAML linter does not like line lengths more than 80 characters. That PR is required so that that rule can be disabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK Thanks a lot Eric
Hi @GillesInnov35. I was re-adding @camaraproject/tenure_maintainers as a reviewer to bring this PR to the attention of Telefonica, who have no codeowner for this repository, but are maintainers. Now I have just added @claraserranosolsona and @jgarciahospital directly as reviewers, which is perhaps simpler. I would like Telefonica feedback on this proposal before merging. |
Hi @eric-murray, tenureDateCheck is currently a boolean attribute. I wonder if the API will have also to return the information that the date comparison could not been done because the MNO do have the correct information, and then return "not_available". BR |
Can you clarify your proposal? Is this to handle mobile subscribers for which no answer can be given, because their The assumption behind the API design was that each mobile subscriber has a recorded tenure date with no limit on how long ago that was. So if a subscriber had the same MSISDN for, say, 20 years, then the tenure date would be known to be 20 years ago, and not "more than 10 years", for example. Do we need to consider making the requested Because |
Thanks Eric BR |
Other way, would be to return the date when the line was opened. |
Commonalities provide an error that can be used when a given service does not apply to a given "device" (in this case, subscription):
This was intended for cases such as querying the SIM Swap API with a fixed line phone number. I included this error in the proposed YAML. Curiously, the SIM Swap API did not adopt this error, but instead defines:
which is maybe because "device" can be viewed as a confusing term to use when it is identifying the subscription. But the mechanism is the same - there is an explicit 422 error defined for this case, rather than returning a 200 response which, on closer inspection, turns out to be an error. |
Thanks Eric, OK it works and the response error seems to be clear. So "not-available" is not useful. Gilles |
Hi Eric, It may be better to follow the SIm Swap 422 error message, because it is indeed for the phone number (and not the device) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @eric-murray! Thanks for crafting the initial PR.
Sorry for the late review, from TEF we are also interested in this API.
The What does need to be standardised are the Commonalities should tighten up code definitions for the next update of their design guidelines, so let's see what they define then. |
Co-authored-by: Fernando Prado Cabrillo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Eric
@fernandopradocabrillo, @grgpapadopoulos |
Hi @eric-murray, thanks for adjusting the proposal. We are reviewing internally with our product team and we'll get back to you ASAP |
@fernandopradocabrillo @GillesInnov35 @grgpapadopoulos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @eric-murray ,
Co-authored-by: Fernando Prado Cabrillo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates. We have been checking internally and we can go ahead with this proposal.
LGTM
What type of PR is this?
What this PR does / why we need it:
This is the initial proposal from Vodafone for the KYC Tenure API
Which issue(s) this PR fixes:
Fixes #12
Special notes for reviewers:
None
Changelog input
Additional documentation
None