Skip to content

Commit

Permalink
Fix emoji spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
the-glu committed Jan 14, 2025
1 parent fd87973 commit 9ce3338
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,55 +39,55 @@ This test case will:

This step attempts to concurrently create multiple ISAs, as specified in this scenario's resource, at the configured DSS.

#### 🛑Concurrent ISAs creation check
#### 🛑 Concurrent ISAs creation check

If any of the concurrent ISA creation requests fail or leads to the creation of an incorrect ISA, the PUT DSS endpoint in **[astm.f3411.v19.DSS0030,a](../../../../../requirements/astm/f3411/v19.md)** is likely not implemented correctly.

### [Get ISAs concurrently test step](test_steps/get_isa.md)

This step attempts to concurrently retrieve the previously created ISAs from the DSS.

#### 🛑Successful Concurrent ISA query check
#### 🛑 Successful Concurrent ISA query check

If any of the ISAs cannot be queried, the GET ISA DSS endpoint in **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** is likely not implemented correctly.

### [Search Available ISAs test step](test_steps/search_isas.md)

This test step searches the area in which the ISAs were concurrently created, and expects to find all of them.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑Correct ISAs returned by search check
#### 🛑 Correct ISAs returned by search check

The ISA search parameters cover the resource ISA, as such the resource ISA that exists at the DSS should be returned by the search. If it is not returned, this check will fail.

### [Delete ISAs concurrently test step](test_steps/delete_isa.md)

This step attempts to concurrently delete the earlier created ISAs.

#### 🛑ISAs deletion query success check
#### 🛑 ISAs deletion query success check

If an ISA cannot be deleted, the PUT DSS endpoint in **[astm.f3411.v19.DSS0030,b](../../../../../requirements/astm/f3411/v19.md)** is likely not implemented correctly.

### Access Deleted ISAs test step

This step attempts to concurrently access the previously deleted ISAs from the DSS.

#### 🛑ISAs not found check
#### 🛑 ISAs not found check

The ISA fetch request was about a deleted ISA, as such the DSS should reject it with a 404 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### [Search Deleted ISAs test step](test_steps/search_isas.md)

This step issues a search for active ISAs in the area of the previously deleted ISAs from the DSS.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISAs not returned by search check
#### 🛑 ISAs not returned by search check

The ISA search area parameter cover the resource ISA, but it has been previously deleted, as such the ISA should not be returned by the search. If it is returned, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ part of the test.

This step attempts to query the configured DSS with the ISA provided as a resource.

#### 🛑ISA created check
#### 🛑 ISA created check

If the ISA cannot be created, the PUT DSS endpoint in **[astm.f3411.v19.DSS0030,a](../../../../../requirements/astm/f3411/v19.md)** is likely not implemented correctly.

### Get ISA by ID test step

This step attempts to retrieve the previously created ISA from the DSS.

#### 🛑Successful ISA query check
#### 🛑 Successful ISA query check

If the ISA cannot be queried, the GET ISA DSS endpoint in **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** is likely not implemented correctly.

The DSS returns the ID of the ISA in the response body. If this ID does not match the ID in the resource path, **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** was not implemented correctly and this check will fail.

#### 🛑ISA version match check
#### 🛑 ISA version match check

The DSS returns the version of the ISA in the response body. If this version does not match the version that was returned after creation, and that no modification of the ISA occurred in the meantime, **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** was not implemented correctly and this check will fail.

Expand All @@ -60,105 +60,105 @@ The DSS returns the version of the ISA in the response body. If this version do

This step attempts to update the configured DSS with the ISA provided as a resource, with a slightly different end time.

#### 🛑ISA updated check
#### 🛑 ISA updated check

If the ISA cannot be updated, the PUT DSS endpoint in **[astm.f3411.v19.DSS0030,a](../../../../../requirements/astm/f3411/v19.md)** is likely not implemented correctly.

### Get ISA by ID test step

This step attempts to retrieve at the DSS the ISA just updated.

#### 🛑Successful ISA query check
#### 🛑 Successful ISA query check

