Skip to content

Commit

Permalink
Changes for closer alignment with OpenEO.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvretano committed Dec 5, 2024
1 parent ae21066 commit 56d7b44
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 43 deletions.
7 changes: 6 additions & 1 deletion openapi/schemas/processes-core/statusCode.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
type: string
nullable: false
enum:
- accepted
- created
- queued
- running
- cancelled
- finished
- error
- accepted
- succeeded
- failed
- dismissed
89 changes: 47 additions & 42 deletions openapi/schemas/processes-core/statusInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,47 @@
type: object
required:
- id
- status
- type
properties:
id:
type: string
processID:
type: string
type:
type: string
example:
- process
- wps
- openeo
status:
$ref: "statusCode.yaml"
message:
type: string
exception:
$ref: "../common-core/exception.yaml"
created:
type: string
format: date-time
started:
type: string
format: date-time
finished:
type: string
format: date-time
updated:
type: string
format: date-time
progress:
type: integer
minimum: 0
maximum: 100
links:
type: array
items:
$ref: "../common-core/link.yaml"
allOf:
- $ref: descriptionType.yaml
- type: object
required:
- id
- status
- created
- process
- type
properties:
id:
type: string
process:
$ref: process.yaml
type:
type: string
example:
- process
- wps
- openeo
status:
oneOf:
$ref: "statusCode.yaml"
message:
type: string
exception:
$ref: "../common-core/exception.yaml"
created:
type: string
format: date-time
started:
type: string
format: date-time
finished:
type: string
format: date-time
updated:
type: string
format: date-time
progress:
type: integer
minimum: 0
maximum: 100
links:
type: array
items:
$ref: "../common-core/link.yaml"

0 comments on commit 56d7b44

Please sign in to comment.