Skip to content

Commit

Permalink
Merge pull request #444 from GeoLabs/feature/part2-fix-naming
Browse files Browse the repository at this point in the history
Rename all the conformance, requirements, permissions and abstract tests from Part 2
  • Loading branch information
bpross-52n authored Oct 28, 2024
2 parents 759a90f + 87e4fe4 commit f65a7ec
Show file tree
Hide file tree
Showing 62 changed files with 98 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
identifier:: http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/cwl
subject:: <<rc_cwl,http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/cwl>>
classification:: Target Type:Web API
conformance-test:: /conf/cwl/deploy/body
conformance-test:: /conf/cwl/replace/body
conformance-test:: /conf/cwl/deploy-body
conformance-test:: /conf/cwl/replace-body
====

==== Deploy operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
identifier:: http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/docker
subject:: <<rc_docker,http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/docker>>
classification:: Target Type:Web API
conformance-test:: /conf/docker/deploy/body
conformance-test:: /conf/docker/replace/body
conformance-test:: /conf/docker/deploy-body
conformance-test:: /conf/docker/replace-body
====

==== Deploy operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ identifier:: http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/deploy-repl
subject:: <<rc_deploy-replace-undeploy,http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/deploy-replace-undeploy>>
classification:: Target Type:Web API
conformance-test:: /conf/dru/static-indicator
conformance-test:: /conf/dru/deploy/post-op
conformance-test:: /conf/dru/deploy/content-type
conformance-test:: /conf/dru/deploy/unsupported-content-type
conformance-test:: /conf/dru/replace/put-op
conformance-test:: /conf/dru/replace/content-type
conformance-test:: /conf/dru/undeploy/delete-op
conformance-test:: /conf/dru/undeploy/response
conformance-test:: /conf/dru/undeploy/response-immutable
conformance-test:: /conf/dru/deploy-post-op
conformance-test:: /conf/dru/deploy-content-type
conformance-test:: /conf/dru/deploy-unsupported-content-type
conformance-test:: /conf/dru/replace-put-op
conformance-test:: /conf/dru/replace-content-type
conformance-test:: /conf/dru/undeploy-delete-op
conformance-test:: /conf/dru/undeploy-response
conformance-test:: /conf/dru/undeploy-response-immutable
====

==== Immutable processes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
identifier:: http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/ogcapppkg
subject:: <<rc_ogcapppkg,http://www.opengis.net/spec/ogcapi-processes-2/1.0/conf/ogcapppkg>>
classification:: Target Type:Web API
conformance-test:: /conf/ogcapppkg/deploy/body
conformance-test:: /conf/ogcapppkg/deploy/response
conformance-test:: /conf/ogcapppkg/deploy/response-success
conformance-test:: /conf/ogcapppkg/deploy/response-duplicate
conformance-test:: /conf/ogcapppkg/replace/body
conformance-test:: /conf/ogcapppkg/replace/response
conformance-test:: /conf/ogcapppkg/deploy-body
conformance-test:: /conf/ogcapppkg/deploy-response
conformance-test:: /conf/ogcapppkg/deploy-response-success
conformance-test:: /conf/ogcapppkg/deploy-response-duplicate
conformance-test:: /conf/ogcapppkg/replace-body
conformance-test:: /conf/ogcapppkg/replace-response
====

