- GET /
- GET /conformance
- GET /api
- POST /processes
- GET /processes
- GET /processes/{processId}
- GET /processes/{processId}/package
- POST /processes/{processId}/execution
- PUT /processes/{processId}
- DELETE /processes/{processId}
- GET /jobs
- GET /jobs/{jobId}
- DELETE /jobs/{jobId}
- GET /jobs/{jobId}/results
- GET /jobs/{jobId}/results/{outputId}
Reference repository: https://github.com/opengeospatial/ogcapi-processes
-
relative path references are sometimes not handled correctly by the tool used by ESA MAAP to generated the Server Stub (openapi generator https://openapi-generator.tech/).
For this reason, all
$refvalues have been modified to become absolute paths, by prefixing the original values with the token_OGC_API_PROCESSES_SPECS_ROOT_. This token should be replaced with absolute path to the folder containing the specifications. -
Only the schema files strictly necessary to support the API endpoints from section
OGC API Processes endpointshave been kept.
- reference to
paths/processes-workflows/pExecution-workflows.yamlreplaced withpaths/processes-core/pExecution.yaml, since OGC API Processes Part 3 is not supported - added endpoint
/jobs/{jobId}/results/{outputId}and reference to/paths/processes-core/pOutputResult.yamlsince OGC API Processes Part 1 defines that endpoint but it is missing in the OpenAPI specification.
bbox-processesschema name renamed tobbox(fix)- add explicit reference to the following schema:
bbox-def-crsinput
- add explicit reference to the following schema:
ProcessSummary
- Definition of parameter
outputId, not present in the original ogcapi-processes repo (fix).
processIdschema set toint64(fix)
htmlcontent schema not present, Requirement ClassHTMLis not supported
-
parameters:
prefer-header-execution.yamlparameter not present, since synchronous execution is not supported
-
responses:
- status 200 and
rExecuteSync.yamlschema not present, since synchronous execution is not supported - status 204 and
rEmpty.yamlschema not present since synchronous execution is not supported
- status 200 and
-
callbacks:
- field not present, since Requirements Class
Callbackis not supported
- field not present, since Requirements Class
prefer-header-results.yamlparameter not present, since CWL outputs are always of type file and can be retrieved only by reference
- Definition of endpoint
/jobs/{jobId}/results/{outputId}, not present in the original ogcapi-processes repo (fix).
- requestBody/content:
application/cwl,application/cwl+json,application/cwl+yamlno present, since the CWL will be deployed through theogcapppkg.yaml
- parameters:
- added reference to
parameters/processes-core/limit.yamlto handle pagination on GET/processesrequests (fix)
- added reference to
- parameters:
w-param.yamlschema not present, since the CWL will always have one Workflow
- requestBody/content:
application/cwl,application/cwl+json,application/cwl+yamlno present, since the CWL will be deployed through theogcapppkg.yaml
- responses:
- 201: reference to
../../schemas/processes-core/processSummary.yamlschema replaced with../../responses/processes-core/rProcessSummary.yamlresponse type (fix) - 400: reference to
"../../responses/processes-dru/rWorkflowNotFound.yaml"replaced with../../responses/common-core/rNotFound.yamlsincerWorkflowNotFound.yamlis not present in the ogcapi-processes repo (fix)
- 201: reference to
- 400: reference to
"../../responses/processes-dru/rWorkflowNotFound.yaml"replaced with../../responses/common-core/rNotFound.yamlsincerWorkflowNotFound.yamlis not present in the ogcapi-processes repo (fix)
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
- Defines the response of a get job output request, not present in the original ogcapi-processes repo (fix)
- New schema file, not present in the original ogcapi-processes repo (fix). References
processSummary.yamlschema
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
text/htmlcontent schema not present, Requirement ClassHTMLis not supported
- array size constraints defined in
properties/bbox/oneOfis not handled correctly by the tool used by ESA MAAP to generated the Server Stub (openapi generator https://openapi-generator.tech/). For this reason those constraints have been removed from the schema used to generate the ESA MAAP Server Stub. Constraints are enforced by the business logic.
- the top level
anyOfdoesn't seem to be handled correctly by the tool used by ESA MAAP to generated the Server Stub (openapi generator https://openapi-generator.tech/). For this reason only the most generic schema has been kept:uriformat with a default value
outputsproperty is not present, since request of individual output is not supported in asynchronous mode executionsubscriberproperty is not present, since Requirements ClassCallbackis not supported
qualifiedInputValue.yamlschema is not present, since there is no CWL type that directly maps to this schema
binaryInputValue.yamlschema is not present, since there is no CWL type that directly maps to this schema
- the combination of oneOf/allOf is not handled correctly by the tool used by ESA MAAP to generated the Server Stub (openapi generator https://openapi-generator.tech/).
For this reason the two items of the array nested within the
oneOfhave been externalized in two separate schema files:metadata-1.yamlandmetadata-2.yaml. The generated code is equivalent to the one modeled by the original schema.
-
schema named
schemaare not handled correctly by the tool used by ESA MAAP to generated the Server Stub (openapi generator https://openapi-generator.tech/).For this reason the file
schema.yamlhas been renamed toprocessesCoreSchema.yaml. -
polymorphic primitive types are not handled correctly by the tool used by ESA MAAP to generated the Server Stub (openapi generator https://openapi-generator.tech/).
For this reason the default value
truefor propertyadditionalPropertieshas been removed.
-
property
properties/processDescription/requireddeclared as array (fix) -
the only supported schema for
executionUnitislinksince the CWL is expected to be provided by reference.
- parameters:
limit.yamladded to support thelimitquery parameter and let the user specify the maximum number of results to return in the response. This is not present in the original ogcapi-processes repository.