-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #404 from GeoLabs/features/fix-issue-282
Fix issue #282
- Loading branch information
Showing
12 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.../standard/recommendations/deploy-replace-undeploy/package/REC_response-cwl.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[[rec_deploy-replace-undeploy_package_response-cwl]] | ||
[recommendation] | ||
==== | ||
[%metadata] | ||
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. | ||
==== |
8 changes: 8 additions & 0 deletions
8
...ard/recommendations/deploy-replace-undeploy/package/REC_response-ogcapppkg.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[[rec_deploy-replace-undeploy_package_response-ogcapppkg]] | ||
[recommendation] | ||
==== | ||
[%metadata] | ||
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. | ||
==== |
10 changes: 10 additions & 0 deletions
10
...eploy_replace_undeploy/standard/requirements/cwl/package/REQ_response-body.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[[req_cwl_package_response-body]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
label:: /req/cwl/package/response-body | ||
part:: A response with HTTP status code `200` SHALL include a body that contains: | ||
* the <<rc_cwl,CWL>> to use to deploy the process, in case the Content-Type used to deploy the process was `application/cwl`. | ||
* the <<rc_ogcapppkg,OGC Application Package>> to use to deploy the process, in case the Content-Type used to deploy the process was `application/ogcapppkg+json`. | ||
==== |
9 changes: 9 additions & 0 deletions
9
..._undeploy/standard/requirements/deploy-replace-undeploy/package/REQ_get-op.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[[req_deploy-replace-undeploy_package_get-op]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
label:: /req/deploy-replace-undeploy/package/get-op | ||
part:: For every dynamically added process (using method: POST on path: /processes/{processId}), the server SHALL support the HTTP GET operation at the path `/processes/{processId}/package`. | ||
part:: The parameter `processId` is each `id` property in the process collection response (JSONPath: `$.processes[*].id`). | ||
==== |
7 changes: 7 additions & 0 deletions
7
...oy/standard/requirements/deploy-replace-undeploy/package/REQ_response-body.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[req_deploy-replace-undeploy_package_response-body]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
label:: /req/deploy-replace-undeploy/package/response-body | ||
part:: A response with HTTP status code `200` SHALL include a body that contains the request body used to deploy or replace the process. | ||
==== |
7 changes: 7 additions & 0 deletions
7
...standard/requirements/deploy-replace-undeploy/package/REQ_response-success.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[req_deploy-replace-undeploy_package_response-success]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
label:: /req/deploy-replace-undeploy/package/response-success | ||
part:: A successful access to the resource SHALL be reported as a response with a HTTP status code `200`. | ||
==== |
7 changes: 7 additions & 0 deletions
7
...replace_undeploy/standard/requirements/ogcapppkg/package/REQ_response-body.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[[req_ogcapppkg_package_response-body]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
label:: /req/ogcapppkg/package/response-body | ||
part:: A response with HTTP status code `200` SHALL include a body that contains the <<rc_ogcapppkg,OGC Application Package>> to use to deploy the process. | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
get: | ||
summary: retrieve the formal description used to deploy a process | ||
description: | | ||
Access the formal description that can be used to deploy a process on an OGC API - Processes Server Instance. | ||
operationId: getPackage | ||
tags: | ||
- Package | ||
responses: | ||
200: | ||
description: The formal used to deploy a process | ||
content: | ||
application/ogcapppkg+json: | ||
schema: | ||
$ref: "../../schemas/processes-dru/ogcapppkg.yaml" | ||
application/cwl: | ||
schema: | ||
$ref: "https://raw.githubusercontent.com/common-workflow-lab/cwl-ts-auto/main/json_schemas/cwl_schema.yaml" | ||
application/cwl+json: | ||
schema: | ||
$ref: "https://raw.githubusercontent.com/common-workflow-lab/cwl-ts-auto/main/json_schemas/cwl_schema.yaml" | ||
application/cwl+yaml: | ||
schema: | ||
$ref: "https://raw.githubusercontent.com/common-workflow-lab/cwl-ts-auto/main/json_schemas/cwl_schema.yaml" | ||
404: | ||
$ref: "../../responses/common-core/rNotFound.yaml" |