If the ISA cannot be queried, the GET ISA DSS endpoint in **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** is likely not implemented correctly.

The DSS returns the ID of the ISA in the response body. If this ID does not match the ID in the resource path, **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** was not implemented correctly and this check will fail.

#### 🛑ISA version match check
#### 🛑 ISA version match check

The DSS returns the version of the ISA in the response body. If this version does not match the version that was returned after update, and that no modification of the ISA occurred in the meantime, **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** was not implemented correctly and this check will fail.

### [Search by earliest time (included) test step](test_steps/search_isas.md)

This step attempts an ISA search at the DSS with the area of the ISA resource and an earliest time that overlaps with the resource ISA.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISA returned by search check
#### 🛑 ISA returned by search check

The ISA search parameters cover the resource ISA, as such the resource ISA that exists at the DSS should be returned by the search. If it is not returned, this check will fail.

### [Search by earliest time (excluded) test step](test_steps/search_isas.md)

This step attempts an ISA search at the DSS with the area of the ISA resource and an earliest time that does not overlap with the resource ISA.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISA not returned by search check
#### 🛑 ISA not returned by search check

The ISA search are parameter cover the resource ISA but the earliest time does not, as such the resource ISA that exists at the DSS should not be returned by the search. If it is returned, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### [Search by latest time (included) test step](test_steps/search_isas.md)

This step attempts an ISA search at the DSS with the area of the ISA resource and a latest time that overlaps with the resource ISA.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISA returned by search check
#### 🛑 ISA returned by search check

The ISA search parameters cover the resource ISA, as such the resource ISA that exists at the DSS should be returned by the search. If it is not returned, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### [Search by latest time (excluded) test step](test_steps/search_isas.md)

This step attempts an ISA search at the DSS with the area of the ISA resource and a latest time that does not overlap with the resource ISA.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISA not returned by search check
#### 🛑 ISA not returned by search check

The ISA search are parameter cover the resource ISA but the latest time does not, as such the resource ISA that exists at the DSS should not be returned by the search. If it is returned, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### [Search by area only test step](test_steps/search_isas.md)

This step attempts an ISA search at the DSS with only the area of the ISA resource.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISA returned by search check
#### 🛑 ISA returned by search check

The ISA search parameters cover the resource ISA, as such the resource ISA that exists at the DSS should be returned by the search. If it is not returned, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### Search with invalid params test step

This step attempts an ISA search at the DSS with an empty search area.

#### 🛑Search request rejected check
#### 🛑 Search request rejected check

The search request contained invalid parameters (empty search area), as such the DSS should reject it with a 400 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### Search by huge area test step

This step attempts an ISA search at the DSS with a too large search area.

#### 🛑Search request rejected check
#### 🛑 Search request rejected check

The search request contained invalid parameters (too large search area), as such the DSS should reject it with a 413 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### Search ISA with loop test step

This step attempts an ISA search at the DSS with a polygon defining the area that forms a loop.

#### 🛑Search request rejected check
#### 🛑 Search request rejected check

The search request contained invalid parameters (area polygon is a loop, which is not allowed), as such the DSS should reject it with a 400 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

