Skip to content

Enable querying all impact criterion from BoaviztAPI - #64

Merged
bpetit merged 36 commits into
devfrom
63-enable-all-impacrt-criterion-available-in-boaviztapi
Sep 2, 2026
Merged

bpetit merged 36 commits into
devfrom
63-enable-all-impacrt-criterion-available-in-boaviztapi

Conversation

@bdromard

Copy link
Copy Markdown
Collaborator

Feature

This pull request allows to query various endpoints and receive a response with all the available impact criteria from BoaviztAPI.
Previously, only Global Warming Potential (GWP), Abiotic Depletion Potential (ADP) and Primary Energy (PE) were documented in a Boagent response, as those are the default criteria sent by BoaviztAPI.

By specifying criteria=all as a query parameter for /query and /metrics endpoints, Boagent can now query BoaviztAPI for all available impact criteria and send a response accordingly.

Some may not be implemented by BoaviztAPI ; in those cases, BoavzitAPI sends a message indicating the absence of implementation for such a criterion.

Development

Simple end-to-end testing is now available, through a script sending queries to Boagent when all containers (Boagent, BoavizAPI and Scaphandre) are set up and running.
These queries write the full JSON or text responses in files, available for checking afterwards.

bdromard and others added 30 commits October 16, 2024 16:07
Fixes for `Process` and `Lshw`
Add Makefile with scripts for future releases
Merge for release 0.2.0
@bdromard
bdromard force-pushed the 63-enable-all-impacrt-criterion-available-in-boaviztapi branch from d09e243 to c398e5b Compare July 22, 2026 14:50
@bpetit
bpetit merged commit 9a79ba1 into dev Sep 2, 2026
1 check passed
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