From 964db9f8c34d1436a08accefce7fb2300ae64769 Mon Sep 17 00:00:00 2001 From: Julien Perrochet Date: Fri, 22 Mar 2024 18:38:50 +0100 Subject: [PATCH] [uss_qualifier] split scd read fragments that have checks related to search (#587) [uss_qualifier] split a fragment that has checks that are not always used --- .../astm/utm/dss/fragments/oir/crud/read.md | 14 -------------- .../astm/utm/dss/fragments/oir/crud/search.md | 17 +++++++++++++++++ .../astm/utm/dss/fragments/sub/crud/read.md | 8 -------- .../astm/utm/dss/fragments/sub/crud/search.md | 11 +++++++++++ .../subscription_synchronization.md | 12 ++++++++++++ 5 files changed, 40 insertions(+), 22 deletions(-) create mode 100644 monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/search.md create mode 100644 monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/search.md diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/read.md b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/read.md index d85f363282..920aed655f 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/read.md +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/read.md @@ -11,17 +11,3 @@ If an operational intent reference cannot be queried using its ID, the DSS is fa The response to a successful get operational intent reference query is expected to conform to the format defined by the OpenAPI specification under the `A3.1` Annex of ASTM F3548−21. If it does not, the DSS is failing to implement **[astm.f3548.v21.DSS0005,1](../../../../../../../requirements/astm/f3548/v21.md)**. - -## 🛑 Successful operational intent reference search query check - -If the DSS fails to let us search in the area for which the OIR was created, it is failing to meet **[astm.f3548.v21.DSS0005,1](../../../../../../../requirements/astm/f3548/v21.md)**. - -## 🛑 Search operational intent reference response format conforms to spec check - -The response to a successful operational intent reference search query is expected to conform to the format defined by the OpenAPI specification under the `A3.1` Annex of ASTM F3548−21. - -If it does not, the DSS is failing to implement **[astm.f3548.v21.DSS0005,1](../../../../../../../requirements/astm/f3548/v21.md)**. - -## 🛑 Created operational intent reference is in search results check - -If the existing operational intent reference is not returned in a search that covers the area it was created for, the DSS is not properly implementing **[astm.f3548.v21.DSS0005,2](../../../../../../../requirements/astm/f3548/v21.md)**. diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/search.md b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/search.md new file mode 100644 index 0000000000..e026d4a94a --- /dev/null +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/search.md @@ -0,0 +1,17 @@ +# Search operational intent reference test step fragment + +This test step fragment validates that operational intent references can be searched for + +## 🛑 Successful operational intent reference search query check + +If the DSS fails to let us search in the area for which the OIR was created, it is failing to meet **[astm.f3548.v21.DSS0005,1](../../../../../../../requirements/astm/f3548/v21.md)**. + +## 🛑 Search operational intent reference response format conforms to spec check + +The response to a successful operational intent reference search query is expected to conform to the format defined by the OpenAPI specification under the `A3.1` Annex of ASTM F3548−21. + +If it does not, the DSS is failing to implement **[astm.f3548.v21.DSS0005,1](../../../../../../../requirements/astm/f3548/v21.md)**. + +## 🛑 Created operational intent reference is in search results check + +If the existing operational intent reference is not returned in a search that covers the area it was created for, the DSS is not properly implementing **[astm.f3548.v21.DSS0005,2](../../../../../../../requirements/astm/f3548/v21.md)**. diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/read.md b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/read.md index 66e268c0c7..bc0384923a 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/read.md +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/read.md @@ -11,11 +11,3 @@ If a subscription cannot be queried using its ID, the DSS is failing to meet **[ The response to a successful get subscription query is expected to conform to the format defined by the OpenAPI specification under the `A3.1` Annex of ASTM F3548−21. If it does not, the DSS is failing to implement **[astm.f3548.v21.DSS0005,5](../../../../../../../requirements/astm/f3548/v21.md)**. - -## 🛑 Successful subscription search query check - -If the DSS fails to let us search in the area for which the subscription was created, it is failing to meet **[astm.f3548.v21.DSS0005,5](../../../../../../../requirements/astm/f3548/v21.md)**. - -## 🛑 Created Subscription is in search results check - -If the existing subscription is not returned in a search that covers the area it was created for, the DSS is not properly implementing **[astm.f3548.v21.DSS0005,5](../../../../../../../requirements/astm/f3548/v21.md)**. diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/search.md b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/search.md new file mode 100644 index 0000000000..a3cf999c14 --- /dev/null +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/crud/search.md @@ -0,0 +1,11 @@ +# Search subscription test step fragment + +This test step fragment validates that subscriptions can be searched for. + +## 🛑 Successful subscription search query check + +If the DSS fails to let us search in the area for which the subscription was created, it is failing to meet **[astm.f3548.v21.DSS0005,5](../../../../../../../requirements/astm/f3548/v21.md)**. + +## 🛑 Created Subscription is in search results check + +If the existing subscription is not returned in a search that covers the area it was created for, the DSS is not properly implementing **[astm.f3548.v21.DSS0005,5](../../../../../../../requirements/astm/f3548/v21.md)**. diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md b/monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md index 89708cc5cd..c1ff08d905 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md @@ -91,6 +91,10 @@ Confirm that the subscription that was just created is properly synchronized acr Confirms that each DSS provides access to the created subscription, +#### [Search subscription](../fragments/sub/crud/search.md) + +Confirms that each DSS returns the created subscription when searched for. + #### [Validate subscription](../fragments/sub/validate/correctness.md) Verify that the subscription returned by every DSS is correctly formatted and corresponds to what was created earlier. @@ -128,6 +132,10 @@ Confirm that the subscription that was just mutated is properly synchronized acr Confirms that the subscription that was just mutated can be retrieved from any DSS. +#### [Search subscription](../fragments/sub/crud/search.md) + +Confirms that the subscription that was just mutated can be searched for from any DSS. + #### [Validate subscription](../fragments/sub/validate/correctness.md) Verify that the subscription returned by every DSS is correctly formatted and corresponds to what was mutated earlier. @@ -181,6 +189,10 @@ Confirm that the subscription that was just mutated is properly synchronized acr Confirms that the subscription that was just mutated can be retrieved from any DSS, and that it has the expected content. +#### [Search subscription](../fragments/sub/crud/search.md) + +Confirms that the subscription that was just mutated can be searched for from any DSS, and that it has the expected content. + #### [Validate subscription](../fragments/sub/validate/correctness.md) Verify that the subscription returned by the DSS is properly formatted and contains the correct content.