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

Enable different max costs (WEB/API) #195

Merged
merged 10 commits into from
Sep 16, 2024
Merged

Conversation

mcucchi9
Copy link
Collaborator

@mcucchi9 mcucchi9 commented Jul 8, 2024

This PR implements taking into account requests' origin in costing evaluation.

It also introduces a new query parameter, request_origin, to the /processes/<process_id>/costing endpoint.

IMPORTANT NOTE
The request origins (either api or ui) are associated respectively with the content of the keys max_costs and max_costs_portal in the costing field of each dataset's adaptor.json file.

Needs

@mcucchi9 mcucchi9 self-assigned this Jul 8, 2024
@mcucchi9 mcucchi9 changed the title [WIP] Enable different max costs (WEB/API) Enable different max costs (WEB/API) Sep 4, 2024
@mcucchi9 mcucchi9 requested a review from keul September 4, 2024 09:30
@mcucchi9 mcucchi9 merged commit 0041cce into main Sep 16, 2024
9 checks passed
@mcucchi9 mcucchi9 deleted the COPDS-1713-max-portal-costs branch September 16, 2024 08:56
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.

2 participants