Skip to content

Commit

Permalink
Upgrade version of BoaviztAPI to 1.3.7 and adjust tests accordingly.
Browse files Browse the repository at this point in the history
  • Loading branch information
demeringo committed Dec 19, 2024
1 parent 1cc0359 commit cd49741
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
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

0 comments on commit cd49741

Please sign in to comment.