==== Deploy operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/cwl/deploy/body
target:: /req/cwl/deploy/body
identifier:: /conf/cwl/deploy-body
target:: /req/cwl/deploy-body
test-purpose:: Validate that the server support deploy operation using the Common Workflow Language encoding
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/cwl/deploy/response-body
target:: /req/deploy-replace-undeploy/deploy/response-body
identifier:: /conf/cwl/deploy-response-body
target:: /req/deploy-replace-undeploy/deploy-response-body
test-purpose:: Validate that the server return HTTP Status code 201 or 202
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/cwl/deploy/response
target:: /req/deploy-replace-undeploy/deploy/response-success
identifier:: /conf/cwl/deploy-response
target:: /req/deploy-replace-undeploy/deploy-response-success
test-purpose:: Validate that the server return HTTP Status code 201 or 202
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/cwl/replace/body
target:: /req/cwl/replace/body
identifier:: /conf/cwl/replace-body
target:: /req/cwl/replace-body
test-purpose:: Validate that the server support replace operation using the Common Workflow Language encoding
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/cwl/replace/response
target:: /req/deploy-replace-undeploy/replace/response-success
identifier:: /conf/cwl/replace-response
target:: /req/deploy-replace-undeploy/replace-response-success
test-purpose:: Validate that the server return HTTP Status code 200 or 204
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/docker/deploy/body
target:: /rec/deploy-replace-undeploy/deploy/body-docker
identifier:: /conf/docker/deploy-body
target:: /rec/deploy-replace-undeploy/deploy-body-docker
test-purpose:: Validate that the server supports deploy operation using a Docker image as execution unit
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/docker/replace/body
target:: /req/docker/replace/body
identifier:: /conf/docker/replace-body
target:: /req/docker/replace-body
test-purpose:: Validate that the server support replace operation using a Docker image as execution unit
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/deploy/content-type
target:: /req/deploy-replace-undeploy/deploy/content-type
identifier:: /conf/dru/deploy-content-type
target:: /req/deploy-replace-undeploy/deploy-content-type
test-purpose:: Validate that the server support the Content-type header to declare the media type of the request body
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/deploy/post-op
identifier:: /conf/dru/deploy-post-op
target:: <<req_deploy-replace-undeploy_deploy_post-op,/req/deploy-replace-undeploy/deploy/post-op>>
test-purpose:: Validate that the server support HTTP POST operation at the path /processes
test-method::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/deploy/unsupported-content-type
target:: /req/deploy-replace-undeploy/deploy/unsupported-content-type
identifier:: /conf/dru/deploy-unsupported-content-type
target:: /req/deploy-replace-undeploy/deploy-unsupported-content-type
test-purpose:: Validate that the server returns a 415 status code with a relevant exception
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/replace/content-type
target:: /req/deploy-replace-undeploy/replace/content-type
identifier:: /conf/dru/replace-content-type
target:: /req/deploy-replace-undeploy/replace-content-type
test-purpose:: Validate that the server supports the Content-type header to declare the media type of the request body
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/replace/put-op
target:: /req/deploy-replace-undeploy/replace/put-op
identifier:: /conf/dru/replace-put-op
target:: /req/deploy-replace-undeploy/replace-put-op
test-purpose:: Validate that the server supports HTTP PUT operation at the path /processes
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/replace/unsupported-content-type
target:: /req/deploy-replace-undeploy/deploy/unsupported-content-type
identifier:: /conf/dru/replace-unsupported-content-type
target:: /req/deploy-replace-undeploy/deploy-unsupported-content-type
test-purpose:: Validate that the server returns a 415 status code with a relevant exception
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/undeploy/delete-op
target:: /req/deploy-replace-undeploy/undeploy/delete-op
identifier:: /conf/dru/undeploy-delete-op
target:: /req/deploy-replace-undeploy/undeploy-delete-op
test-purpose:: Validate that the server supports HTTP DELETE operation at the path /processes/{processId}
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/undeploy/response-immutable-success
target:: /req/deploy-replace-undeploy/deploy/response-immutable
identifier:: /conf/dru/undeploy-response-immutable-success
target:: /req/deploy-replace-undeploy/deploy-response-immutable
test-purpose:: Validate that the server returns a 403 status code when removing an immutable process
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/undeploy/response-immutable
target:: /req/deploy-replace-undeploy/deploy/response-immutable
identifier:: /conf/dru/undeploy-response-immutable
target:: /req/deploy-replace-undeploy/deploy-response-immutable
test-purpose:: Validate that the server returns a 403 status code when removing an immutable process
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/dru/undeploy/response
target:: /req/deploy-replace-undeploy/undeploy/response
identifier:: /conf/dru/undeploy-response
target:: /req/deploy-replace-undeploy/undeploy-response
test-purpose:: Validate that the server returns a 204 status code when removing a mutable process
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/ogcapppkg/deploy/body
target:: /req/ogcapppkg/deploy/body
identifier:: /conf/ogcapppkg/deploy-body
target:: /req/ogcapppkg/deploy-body
test-purpose:: Validate that the server supports OGC Application Package encoding
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/ogcapppkg/deploy/response-duplicate
target:: /req/deploy-replace-undeploy/deploy/response-duplicate
identifier:: /conf/ogcapppkg/deploy-response-duplicate
target:: /req/deploy-replace-undeploy/deploy-response-duplicate
test-purpose:: Validate that the server return HTTP Status code 409
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/ogcapppkg/deploy/response-success
target:: /req/deploy-replace-undeploy/deploy/response-success
identifier:: /conf/ogcapppkg/deploy-response-success
target:: /req/deploy-replace-undeploy/deploy-response-success
test-purpose:: Validate that the server returns a Location header and a process summary
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/ogcapppkg/deploy/response
target:: /req/deploy-replace-undeploy/deploy/response-success
identifier:: /conf/ogcapppkg/deploy-response
target:: /req/deploy-replace-undeploy/deploy-response-success
test-purpose:: Validate that the server returns HTTP Status code 201 or 202
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/ogcapppkg/replace/body
target:: /req/ogcapppkg/replace/body
identifier:: /conf/ogcapppkg/replace-body
target:: /req/ogcapppkg/replace-body
test-purpose:: Validate that the server supports OGC Application Package encoding
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[abstract_test]
====
[%metadata]
identifier:: /conf/ogcapppkg/replace/response
target:: /req/deploy-replace-undeploy/response-success
identifier:: /conf/ogcapppkg/replace-response
target:: /req/deploy-replace-undeploy-response-success
test-purpose:: Validate that the server returns HTTP Status code 200, 202 or 204
test-method::
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
[permission]
====
[%metadata]
label:: /per/core/additional-status-codes
label:: /per/deploy-replace-undeploy/additional-status-codes
part:: Servers MAY support other HTTP protocol capabilities. Therefore, the server may return other status codes than those listed in <<status_codes>>.
====
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
[permission]
====
[%metadata]
label:: /per/deploy-replace-undeploy/deploy/body
label:: /per/deploy-replace-undeploy/deploy-body
part:: A server MAY support any processes description encoding in the body of a HTTP POST operation.
====
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[recommendation]
====
[%metadata]
label:: /rec/deploy-replace-undeploy/deploy/body-cwl
label:: /rec/deploy-replace-undeploy/deploy-body-cwl
part:: If a process can be encoded for the intended use in <<rc_cwl,CWL>>, implementations SHOULD consider supporting the <<rc_cwl,CWL>> encoding for describing the process to be deployed to the API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[recommendation]
====
[%metadata]
label:: /rec/deploy-replace-undeploy/deploy/body-ogcapppkg
label:: /rec/deploy-replace-undeploy/deploy-body-ogcapppkg
part:: If a process can be represented for the intended use as an <<rc_ogcapppkg,OGC Application Package>>, implementations SHOULD consider supporting the <<rc_ogcapppkg,OGC Application Package>> encoding for describing the process to be added to the API.
====
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[recommendation]
====
[%metadata]
label:: /rec/deploy-replace-undeploy/package/response-cwl
label:: /rec/deploy-replace-undeploy/package-response-cwl
part:: If a process deployed as a <<rc_cwl,CWL>>, implementations SHOULD consider supporting the <<rc_cwl,CWL>> encoding.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[recommendation]
====
[%metadata]
label:: /rec/deploy-replace-undeploy/package/response-ogcapppkg
label:: /rec/deploy-replace-undeploy/package-response-ogcapppkg
part:: If a process was deployed as an <<rc_ogcapppkg,OGC Application Package>>, implementations SHOULD consider supporting the <<rc_ogcapppkg,OGC Application Package>> encoding.
====
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
[permission]
====
[%metadata]
label:: /per/deploy-replace-undeploy/replace/body
label:: /per/deploy-replace-undeploy/replace-body
part:: A server MAY support any processes description encoding in the body of a HTTP PUT operation.
====
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[recommendation]
====
[%metadata]
label:: /rec/deploy-replace-undeploy/replace/body-cwl
label:: /rec/deploy-replace-undeploy/replace-body-cwl
part:: If a process can be encoded for the intended use in <<rc_cwl,CWL>>, implementations SHOULD consider supporting the <<rc_cwl,CWL>> encoding for describing the replacement process.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[recommendation]
====
[%metadata]
label:: /rec/deploy-replace-undeploy/replace/body-ogcapppkg
label:: /rec/deploy-replace-undeploy/replace-body-ogcapppkg
part:: If a process can be described for the intended use as an <<rc_ogcapppkg,OGC Application Package>>, implementations SHOULD consider supporting the <<rc_ogcapppkg,OGC Application Package>> encoding for describing the replacement process.
Expand Down
Loading

0 comments on commit f65a7ec

Please sign in to comment.