From 16e6740434ac9b6ecff534ca5db5d5d7661d6346 Mon Sep 17 00:00:00 2001 From: Julien Perrochet Date: Tue, 28 Nov 2023 23:56:10 +0100 Subject: [PATCH] [uss_qualifier] Wire additional resources into certain configurations to avoid warnings (#363) [uss_qualifier] fix warning about a skippd scenario due to missing resource in f3548_self_contained.yaml --- .../configurations/dev/f3548_self_contained.yaml | 14 ++++++++++++++ .../configurations/dev/message_signing.yaml | 5 +++++ .../suites/faa/uft/message_signing.yaml | 7 +++++++ 3 files changed, 26 insertions(+) diff --git a/monitoring/uss_qualifier/configurations/dev/f3548_self_contained.yaml b/monitoring/uss_qualifier/configurations/dev/f3548_self_contained.yaml index 0ebb868272..179d1715fa 100644 --- a/monitoring/uss_qualifier/configurations/dev/f3548_self_contained.yaml +++ b/monitoring/uss_qualifier/configurations/dev/f3548_self_contained.yaml @@ -19,6 +19,7 @@ v1: invalid_flight_intents: invalid_flight_intents non_conflicting_flights: non_conflicting_flights dss: dss + dss_instances: dss_instances mock_uss: mock_uss # This block defines all the resources available in the resource pool. @@ -87,6 +88,19 @@ v1: participant_id: uss1 base_url: http://dss.uss1.localutm + dss_instances: + resource_type: resources.astm.f3548.v21.DSSInstancesResource + dependencies: + auth_adapter: utm_auth + specification: + dss_instances: + - participant_id: uss1 + base_url: http://dss.uss1.localutm + has_private_address: true + - participant_id: uss2 + base_url: http://dss.uss2.localutm + has_private_address: true + # Mock USS that can be used in tests for flight planning, modifying data sharing behavior and recording interactions mock_uss: resource_type: resources.interuss.mock_uss.client.MockUSSResource diff --git a/monitoring/uss_qualifier/configurations/dev/message_signing.yaml b/monitoring/uss_qualifier/configurations/dev/message_signing.yaml index c2b2657d0d..a014f2a4a8 100644 --- a/monitoring/uss_qualifier/configurations/dev/message_signing.yaml +++ b/monitoring/uss_qualifier/configurations/dev/message_signing.yaml @@ -4,6 +4,7 @@ v1: resource_declarations: che_conflicting_flights: {$ref: 'library/resources.yaml#/che_conflicting_flights'} che_invalid_flight_intents: {$ref: 'library/resources.yaml#/che_invalid_flight_intents'} + che_non_conflicting_flights: {$ref: 'library/resources.yaml#/che_non_conflicting_flights'} combination_selector: resource_type: resources.flight_planning.FlightPlannerCombinationSelectorResource specification: @@ -14,6 +15,7 @@ v1: utm_auth: {$ref: 'library/environment.yaml#/utm_auth'} scd_dss: {$ref: 'library/environment.yaml#/scd_dss'} + scd_dss_instances: {$ref: 'library/environment.yaml#/scd_dss_instances'} flight_planners: resource_type: resources.flight_planning.FlightPlannersResource dependencies: @@ -46,8 +48,11 @@ v1: flight_planners: flight_planners combination_selector: combination_selector conflicting_flights: che_conflicting_flights + invalid_flight_intents: che_invalid_flight_intents + non_conflicting_flights: che_non_conflicting_flights priority_preemption_flights: che_conflicting_flights dss: scd_dss + dss_instances: scd_dss_instances execution: stop_fast: true diff --git a/monitoring/uss_qualifier/suites/faa/uft/message_signing.yaml b/monitoring/uss_qualifier/suites/faa/uft/message_signing.yaml index e55b112741..019ae5659b 100644 --- a/monitoring/uss_qualifier/suites/faa/uft/message_signing.yaml +++ b/monitoring/uss_qualifier/suites/faa/uft/message_signing.yaml @@ -4,8 +4,11 @@ resources: flight_planners: resources.flight_planning.FlightPlannersResource combination_selector: resources.flight_planning.FlightPlannerCombinationSelectorResource dss: resources.astm.f3548.v21.DSSInstanceResource + dss_instances: resources.astm.f3548.v21.DSSInstancesResource? conflicting_flights: resources.flight_planning.FlightIntentsResource + non_conflicting_flights: resources.flight_planning.FlightIntentsResource priority_preemption_flights: resources.flight_planning.FlightIntentsResource + invalid_flight_intents: resources.flight_planning.FlightIntentsResource actions: - test_scenario: scenario_type: scenarios.faa.uft.StartMessageSigningReport @@ -15,12 +18,16 @@ actions: - test_suite: suite_type: suites.astm.utm.f3548_21 resources: + mock_uss: mock_uss conflicting_flights: conflicting_flights + non_conflicting_flights: non_conflicting_flights priority_preemption_flights: priority_preemption_flights flight_planners: flight_planners nominal_planning_selector: combination_selector + invalid_flight_intents: invalid_flight_intents priority_planning_selector: combination_selector dss: dss + dss_instances: dss_instances on_failure: Continue - test_scenario: scenario_type: scenarios.faa.uft.FinalizeMessageSigningReport