-
Notifications
You must be signed in to change notification settings - Fork 6
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
Accommodate asynchronous pattern #20
Comments
I believe, the first approach with the callback URL and token is more appropriate for our current API scenario. Providing the callback URL in the initial response simplifies the process for the client, eliminating the need for additional requests (first to get subscription ID and then CallbackURL) or managing subscription IDs. Additionally, since the client is only interested in receiving the processed data once, there's no need for a subscription model or ongoing updates. |
Agreed that first option allows a better and more refine approach, also enabling sync use case in case callback is not included in the request, but on the other side provides a higher complexity for the developer to enable such callback endpoint. Based on meeting discussions, #21 is including callback proposal as reference, with some modifications to be implemented, but discussion will remain opened at least until next meeting. |
Agreed, we can go with first option to have callback URL. |
Works for me. |
With these two validations, I'd suggest to merge this PR to follow discussion on additional specification topics. |
@sachinvodafone can we merge? |
Problem description
This topic is mentioned here #10 but probably deserves it owns issue.
Seems that for UCs we can provide asynchronous answer that will allow us more flexibility to handle the request.
If we want to offer this capability we need slight changes.
Possible evolution
Alternative solution
Additional context
The text was updated successfully, but these errors were encountered: