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

Termination Reason SUBSCRIPTION_DELETED #172

Closed
daniel-dierich opened this issue Nov 13, 2024 · 8 comments · Fixed by #177
Closed

Termination Reason SUBSCRIPTION_DELETED #172

daniel-dierich opened this issue Nov 13, 2024 · 8 comments · Fixed by #177
Labels
enhancement New feature or request Spring25 Spring25 release preparation

Comments

@daniel-dierich
Copy link
Contributor

daniel-dierich commented Nov 13, 2024

Problem description
Hi all, I noticed that as of now there is no Termination Reason defined for the case of the User deleting his subscription.

Possible evolution
I would propose to add the Termination Reason:

SUBSCRIPTION_DELETED - Subscription was deleted by the requester

@daniel-dierich daniel-dierich added the enhancement New feature or request label Nov 13, 2024
@daniel-dierich daniel-dierich changed the title Termination Reason SubscriptionDeleted Termination Reason SUBSCRIPTION_DELETED Nov 13, 2024
@gregory1g
Copy link
Collaborator

do you mean that application cancelled its subscription to simswap events or the end user terminated its contract with the MNO?

@daniel-dierich
Copy link
Contributor Author

I mean the first. If an user or application requests to delete the subscription using the API.

@gregory1g
Copy link
Collaborator

I see. Looks reasonable for me. But this is a generic use case relevant for all subscription API - one should bring this to commonalities (if it is not there yet).

@daniel-dierich
Copy link
Contributor Author

It is already part of commonalities: camaraproject/Commonalities#238

Does this mean it is valid to add to the SimSwap API spec? Should I prepare a PR?

@bigludo7
Copy link
Collaborator

@daniel-dierich Yes please !
@fernandopradocabrillo As this value is defined with current commonalities version (Autumn 2024 meta release) this fix could be added in the future r1.4 and not waiting 2.1 right?

@fernandopradocabrillo
Copy link
Collaborator

@daniel-dierich Yes please ! @fernandopradocabrillo As this value is defined with current commonalities version (Autumn 2024 meta release) this fix could be added in the future r1.4 and not waiting 2.1 right?

agree! but in theory this is changing the API functionality, maybe we should go for a v0.1.2

@bigludo7
Copy link
Collaborator

@daniel-dierich Yes please ! @fernandopradocabrillo As this value is defined with current commonalities version (Autumn 2024 meta release) this fix could be added in the future r1.4 and not waiting 2.1 right?

agree! but in theory this is changing the API functionality, maybe we should go for a v0.1.2

Arghh you're right @fernandopradocabrillo . Perhaps we should keep this one & #175 for next meta release.
It did not change the PR but it avoids to another release.
With all the change on subscription we'll have to craft a v0.2 anyway

WDYT?

@fernandopradocabrillo fernandopradocabrillo added the Spring25 Spring25 release preparation label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Spring25 Spring25 release preparation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants