Proposal for adding (optional) SIM type information - #275
Conversation
Added optional fields for SIM type and transfer status in the SIM swap API definition.
Enhance sim-swap.yaml with SIMtype and directTransfer
|
Hello I'm just a bit anxious the calendar regarding freezing Syn26 release. |
|
Hi @HuubAppelboom, @bigludo7, some points from my side:
simType:
type: string
maxLength: 4
enum:
- eSIM
- pSIM
description: The type of SIM that is currently active, either an eSIM or a physical SIM card.
With these changes, I think we can move foward the PR |
|
@bigludo7 @albertoramosmonagas |
|
@albertoramosmonagas Regarding the name directTransfer, we could also call this directDeviceTransfer And in stead of a boolean, use an enum with directDeviceTransfer and carrierActivation What do you think ? |
|
Hi @HuubAppelboom, thanks for checking. On links / vendor references: my understanding is that they are not forbidden, but the YAML should be self-contained for all normative behavior and should not depend on mutable third-party pages. So Apple / Android references could be mentioned as illustrative examples or kept in maintained explanatory documentation, but the API contract itself should remain vendor-neutral and not make those links normative. On the field itself, I would avoid an enum such as Suggested semantics:
Both So my suggestion would be: optional |
Updated the sim-swap.yaml file to replace 'directTransfer' with 'assuredTransfer' and modified its description to clarify the conditions under which a SIM swap is considered assured.
|
@bigludo7 @albertoramosmonagas @fernandopradocabrillo I have made all the requested changes, can you please review ? |
|
Hi @HuubAppelboom, thanks for the update. The only blocking points I still see are:
With these two clarifications, the proposal looks good from my side. |
bigludo7
left a comment
There was a problem hiding this comment.
Hello @HuubAppelboom
Thanks for the contribution.
2 points for your consideration:
- Examples in the yaml need to be updated.
- As the API is stable we have to be precise in the Test definition. I guess we have to provide additional TCs in the sim-swap-retrieveSimSwapDate.feature file to test specifically these 2 new attributes: 1 test for eSIM, 1 for Physical, 1 for Transfert done by the operator, 1 for transfer not done by the operator. These tests are not mandatory and applies only if the carrier provide this information but for me they must be present.
Clarified the definitions for 'simType' and 'assuredTransfer' in the API specification. Updated descriptions to provide more context on SIM swap events and their assurance levels.
Updated example keys for SIM swap API responses to include more detailed information.
|
@bigludo7 I added a fourth example showing a case of extra provided information. Can you check this one ? @albertoramosmonagas I added some extra parts in de definition section. I also replaced "currently active" by the SIM after the swap event. Somehow the CAMARA Validation also fails. Is that normal ? |
Add scenarios for retrieving SIM swap date with eSIM and physical SIM types, including assurance transfer status.
|
@bigludo7 I have als added 2TCs in the sim-swap-retrieveSimSwapDate.feature file, one for eSIM and assuredTransfer true, and one for pSIM and assuredTransfer false. That probably is sufficient, or do we need to provide all possible combinations? |
|
Hi @HuubAppelboom, thanks for the update. A few points:
On the number of combinations: from my side, I do not think we need to test all possible combinations. Two positive optional-information cases should be enough if they cover both |
Updated scenarios for retrieving SIM swap dates to clarify eSIM and pSIM handling, including assured transfer information.
Updated examples in sim-swap.yaml to reflect new naming conventions and added optional SIM information.
Added examples for CHECK_SIM_SWAP and CHECK_SIM_SWAP_WITH_OPTIONAL_SIM_INFORMATION in sim-swap.yaml.
removed trailing spaces
|
@bigludo7 HI Ludo, can you help with this PR ? I am getting errors related to x-correlator in this PR in the RetrieveAgeBand area, The CAMARA file I could inspect shows /retrieve-age-band using local component references, while /retrieve-date and /check still use the shared common CAMARA reference. Do you know what the correct refencing should be ? Should I change this in the YAML? Or is this already being addressed in |
|
Hi @HuubAppelboom - for me it is fixed in #278 |
bigludo7
left a comment
There was a problem hiding this comment.
LGTM - Thanks @HuubAppelboom
|
@fernandopradocabrillo @maxl2287 Can you please review this PR as well? |
What type of PR is this?
What this PR does / why we need it:
Customers that use the SIM Swap API in combination with Number Verify immediately after the user has migrated to a new device experience a large number of false positives due to eSIMs. By recognizing eSIMs and in particular the type of transfer with eSIMs, the API Consumer can correct for this.
Which issue(s) this PR fixes:
Fixes #241
Special notes for reviewers:
@bigludo7 @jlurien @fernandopradocabrillo Can you please review and approve this PR for fixing the false positives problem with eSIMs?
Changelog input
Additional documentation
This section can be blank.