Expand All @@ -168,58 +168,58 @@ The search request contained invalid parameters (area polygon is a loop, which i

This step attempts an ISA deletion with a wrong version.

#### 🛑Delete request rejected check
#### 🛑 Delete request rejected check

The deletion request contained invalid parameters (wrong version), as such the DSS should reject it with a 409 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[astm.f3411.v19.DSS0030,b](../../../../../requirements/astm/f3411/v19.md)**.

### Delete with empty version test step

This step attempts an ISA deletion with an empty version.

#### 🛑Delete request rejected check
#### 🛑 Delete request rejected check

The deletion request contained invalid parameters (empty version), as such the DSS should reject it with a 400 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[astm.f3411.v19.DSS0030,b](../../../../../requirements/astm/f3411/v19.md)**.

### [Delete ISA test step](test_steps/delete_isa.md)

This step attempts an ISA deletion at the DSS.

#### 🛑ISA deleted check
#### 🛑 ISA deleted check

If the ISA cannot be deleted, the PUT DSS endpoint in **[astm.f3411.v19.DSS0030,b](../../../../../requirements/astm/f3411/v19.md)** is likely not implemented correctly.

### Get deleted ISA by ID test step

This step attempts to retrieve at the DSS the ISA just deleted.

#### 🛑ISA not found check
#### 🛑 ISA not found check

The ISA fetch request was about a deleted ISA, as such the DSS should reject it with a 404 HTTP code. If the DSS responds successfully to this request, or if it rejected with an incorrect HTTP code, this check will fail as per **[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

### [Search ISA test step](test_steps/search_isas.md)

This step attempts an ISA search at the DSS with only the area of the ISA resource. Since it has just been deleted, the ISA should not be returned.

#### 🛑Successful ISAs search check
#### 🛑 Successful ISAs search check

The ISA search parameters are valid, as such the search should be successful. If the request is not successful, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

#### 🛑ISA not returned by search check
#### 🛑 ISA not returned by search check

The ISA search are parameter cover the resource ISA, but it has been previously deleted, as such the ISA should not be returned by the search. If it is returned, this check will fail as per **[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)**.

## Cleanup

The cleanup phase of this test scenario attempts to remove the ISA if the test ended prematurely.

### 🛑Successful ISA query check
### 🛑 Successful ISA query check

**[interuss.f3411.dss_endpoints.GetISA](../../../../../requirements/interuss/f3411/dss_endpoints.md)** requires the implementation of the DSS endpoint enabling retrieval of information about a specific ISA; if the individual ISA cannot be retrieved and the error isn't a 404, then this requirement isn't met.

### 🛑Removed pre-existing ISA check
### 🛑 Removed pre-existing ISA check

If an ISA with the intended ID is still present in the DSS, it needs to be removed before exiting the test. If that ISA cannot be deleted, then the **[astm.f3411.v19.DSS0030,b](../../../../../requirements/astm/f3411/v19.md)** requirement to implement the ISA deletion endpoint might not be met.

### ️Notified subscriber check
### ️ Notified subscriber check

When an ISA is deleted, subscribers must be notified. If a subscriber cannot be notified, that subscriber USS did not correctly implement "POST Identification Service Area" in **[astm.f3411.v19.NET0730](../../../../../requirements/astm/f3411/v19.md)**.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This page describes the content of a common test step where a creation or an update of an ISA should be successful.
See `DSSWrapper.put_isa` in [`dss_wrapper.py`](../../../dss_wrapper.py).

## ℹ️ISA response code check
## ℹ️ ISA response code check

The API for **[astm.f3411.v19.DSS0030,a](../../../../../../requirements/astm/f3411/v19.md)** specifies that the code of successful DSS responses is 200. While tolerated in some cases, if the DSS responds with an HTTP code 201 for success, this check will fail with a low severity.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ A [`DSSInstanceResource`](../../../../resources/astm/f3411/dss.py) is required f

In this step, uss_qualifier injects a single nominal flight into each SP under test, usually with a start time in the future. Each SP is expected to queue the provided telemetry and later simulate that telemetry coming from an aircraft at the designated timestamps.

#### 🛑Successful injection check
#### 🛑 Successful injection check

Per **[interuss.automated_testing.rid.injection.UpsertTestSuccess](../../../../requirements/interuss/automated_testing/rid/injection.md)**, the injection attempt of the valid flight should succeed for every NetRID Service Provider under test.

**[astm.f3411.v19.NET0500](../../../../requirements/astm/f3411/v19.md)** requires a Service Provider to provide a persistently supported test instance of their implementation.
This check will fail if the flight was not successfully injected.

#### 🛑Identifiable flights check
#### 🛑 Identifiable flights check

This particular test requires each flight to be uniquely identifiable by its 2D telemetry position; the same (lat, lng) pair may not appear in two different telemetry points, even if the two points are in different injected flights. This should generally be achieved by injecting appropriate data.

Expand Down
Loading

0 comments on commit 9ce3338

Please sign in to comment.