Skip to content

Commit

Permalink
Merge pull request #577 from opengeospatial/changes-for-v1.2
Browse files Browse the repository at this point in the history
Changes for v1.2
  • Loading branch information
chris-little authored Oct 31, 2024
2 parents 7587514 + 498adc9 commit af85c84
Show file tree
Hide file tree
Showing 157 changed files with 2,089 additions and 520 deletions.
3 changes: 3 additions & 0 deletions core/standard/abstract_tests/ATS_class_collections.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ conformance-test:: /conf/edr/rc-items-variables
conformance-test:: /conf/edr/rc-md-query-links
conformance-test:: /conf/core/rc-collection-info-links
conformance-test:: /conf/edr/rc-parameters
conformance-test:: /conf/edr/rc-crs
====

Expand Down Expand Up @@ -87,6 +88,8 @@ include::collections/ATS_rc-items-variables.adoc[]

include::collections/ATS_rc-md-query-links.adoc[]

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

===== Collection Links

include::collections/ATS_rc-md-links.adoc[]
Expand Down
87 changes: 84 additions & 3 deletions core/standard/abstract_tests/ATS_class_queries.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ conformance-test:: /conf/edr/rc-coords-definition-position
conformance-test:: /conf/edr/rc-coords-response-position
conformance-test:: /conf/edr/rc-z-definition-position
conformance-test:: /conf/edr/rc-z-response-position
conformance-test:: /conf/edr/rc-custom-dimension-definition-position
conformance-test:: /conf/edr/rc-custom-dimension-response-position
conformance-test:: /conf/core/datetime-definition-position
conformance-test:: /conf/core/datetime-response-position
conformance-test:: /conf/collections/REQ_rc-parameter-name-definition-position
Expand All @@ -24,6 +26,36 @@ conformance-test:: /conf/edr/REQ_rc-crs-definition-position
conformance-test:: /conf/edr/REQ_rc-crs-response-position
conformance-test:: /conf/edr/rc-f-definition-position
conformance-test:: /conf/collections/rc-f-response-position
conformance-test:: /conf/core/rc-limit-definition-position
conformance-test:: /conf/core/rc-limit-response-position
conformance-test:: /conf/radius/no-query-params
conformance-test:: /conf/radius/no-coords-param
conformance-test:: /conf/radius/no-within-param
conformance-test:: /conf/radius/no-within_units-param
conformance-test:: /conf/radius/coords-param-invalid
conformance-test:: /conf/radius/valid-query-params
conformance-test:: /conf/edr/rc-coords-definition-radius
conformance-test:: /conf/edr/rc-coords-response-radius
conformance-test:: /conf/edr/rc-z-definition-radius
conformance-test:: /conf/edr/rc-z-response-radius
conformance-test:: /conf/edr/rc-custom-dimension-definition-radius
conformance-test:: /conf/edr/rc-custom-dimension-response-radius
conformance-test:: /conf/core/datetime-definition-radius
conformance-test:: /conf/core/datetime-response-radius
conformance-test:: /conf/edr/REQ_rc-within-definition
conformance-test:: /conf/collections/REQ_rc-within-response
conformance-test:: /conf/edr/REQ_rc-within-units-definition
conformance-test:: /conf/collections/REQ_rc-within-units-response
conformance-test:: /conf/collections/REQ_rc-parameter-name-definition-radius
conformance-test:: /conf/edr/rc-parameter-name-response-radius
conformance-test:: /conf/edr/REQ_rc-crs-definition-radius
conformance-test:: /conf/edr/REQ_rc-crs-response-radius
conformance-test:: /conf/edr/rc-f-definition-radius
conformance-test:: /conf/collections/rc-f-response-radius
conformance-test:: /conf/core/rc-limit-definition-radius
conformance-test:: /conf/core/rc-limit-response-radius
conformance-test:: /conf/area/no-query-params
conformance-test:: /conf/area/no-coords-param
conformance-test:: /conf/area/coords-param-invalid
Expand All @@ -32,6 +64,8 @@ conformance-test:: /conf/edr/rc-coords-definition-area
conformance-test:: /conf/edr/rc-coords-response-area
conformance-test:: /conf/edr/rc-z-definition-area
conformance-test:: /conf/edr/rc-z-response-area
conformance-test:: /conf/edr/rc-custom-dimension-definition-area
conformance-test:: /conf/edr/rc-custom-dimension-response-area
conformance-test:: /conf/core/datetime-definition-area
conformance-test:: /conf/core/datetime-response-area
conformance-test:: /conf/collections/REQ_rc-parameter-name-definition-area
Expand All @@ -40,20 +74,34 @@ conformance-test:: /conf/edr/REQ_rc-crs-definition-area
conformance-test:: /conf/edr/REQ_rc-crs-response-area
conformance-test:: /conf/edr/rc-f-definition-area
conformance-test:: /conf/collections/rc-f-response-area
conformance-test:: /conf/core/rc-limit-definition-area
conformance-test:: /conf/core/rc-limit-response-area
conformance-test:: /conf/cube/no-query-params
conformance-test:: /conf/cube/no-bbox-param
conformance-test:: /conf/cube/bbox-param-invalid
conformance-test:: /conf/cube/valid-query-params
conformance-test:: /conf/edr/rc-z-definition-cube
conformance-test:: /conf/edr/rc-z-response-cube
conformance-test:: /conf/core/rc-bbox-definition-cube
conformance-test:: /conf/core/rc-bbox-response-cube
conformance-test:: /conf/core/rc-z-definition-cube
conformance-test:: /conf/core/rc-z-response-cube
conformance-test:: /conf/edr/rc-custom-dimension-definition-cube
conformance-test:: /conf/edr/rc-custom-dimension-response-cube
conformance-test:: /conf/core/datetime-definition-cube
conformance-test:: /conf/core/datetime-response-cube
conformance-test:: /conf/collections/REQ_rc-parameter-name-definition-cube
conformance-test:: /conf/edr/rc-parameter-name-response-cube
conformance-test:: /conf/core/rc-resolution-x-definition-cube
conformance-test:: /conf/core/rc-resolution-x-response-cube
conformance-test:: /conf/core/rc-resolution-y-definition-cube
conformance-test:: /conf/core/rc-resolution-y-response-cube
conformance-test:: /conf/core/rc-resolution-z-definition-cube
conformance-test:: /conf/core/rc-resolution-z-response-cube
conformance-test:: /conf/edr/REQ_rc-crs-definition-cube
conformance-test:: /conf/edr/REQ_rc-crs-response-cube
conformance-test:: /conf/edr/rc-f-definition-cube
conformance-test:: /conf/collections/rc-f-response-cube
conformance-test:: /conf/trajectory/no-query-params
conformance-test:: /conf/trajectory/no-coords-param
conformance-test:: /conf/trajectory/coords-param-invalid-linestring
Expand All @@ -63,6 +111,8 @@ conformance-test:: /conf/trajectory/coords-param-separate-z-linestringzm
conformance-test:: /conf/trajectory/coords-param-invalid-linestringzm
conformance-test:: /conf/trajectory/coords-param-invalid-linestringz
conformance-test:: /conf/trajectory/coords-param-invalid-time
conformance-test:: /conf/edr/rc-custom-dimension-definition-trajectory
conformance-test:: /conf/edr/rc-custom-dimension-response-trajectory
conformance-test:: /conf/trajectory/valid-query-params
conformance-test:: /conf/edr/rc-coords-definition-trajectory
conformance-test:: /conf/edr/rc-coords-response-trajectory
Expand All @@ -72,6 +122,7 @@ conformance-test:: /conf/edr/REQ_rc-crs-definition-trajectory
conformance-test:: /conf/edr/REQ_rc-crs-response-trajectory
conformance-test:: /conf/edr/rc-f-definition-trajectory
conformance-test:: /conf/collections/rc-f-response-trajectory
conformance-test:: /conf/corridor/no-query-params
conformance-test:: /conf/corridor/no-coords-param
conformance-test:: /conf/corridor/corridor-width-param-missing
Expand All @@ -87,6 +138,12 @@ conformance-test:: /conf/corridor/coords-param-invalid-linestringz
conformance-test:: /conf/corridor/coords-param-invalid-time
conformance-test:: /conf/corridor/width-units-param-invalid
conformance-test:: /conf/corridor/height-units-param-invalid
conformance-test:: /conf/edr/rc-resolution-x-definition-corridor
conformance-test:: /conf/edr/rc-resolution-x-response-corridor
conformance-test:: /conf/edr/rc-resolution-y-definition-corridor
conformance-test:: /conf/edr/rc-resolution-y-response-corridor
conformance-test:: /conf/edr/rc-custom-dimension-definition-corridor
conformance-test:: /conf/edr/rc-custom-dimension-response-corridor
conformance-test:: /conf/corridor/valid-query-params
conformance-test:: /conf/edr/rc-coords-definition-corridor
conformance-test:: /conf/edr/rc-coords-response-corridor
Expand All @@ -109,6 +166,7 @@ conformance-test:: /conf/instances/rc-md-success
conformance-test:: /conf/instances/src-md-op
conformance-test:: /conf/instances/src-md-success
conformance-test:: /conf/locations/no-query-params
conformance-test:: /conf/locations/locations-nodata
conformance-test:: /conf/locations/location-identifier-invalid
conformance-test:: /conf/locations/valid-query-params
conformance-test:: /conf/core/datetime-definition-locations
Expand All @@ -119,6 +177,20 @@ conformance-test:: /conf/edr/REQ_rc-crs-definition-locations
conformance-test:: /conf/edr/REQ_rc-crs-response-locations
conformance-test:: /conf/edr/rc-f-definition-locations
conformance-test:: /conf/collections/rc-f-response-locations
conformance-test:: /conf/core/rc-limit-definition-locations
conformance-test:: /conf/core/rc-limit-response-locations
conformance-test:: /conf/core/rc-bbox-definition
conformance-test:: /conf/core/rc-bbox-response
conformance-test:: /conf/core/datetime-definition-items
conformance-test:: /conf/core/datetime-response-items
conformance-test:: /conf/edr/rc-custom-dimension-definition-locations
conformance-test:: /conf/edr/rc-custom-dimension-response-locations
conformance-test:: /conf/edr/rc-locationid-definition
conformance-test:: /conf/edr/rc-locationid-response
conformance-test:: /conf/core/rc-items
conformance-test:: /conf/core/rc-numberReturned
conformance-test:: /conf/core/rc-numberMatched
====

