Skip to content

Commit

Permalink
[uss_qualifier/scenarios/utm/dss/subscription_interactions] Cleanup s…
Browse files Browse the repository at this point in the history
…cenario (#604)

* [uss_qualifier/scenarios/utm/dss/subscription_interactions] Cleanup scenario

* fix typo

* update next code
  • Loading branch information
mickmis authored Mar 26, 2024
1 parent 392808d commit 48dbe6c
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 160 deletions.
2 changes: 1 addition & 1 deletion monitoring/prober/infrastructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def wrapper_default_scope(*args, **kwargs):
resource_type_code_descriptions: Dict[ResourceType, str] = {}


# Next code: 389
# Next code: 388
def register_resource_type(code: int, description: str) -> ResourceType:
"""Register that the specified code refers to the described resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,14 @@ Create and mutate subscriptions as well as entities, and verify that the DSS han

This step ensures that no subscriptions and OIRs with the known test IDs exists in the DSS deployment.

## OIR creation triggers relevant notifications test case
## OIR creation and modification trigger relevant notifications test case

This test case verifies that newly created OIRs will receive the relevant subscriptions to notify from the DSS instance,
This test case verifies that newly created or modified OIRs will receive the relevant subscriptions to notify from the DSS instance,
regardless of which instance was used to create the entity.

### [Create first background subscription test step](./fragments/sub/crud/create_query.md)
### [Create background subscription test step](./fragments/sub/crud/create_query.md)

Sets up the first subscription that cover the planning area from 'now' to 20 minutes in the future, and which will be used as part of the interaction tests.

### [Create second background subscription test step](./fragments/sub/crud/create_query.md)

Sets up the second subscription that cover the planning area from 20 minutes after the first starts and that lasts for 1 hour, and which will be used as part of the interaction tests.
Sets up the subscription that cover the planning area from 'now' to 20 minutes in the future, and which will be used as part of the interaction tests.

### Create an OIR at every DSS in sequence test step

Expand All @@ -59,17 +55,10 @@ Check that the OIR creation query succeeds
#### 🛑 DSS response contains the expected background subscription check

The response from a DSS to a valid OIR creation request is expected to contain any relevant subscription for the OIR's extents.
This includes one of the subscriptions created earlier, as it is designed to intersect with the OIRs being created.
This includes the subscription created earlier, as it is designed to intersect with the OIRs being created.

If the DSS omits the intersecting subscription, it fails to implement **[astm.f3548.v21.DSS0210,A2-7-2,4b](../../../../requirements/astm/f3548/v21.md)**.

#### 🛑 DSS does not return non-intersecting background subscription check

The response from a DSS to a valid OIR creation request is expected to contain any relevant subscription for the OIR's extents.
This should exclude one of subscriptions created earlier, as it is designed to not intersect with the OIRs being created.

If the DSS includes the non-intersecting subscription, it fails to implement **[astm.f3548.v21.DSS0210,A2-7-2,4b](../../../../requirements/astm/f3548/v21.md)**.

#### 🛑 DSS returns the implicit subscriptions from intersecting OIRs check

The response from a DSS to a valid OIR creation request is expected to contain any relevant subscription for the OIR's extents.
Expand Down
Loading

0 comments on commit 48dbe6c

Please sign in to comment.