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

Upgrade version of BoaviztAPI to 1.3.7 and adjust tests accordingly. #646

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased

_This paragraph may describe WIP/unreleased features. They are merged to main branch but not tagged._
- [Upgrade version of BoaviztAPI to 1.3.7 and adjust tests accordingly](https://github.com/Boavizta/cloud-scanner/issues/643)
- [Return API and scanner version in the json output](https://github.com/Boavizta/cloud-scanner/issues/265)
- [Upgrade to BoaviztAPI 1.3.3 · Issue #633 · Boavizta/cloud-scanner](https://github.com/Boavizta/cloud-scanner/issues/633)
- [chore(deps): bump serde_json from 1.0.132 to 1.0.133](https://github.com/Boavizta/cloud-scanner/issues/#614)
Expand Down
2 changes: 1 addition & 1 deletion cloud-scanner-cli/src/boavizta_api_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ mod tests {
async fn get_api_version() {
let api: BoaviztaApiV1 = BoaviztaApiV1::new(TEST_API_URL);
let version = api.get_api_version().await;
let expected = Some("1.3.6".to_owned());
let expected = Some("1.3.7".to_owned());
assert_eq!(version, expected, "Versions do not match");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"impacts": {
"gwp": {
"embedded": {
"value": 0.0016,
"min": 0.0008995,
"max": 0.002545,
"value": 0.001,
"min": 0.0005997,
"max": 0.001697,
"warnings": [
"End of life is not included in the calculation"
]
Expand All @@ -19,9 +19,9 @@
},
"adp": {
"embedded": {
"value": 2.1e-7,
"min": 1.448e-7,
"max": 3.105e-7,
"value": 1.4e-7,
"min": 9.656e-8,
"max": 2.07e-7,
"warnings": [
"End of life is not included in the calculation"
]
Expand All @@ -36,9 +36,9 @@
},
"pe": {
"embedded": {
"value": 0.021,
"min": 0.01186,
"max": 0.03331,
"value": 0.014,
"min": 0.007907,
"max": 0.02221,
"warnings": [
"End of life is not included in the calculation"
]
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:
boavizta_api:
container_name: "boavizta_api"
hostname: boavizta
image: ghcr.io/boavizta/boaviztapi:1.3
image: ghcr.io/boavizta/boaviztapi:1.3.7
ports:
- "5000:5000"
networks:
Expand Down
Loading