-
Notifications
You must be signed in to change notification settings - Fork 6
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 #713 from crim-ca/job-prefer
- Loading branch information
Showing
58 changed files
with
5,187 additions
and
1,068 deletions.
There are no files selected for viewing
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,8 @@ | ||
{ | ||
"inputs": {"<...>": "<...>"}, | ||
"outputs": { | ||
"output-default": {}, | ||
"output-by-value": {"transmissionMode": "value"}, | ||
"output-by-ref": {"transmissionMode": "reference"} | ||
} | ||
} |
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,77 @@ | ||
{ | ||
"inputs": { | ||
"calc": "4.26 * ((C / A) ** 3.94)", | ||
"band_a": { | ||
"href": "https://example.com/wpsoutputs/weaver/users/23/6f197568-38f5-42f4-851c-0c56d446094c/product/T29SPC_20190601T110621_B02_10m.jp2", | ||
"type": "image/jp2" | ||
}, | ||
"band_c": { | ||
"href": "https://example.com/wpsoutputs/weaver/users/23/977799a0-bf63-4406-a419-6d686c9a8fc9/product/T29SPC_20190601T110621_B04_10m.jp2", | ||
"type": "image/jp2" | ||
}, | ||
"name": "output" | ||
}, | ||
"outputs": { | ||
"result": { | ||
"transmissionMode": "reference" | ||
} | ||
}, | ||
"links": [ | ||
{ | ||
"title": "Job status.", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96", | ||
"type": "application/json", | ||
"rel": "status" | ||
}, | ||
{ | ||
"title": "Job status generic endpoint.", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96", | ||
"type": "application/json", | ||
"rel": "alternate" | ||
}, | ||
{ | ||
"title": "New job submission endpoint for the corresponding process.", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/execution", | ||
"type": "application/json", | ||
"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute" | ||
}, | ||
{ | ||
"title": "Submitted job inputs for process execution.", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96/inputs", | ||
"type": "application/json", | ||
"rel": "inputs" | ||
}, | ||
{ | ||
"title": "Job outputs of successful process execution (extended outputs with metadata).", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96/outputs", | ||
"type": "application/json", | ||
"rel": "outputs" | ||
}, | ||
{ | ||
"title": "Job results of successful process execution (direct output values mapping).", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96/results", | ||
"type": "application/json", | ||
"rel": "http://www.opengis.net/def/rel/ogc/1.0/results" | ||
}, | ||
{ | ||
"title": "Job statistics collected following process execution.", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96/statistics", | ||
"type": "application/json", | ||
"rel": "statistics" | ||
}, | ||
{ | ||
"title": "List of collected job logs during process execution.", | ||
"hreflang": "en-CA", | ||
"href": "https://example.com/weaver/processes/calculate-band/jobs/034151ec-a87e-41ed-8ab4-8afb22b48e96/logs", | ||
"type": "application/json", | ||
"rel": "logs" | ||
} | ||
] | ||
} |
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,13 @@ | ||
{ | ||
"outputs": [ | ||
{ | ||
"id": "output-file", | ||
"href": "https://example.com/wpsoutputs/f93a15be-6e16-11ea-b667-08002752172a/output_netcdf.nc", | ||
"type": "application/x-netcdf" | ||
}, | ||
{ | ||
"id": "output-data", | ||
"value": 3.1416 | ||
} | ||
] | ||
} |
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 @@ | ||
{ | ||
"outputs": { | ||
"output-file": { | ||
"href": "https://example.com/wpsoutputs/f93a15be-6e16-11ea-b667-08002752172a/output_netcdf.nc", | ||
"type": "application/x-netcdf" | ||
}, | ||
"output-data": 3.1416 | ||
} | ||
} |
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 @@ | ||
{ | ||
"output-file": { | ||
"href": "https://example.com/wpsoutputs/f93a15be-6e16-11ea-b667-08002752172a/output_netcdf.nc", | ||
"type": "application/x-netcdf" | ||
}, | ||
"output-data": 3.1416 | ||
} |
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,15 @@ | ||
HTTP/1.1 200 OK | ||
Host: weaver.example.com | ||
Content-Type: multipart/mixed; boundary=43003e2f205a180ace9cd34d98f911ff | ||
|
||
--43003e2f205a180ace9cd34d98f911ff | ||
Content-Type: application/x-netcdf | ||
Content-ID: <output-file@f93a15be-6e16-11ea-b667-08002752172a> | ||
Content-Location: https://example.com/wpsoutputs/f93a15be-6e16-11ea-b667-08002752172a/output-file/output_netcdf.nc | ||
|
||
--43003e2f205a180ace9cd34d98f911ff | ||
Content-Type: text/plain | ||
Content-ID: <output-data@f93a15be-6e16-11ea-b667-08002752172a> | ||
|
||
3.1416 | ||
--43003e2f205a180ace9cd34d98f911ff-- |
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,6 @@ | ||
HTTP/1.1 200 OK | ||
Host: weaver.example.com | ||
Content-ID: <output@f93a15be-6e16-11ea-b667-08002752172a> | ||
Content-Type: application/x-netcdf | ||
|
||
<netcdf data> |
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 @@ | ||
HTTP/1.1 204 No Content | ||
Host: weaver.example.com | ||
Content-Length: 0 | ||
Content-Type: application/x-netcdf | ||
Content-ID: <output@f93a15be-6e16-11ea-b667-08002752172a> | ||
Content-Location: https://example.com/wpsoutputs/f93a15be-6e16-11ea-b667-08002752172a/output/output_netcdf.nc | ||
Link: <https://example.com/wpsoutputs/f93a15be-6e16-11ea-b667-08002752172a/output/output_netcdf.nc>; rel="output"; type="application/x-netcdf" |
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
Oops, something went wrong.