Expand Down Expand Up @@ -149,6 +221,10 @@ include::queries/ATS_trajectory.adoc[]

include::queries/ATS_corridor.adoc[]

===== Items

include::queries/ATS_items.adoc[]


===== Instances {root}/collections/{collectionId}/instances

Expand All @@ -167,7 +243,12 @@ include::instances/ATS_src-md-op.adoc[]
include::instances/ATS_src-md-success.adoc[]



===== Locations

include::queries/ATS_locations.adoc[]

===== Response

include::core/ATS_rc-numberMatched.adoc[]

include::core/ATS_rc-numberReturned.adoc[]
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[[ats_collections_rc-custom-dimension-definition]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-custom-dimension-definition*
^|Test Purpose |Validate that any custom query parameters are constructed correctly.
^|Requirement |<<req_edr_custom-dimension-definition,/req/edr/rc-custom-dimension-definition>>
^|Test Method |Verify that any <<rc_custom-dimensions-section,custom dimension>> query parameters comply with the following definition (using an OpenAPI Specification 3.0 fragment):
[[ats_collections_rc-custom-dimension-definition-asciidochandle]]
[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-custom-dimension-definition-asciidochandle
target:: /req/edr/rc-custom-dimension-definition
test-purpose:: Validate that any custom query parameters are constructed correctly.
test-method::
+
--
Verify that any <<rc_custom-dimensions-section,custom dimension>> query parameters comply with the following definition (using an OpenAPI Specification 3.0 fragment):
[source,YAML]
----
Expand All @@ -16,4 +19,5 @@ schema:
style: form
explode: false
----
|===
--
====
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
[[ats_collections_rc-custom-dimension-response]]{counter2:ats-id}
[width="90%",cols="2,6a"]
.Abstract Test {ats-id}
|===
^|*Abstract Test {ats-id}* |*/conf/edr/rc-custom-dimension-response*
^|Test Purpose |Validate that the <<rc_custom-dimensions-section,custom dimension>> parameters query parameters are processed correctly.
^|Requirement |<<req_edr_custom-dimension-response,/req/edr/custom-dimension-response>>
^|Test Method |. Verify that only resources that have a values that are valid for the range information in any <<rc_custom-dimensions-section,custom dimension>> parameters are included in the result set
. Validate that the values specified comply with the syntax described in <<req_edr_custom-dimension-response,/req/edr/custom-dimension-response>>.
. Validate that if <<rc_custom-dimensions-section,custom dimension>> are defined in the <<collection_metadata_desc, collections>> response but no query parameters for the <<rc_custom-dimensions-section,custom dimensions>> are specified in the query all valid values are returned with no subsetting by the <<rc_custom-dimensions-section,custom dimension>>.
|===
[[ats_collections_rc-custom-dimension-response-asciidochandle]]

[abstract_test]
====
[%metadata]
identifier:: /conf/edr/rc-custom-dimension-response-asciidochandle
target:: /req/edr/custom-dimension-response
test-purpose:: Validate that the <<rc_custom-dimensions-section,custom dimension>> parameters query parameters are processed correctly.
test-method::
step::: Verify that only resources that have a values that are valid for the range information in any <<rc_custom-dimensions-section,custom dimension>> parameters are included in the result set.
step:::Validate that the values specified comply with the syntax described in <<req_edr_custom-dimension-response,/req/edr/custom-dimension-response>>.
step::: Validate that if <<rc_custom-dimensions-section,custom dimension>> are defined in the <<collection_metadata_desc, collections>> response but no query parameters for the <<rc_custom-dimensions-section,custom dimensions>> are specified in the query all valid values are returned with no subsetting by the <<rc_custom-dimensions-section,custom dimension>>.
====

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[[ats_core_rc-limit-definition-asciidochandle]]
[abstract_test]
====
[%metadata]
identifier:: /conf/core/rc-limit-definition-asciidochandle
target:: /req/edr/rc-limit-definition
test-purpose:: Validate that the limit query parameters are defined correctly.
test-method::
+
--
Verify that the `limit` query parameter complies with the following definition (using an OpenAPI Specification 3.0 fragment):
[source,YAML]
----
name: limit
in: query
required: false
schema:
type: integer
style: form
explode: false
----
Note that the API can define values for "minimum", "maximum" and "default".
--
====
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[[ats_core_rc-limit-response-asciidochandle]]
[abstract_test]
====
[%metadata]
identifier:: /conf/core/rc-limit-response-asciidochandle
target:: /req/edr/REQ_rc-limit-response
test-purpose:: Validate that the limit query parameters are evaluated correctly.
test-method::
step::: Request Features with the `limit` parameter.
step::: Count the Features which are on the first level of the collection. Any nested objects contained within the explicitly requested items are not counted.
step::: Verify that this count is not greater than the value specified by the `limit` parameter.
step::: If the API definition specifies a maximum value for `limit` parameter, verify that the count does not exceed this maximum value.
step::: If the API definition specifies a maximum value for `limit` parameter, submit another request with a `limit` value that is greater than the maximum and verify that the response is not an error and that the count does not exceed this maximum value.
====

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit af85c84

Please sign in to comment.