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

Implement cost-based request blocking #178

Merged
merged 7 commits into from
Mar 6, 2024

Conversation

mcucchi9
Copy link
Collaborator

@mcucchi9 mcucchi9 commented Mar 5, 2024

This PR implements a mechanism to block, at the retrieve API level, processing requests exceeding the requested dataset's cost limits (if any).

In case a request is sent to POST .../processes/.../execution endpoint exceeding the cost limits, a 403 error is returned.

@mcucchi9 mcucchi9 requested a review from keul March 5, 2024 14:52
@mcucchi9 mcucchi9 self-assigned this Mar 5, 2024
@mcucchi9 mcucchi9 merged commit 7376895 into main Mar 6, 2024
8 checks passed
@mcucchi9 mcucchi9 deleted the COPDS-1563-cost-based-process-blocking branch March 6, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant