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

Allow for multiple unique consolidated calls in parallel #2090

Closed
Goncharo opened this issue May 16, 2024 · 0 comments
Closed

Allow for multiple unique consolidated calls in parallel #2090

Goncharo opened this issue May 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request feature-request good first issue Good for newcomers

Comments

@Goncharo
Copy link
Member

Problem

Right now when you want to do a consolidated query for a PDF summary, and JSON, you have to wait for one operation to complete before starting the other.

This is a pain, because the only way to solve it is to chain webhook responses based on the event that completed.

Suggested solution

The caller of the API should be able to kick-off multiple "jobs" to this endpoint, as long as the parameter combination is unique - ie a PDF rendering shouldn't block a JSON call.

Alternatives

A dedicated summary endpoint should help with this, but this will apply regardless: https://github.com/metriport/metriport-internal/issues/1711

Additional context

No response

@Goncharo Goncharo added enhancement New feature or request good first issue Good for newcomers feature-request labels May 16, 2024
@Orta21 Orta21 self-assigned this May 27, 2024
@Orta21 Orta21 mentioned this issue Jun 6, 2024
2 tasks
Orta21 added a commit that referenced this issue Jun 13, 2024
Ref. #2090

Signed-off-by: Jorge Orta <36802074+Orta21@users.noreply.github.com>
Orta21 added a commit that referenced this issue Jun 13, 2024
Ref. #2090

Signed-off-by: Jorge Orta <36802074+Orta21@users.noreply.github.com>
@Orta21 Orta21 closed this as completed Jun 14, 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 feature-request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants