Skip to content

Commit

Permalink
Merge pull request #159 from opengeospatial/move-execute-endpoint
Browse files Browse the repository at this point in the history
Move execute endpoint
  • Loading branch information
bpross-52n committed Apr 12, 2021
2 parents 94a15a0 + ee4f28c commit a574c19
Show file tree
Hide file tree
Showing 10 changed files with 2,782 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/abstract_tests/ATS_class_core.adoc
Expand Up @@ -49,7 +49,7 @@ include::core/ATS_process-exception-no-such-process.adoc[]

==== Jobs

===== Job creation /jobs
===== Job creation /processes/{processID}/execution

include::core/ATS_job-creation-op.adoc[]

Expand Down
2 changes: 1 addition & 1 deletion core/abstract_tests/core/ATS_job-creation-op.adoc
Expand Up @@ -4,7 +4,7 @@
^|*Abstract Test {counter:ats-id}* |*/conf/core/job-creation-op*
^|Test Purpose |Validate the creation of a new job.
^|Requirement |<<req_core_job-creation-op,/req/core/job-creation-op>>
^|Test Method |. Issue an HTTP POST request to the URL '/jobs' for each execution mode according to the test <<ats_core_job-creation-mode, /conf/core/job-creation-mode>>.
^|Test Method |. Issue an HTTP POST request to the URL '/processes/{processID}/execution' for each execution mode according to the test <<ats_core_job-creation-mode, /conf/core/job-creation-mode>>.
. Validate the contents of the POST request using the test <<ats_core_job-creation-request,/conf/core/job-creation-request>>.
. Validate the creation of the job according to the execution mode using test <<ats_core_job-creation-mode,/conf/core/job-creation-mode>>.
|===
1 change: 0 additions & 1 deletion core/examples/json/Execute.json
@@ -1,5 +1,4 @@
{
"id": "EchoProcess",
"inputs": {
"stringInput": "Value2",
"dateInput": "2021-03-06T07:21:00",
Expand Down
4 changes: 2 additions & 2 deletions core/examples/json/LandingPage.json
Expand Up @@ -36,7 +36,7 @@
},
{
"href": "http://processing.example.org/oapi-p/jobs",
"rel": "execute",
"title": "The Execute endpoint"
"rel": "jobs",
"title": "The endpoint for job monitoring"
}]
}
2 changes: 1 addition & 1 deletion core/examples/json/ProcessDescription.json
Expand Up @@ -212,7 +212,7 @@
},
"links": [
{
"href": "https://processing.example.org/oapi-p/jobs",
"href": "https://processing.example.org/oapi-p/processes/EchoProcess/execution",
"rel": "execute",
"title": "Execute endpoint"
}
Expand Down
Binary file modified core/figures/PT1_FIG01.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions core/openapi/schemas/execute.yaml
@@ -1,12 +1,9 @@
type: object
required:
- id
- outputs
- mode
- response
properties:
id:
type: string
inputs:
additionalProperties:
oneOf:
Expand Down
2 changes: 1 addition & 1 deletion core/requirements/core/REQ_job-creation-op.adoc
Expand Up @@ -3,5 +3,5 @@
|===
|*Requirement {counter:req-id}* |/req/core/job-creation-op +

The server SHALL support the HTTP POST operation at the path `/jobs`.
The server SHALL support the HTTP POST operation at the path `/processes/{processID}/execution`.
|===
Binary file added docs/UML/ogc-api- processes-core.eap
Binary file not shown.
2,776 changes: 2,776 additions & 0 deletions docs/UML/ogc-api- processes-core.xml

Large diffs are not rendered by default.

0 comments on commit a574c19

Please sign in to comment.