Repository navigation
Enable querying all impact criterion from BoaviztAPI - #64
Merged
bpetit merged 36 commits intoSep 2, 2026
Merged
Conversation
Update README
Fixes for `Process` and `Lshw`
Add Makefile with scripts for future releases
Merge for release 0.2.0
…ing for querying all criteria
…and configuration
bdromard
force-pushed
the
63-enable-all-impacrt-criterion-available-in-boaviztapi
branch
from
July 22, 2026 14:50
d09e243 to
c398e5b
Compare
…ng use phase data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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=allas a query parameter for/queryand/metricsendpoints, 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.