From be3fa8a4cbbec0d2c09427895df3031909e91b25 Mon Sep 17 00:00:00 2001 From: Benjamin Pelletier Date: Thu, 28 Dec 2023 19:45:57 +0000 Subject: [PATCH 1/2] Include whole config in report --- monitoring/uss_qualifier/main.py | 2 +- monitoring/uss_qualifier/reports/report.py | 4 ++-- .../reports/templates/sequence_view/overview.html | 5 +++-- monitoring/uss_qualifier/reports/tested_requirements.py | 2 +- .../uss_qualifier/reports/report/TestRunReport.json | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/monitoring/uss_qualifier/main.py b/monitoring/uss_qualifier/main.py index 20458b4406..50b0ddbcb4 100644 --- a/monitoring/uss_qualifier/main.py +++ b/monitoring/uss_qualifier/main.py @@ -106,7 +106,7 @@ def execute_test_run(whole_config: USSQualifierConfiguration): commit_hash=commit_hash, baseline_signature=baseline_signature, environment_signature=environment_signature, - configuration=config, + configuration=whole_config, report=report, ) diff --git a/monitoring/uss_qualifier/reports/report.py b/monitoring/uss_qualifier/reports/report.py index 324d58438c..4f969508f6 100644 --- a/monitoring/uss_qualifier/reports/report.py +++ b/monitoring/uss_qualifier/reports/report.py @@ -10,8 +10,8 @@ from monitoring.uss_qualifier.action_generators.definitions import GeneratorTypeName from monitoring.uss_qualifier.common_data_definitions import Severity from monitoring.uss_qualifier.configurations.configuration import ( - TestConfiguration, ParticipantID, + USSQualifierConfiguration, ) from monitoring.uss_qualifier.fileio import FileReference from monitoring.uss_qualifier.reports.capability_definitions import ( @@ -732,7 +732,7 @@ class TestRunReport(ImplicitDict): environment_signature: str """Signature of the environmental inputs of the configuration not included in the baseline signature.""" - configuration: TestConfiguration + configuration: USSQualifierConfiguration """Configuration used to run uss_qualifier""" report: TestSuiteActionReport diff --git a/monitoring/uss_qualifier/reports/templates/sequence_view/overview.html b/monitoring/uss_qualifier/reports/templates/sequence_view/overview.html index d20a5e531f..b457ee17c4 100644 --- a/monitoring/uss_qualifier/reports/templates/sequence_view/overview.html +++ b/monitoring/uss_qualifier/reports/templates/sequence_view/overview.html @@ -62,9 +62,10 @@

Sequence view of uss_qualifier test run

{{ "Baseline" if is_baseline else "Environment" }}