Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for v1.2 #577

Merged
merged 19 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[[ats_collections_rc-resolution-x-definition]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-resolution-x-definition*
^|Test Purpose |Validate that the `resolution-x` query parameters are constructed correctly.
^|Requirement |<<req_collections_rc-resolution-x-definition,/req/edr/resolution-x-definition>>
^|Test Method |Verify that the `resolution-x` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment):
[[ats_collections_rc-resolution-x-definition]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-resolution-x-definition
target:: /req/edr/resolution-x-definition
test-purpose:: Validate that the `resolution-x` query parameters are constructed correctly.
test-method::
+
--
Verify that the `resolution-x` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment).

[source,YAML]
----
Expand All @@ -17,4 +20,5 @@ schema:
style: form
explode: false
----
|===
--
====
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[[ats_collections_rc-resolution-x-response]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-resolution-x-response*
^|Test Purpose |Validate that the resolution-x query parameters are processed correctly.
^|Requirement |<<req_collections_rc-resolution-x-response,/req/edr/resolution-x-response>>
^|Test Method |. Verify that the data returned by the query contains the same number of values on the x axis as that requested in the `resolution-x` parameter
. Validate that the `resolution-x` parameter complies with the syntax described in <<req_collections_rc-resolution-x-response,/req/edr/resolution-x-response>>.
|===
[[ats_collections_rc-resolution-x-response]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-resolution-x-response
target:: /req/edr/resolution-x-response
test-purpose:: Validate that the resolution-x query parameters are processed correctly.
test-method::
step::: Validate that the `resolution-x` parameter complies with the syntax described in <<req_collections_rc-resolution-x-response,/req/edr/resolution-x-response>>.
step::: Verify that the data returned by the query contains the same number of values on the x axis as
that requested in the `resolution-x` parameter.
step::: Verify that a HTTP 400 error is returned when an invalid `resolution-x` parameter is requested.
====
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[[ats_collections_rc-resolution-y-definition]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-resolution-y-definition*
^|Test Purpose |Validate that the `resolution-y` query parameters are constructed correctly.
^|Requirement |<<req_collections_rc-resolution-y-definition,/req/edr/resolution-y-definition>>
^|Test Method |Verify that the `resolution-y` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment):
[[ats_collections_rc-resolution-y-definition]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-resolution-y-definition
target:: /req/edr/resolution-y-definition
test-purpose:: Validate that the `resolution-y` query parameters are constructed correctly.
test-method::
+
--
Verify that the `resolution-y` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment).

[source,YAML]
----
Expand All @@ -17,4 +20,5 @@ schema:
style: form
explode: false
----
|===
--
====
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[[ats_collections_rc-resolution-y-response]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-resolution-y-response*
^|Test Purpose |Validate that the `resolution-y` query parameters are processed correctly.
^|Requirement |<<req_collections_rc-resolution-y-response,/req/edr/resolution-y-response>>
^|Test Method |. Verify that the data returned by the query contains the same number of values on the y axis as that requested in the `resolution-y` parameter
. Validate that the `resolution-y` parameter complies with the syntax described in <<req_collections_rc-resolution-y-response,/req/edr/resolution-y-response>>.
|===
[[ats_collections_rc-resolution-y-response]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-resolution-y-response
target:: /req/edr/resolution-y-response
test-purpose:: Validate that the resolution-y query parameters are processed correctly.
test-method::
step::: Validate that the `resolution-y` parameter complies with the syntax described in <<req_collections_rc-resolution-y-response,/req/edr/resolution-y-response>>.
step::: Verify that the data returned by the query contains the same number of values on the y axis as
that requested in the `resolution-y` parameter.
step::: Verify that a HTTP 400 error is returned when an invalid `resolution-y` parameter is requested.
====
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[[ats_collections_rc-resolution-z-definition]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-resolution-z-definition*
^|Test Purpose |Validate that the resolution-z query parameters are constructed correctly.
^|Requirement |<<req_collections_rc-resolution-z-definition,/req/edr/resolution-z-definition>>
^|Test Method |Verify that the `resolution-z` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment):
[[ats_collections_rc-resolution-z-definition]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-resolution-z-definition
target:: /req/edr/resolution-z-definition
test-purpose:: Validate that the `resolution-z` query parameters are constructed correctly.
test-method::
+
--
Verify that the `resolution-z` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment).

[source,YAML]
----
Expand All @@ -17,4 +20,5 @@ schema:
style: form
explode: false
----
|===
--
====
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[[ats_collections_rc-resolution-z-response]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-resolution-z-response*
^|Test Purpose |Validate that the `resolution-z` query parameters are processed correctly.
^|Requirement |<<req_collections_rc-resolution-z-response,/req/edr/resolution-z-response>>
^|Test Method |. Verify that the data returned by the query contains the same number of values on the z axis as that requested in the `resolution-z` parameter
. Validate that the `resolution-z` parameter complies with the syntax described in <<req_collections_rc-resolution-z-response,/req/edr/resolution-z-response>>.
|===
[[ats_collections_rc-resolution-z-response]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-resolution-z-response
target:: /req/edr/resolution-z-response
test-purpose:: Validate that the resolution-z query parameters are processed correctly.
test-method::
step::: Validate that the `resolution-z` parameter complies with the syntax described in <<req_collections_rc-resolution-z-response,/req/edr/resolution-z-response>>.
step::: Verify that the data returned by the query contains the same number of values on the z axis as
that requested in the `resolution-z` parameter.
step::: Verify that a HTTP 400 error is returned when an invalid `resolution-z` parameter is requested.
====
10 changes: 9 additions & 1 deletion core/standard/abstract_tests/queries/ATS_corridor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,14 @@ include::../collections/ATS_rc-height-units-definition.adoc[]

include::../collections/ATS_rc-height-units-response.adoc[]

include::../collections/ATS_rc-resolution-x-definition.adoc[]

include::../collections/ATS_rc-resolution-x-response.adoc[]

include::../collections/ATS_rc-resolution-y-definition.adoc[]

include::../collections/ATS_rc-resolution-y-response.adoc[]

include::../collections/corridor/ATS_rc-parameter-name-definition.adoc[]

include::../collections/corridor/ATS_rc-parameter-name-response.adoc[]
Expand All @@ -245,4 +253,4 @@ include::../collections/corridor/ATS_rc-crs-response.adoc[]

include::../collections/corridor/ATS_rc-f-definition.adoc[]

include::../collections/corridor/ATS_rc-f-response.adoc[]
include::../collections/corridor/ATS_rc-f-response.adoc[]
20 changes: 13 additions & 7 deletions core/standard/abstract_tests/queries/ATS_cube.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ and verify that only information that matches the selection criteria is returned
--
====

// The coords param tests have been commented out because they are not supported by the Cube query.
// See https://github.com/opengeospatial/ogcapi-environmental-data-retrieval/issues/423#issuecomment-1553144063

//include::../collections/cube/ATS_rc-coords-definition.adoc[]

//include::../collections/cube/ATS_rc-coords-response.adoc[]

include::../collections/cube/ATS_rc-z-definition.adoc[]

Expand All @@ -96,10 +90,22 @@ include::../collections/cube/ATS_rc-parameter-name-definition.adoc[]

include::../collections/cube/ATS_rc-parameter-name-response.adoc[]

include::../collections/ATS_rc-resolution-x-definition.adoc[]

include::../collections/ATS_rc-resolution-x-response.adoc[]

include::../collections/ATS_rc-resolution-y-definition.adoc[]

include::../collections/ATS_rc-resolution-y-response.adoc[]

include::../collections/ATS_rc-resolution-z-definition.adoc[]

include::../collections/ATS_rc-resolution-z-response.adoc[]

include::../collections/cube/ATS_rc-crs-definition.adoc[]

include::../collections/cube/ATS_rc-crs-response.adoc[]

include::../collections/cube/ATS_rc-f-definition.adoc[]

include::../collections/cube/ATS_rc-f-response.adoc[]
include::../collections/cube/ATS_rc-f-response.adoc[]
10 changes: 10 additions & 0 deletions core/standard/abstract_tests/queries/ATS_locations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ step::: Check that invalid `locationId` values return an error message
step::: Validate that a document was returned with a status code 404.
====

[abstract_test]
====
[%metadata]
identifier:: /conf/locations/locations-nodata
target:: /req/edr/rc-locations
test-purpose:: Validate that an HTTP 204 message is returned by a `Locations` query when there is no data available for the requested locations.
test-method::
step::: Check that an HTTP 204 message is returned when no data for the requested location identifier(s) is available
step::: Validate that a document was returned with a status code 204.
====

[abstract_test]
====
Expand Down
2 changes: 2 additions & 0 deletions core/standard/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ include::sections/annex_ats.adoc[]

include::sections/annex_collection_response.adoc[]

include::sections/annex_measurement_type_methods.adoc[]

include::sections/annex_examples.adoc[]

include::sections/annex_relationship.adoc[]
Expand Down
Loading
Loading