Skip to content

Commit 38d8b4d

Browse files
committed
modified project json schema
1 parent d1e46d9 commit 38d8b4d

File tree

7 files changed

+307
-120
lines changed

7 files changed

+307
-120
lines changed

api/specs/common/schemas/project-v0.0.1-converted.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,22 @@ properties:
283283
example:
284284
- '15'
285285
deprecated: true
286-
connection_state:
287-
title: Status
288-
description: the node's connection state
289-
default: CHANGED
286+
io_state:
287+
title: IO State
288+
description: the node's Inputs/Outputs state
289+
default: OUTDATED
290+
type: string
291+
enum:
292+
- OUTDATED
293+
- OK
294+
runnable_state:
295+
title: Runnable State
296+
description: the node's runnable state
297+
default: READY
298+
type: string
290299
enum:
291-
- CHANGED
292-
- CURRENT
300+
- READY
301+
- WAITING_FOR_DEPENDENCIES
293302
state:
294303
title: RunningState
295304
description: the node's running state

api/specs/common/schemas/project-v0.0.1.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,24 @@
393393
},
394394
"deprecated": true
395395
},
396-
"connection_state": {
397-
"title": "Status",
398-
"description": "the node's connection state",
399-
"default": "CHANGED",
396+
"io_state": {
397+
"title": "IO State",
398+
"description": "the node's Inputs/Outputs state",
399+
"default": "OUTDATED",
400400
"type": "string",
401401
"enum": [
402-
"CHANGED",
403-
"CURRENT"
402+
"OUTDATED",
403+
"OK"
404+
]
405+
},
406+
"runnable_state": {
407+
"title": "Runnable State",
408+
"description": "the node's runnable state",
409+
"default": "READY",
410+
"type": "string",
411+
"enum": [
412+
"READY",
413+
"WAITING_FOR_DEPENDENCIES"
404414
]
405415
},
406416
"state": {

services/director/src/simcore_service_director/api/v0/schemas/project-v0.0.1.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,24 @@
393393
},
394394
"deprecated": true
395395
},
396-
"connection_state": {
397-
"title": "Status",
398-
"description": "the node's connection state",
399-
"default": "CHANGED",
396+
"io_state": {
397+
"title": "IO State",
398+
"description": "the node's Inputs/Outputs state",
399+
"default": "OUTDATED",
400+
"type": "string",
401+
"enum": [
402+
"OUTDATED",
403+
"OK"
404+
]
405+
},
406+
"runnable_state": {
407+
"title": "Runnable State",
408+
"description": "the node's runnable state",
409+
"default": "READY",
410+
"type": "string",
400411
"enum": [
401-
"CHANGED",
402-
"CURRENT"
412+
"READY",
413+
"WAITING_FOR_DEPENDENCIES"
403414
]
404415
},
405416
"state": {

services/storage/src/simcore_service_storage/api/v0/openapi.yaml

Lines changed: 60 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,13 +2008,22 @@ paths:
20082008
example:
20092009
- '15'
20102010
deprecated: true
2011-
connection_state:
2012-
title: Status
2013-
description: the node's connection state
2014-
default: CHANGED
2011+
io_state:
2012+
title: IO State
2013+
description: the node's Inputs/Outputs state
2014+
default: OUTDATED
2015+
type: string
2016+
enum:
2017+
- OUTDATED
2018+
- OK
2019+
runnable_state:
2020+
title: Runnable State
2021+
description: the node's runnable state
2022+
default: READY
2023+
type: string
20152024
enum:
2016-
- CHANGED
2017-
- CURRENT
2025+
- READY
2026+
- WAITING_FOR_DEPENDENCIES
20182027
state:
20192028
title: RunningState
20202029
description: the node's running state
@@ -2457,13 +2466,22 @@ paths:
24572466
example:
24582467
- '15'
24592468
deprecated: true
2460-
connection_state:
2461-
title: Status
2462-
description: the node's connection state
2463-
default: CHANGED
2469+
io_state:
2470+
title: IO State
2471+
description: the node's Inputs/Outputs state
2472+
default: OUTDATED
2473+
type: string
2474+
enum:
2475+
- OUTDATED
2476+
- OK
2477+
runnable_state:
2478+
title: Runnable State
2479+
description: the node's runnable state
2480+
default: READY
2481+
type: string
24642482
enum:
2465-
- CHANGED
2466-
- CURRENT
2483+
- READY
2484+
- WAITING_FOR_DEPENDENCIES
24672485
state:
24682486
title: RunningState
24692487
description: the node's running state
@@ -2916,13 +2934,22 @@ paths:
29162934
example:
29172935
- '15'
29182936
deprecated: true
2919-
connection_state:
2920-
title: Status
2921-
description: the node's connection state
2922-
default: CHANGED
2937+
io_state:
2938+
title: IO State
2939+
description: the node's Inputs/Outputs state
2940+
default: OUTDATED
2941+
type: string
2942+
enum:
2943+
- OUTDATED
2944+
- OK
2945+
runnable_state:
2946+
title: Runnable State
2947+
description: the node's runnable state
2948+
default: READY
2949+
type: string
29232950
enum:
2924-
- CHANGED
2925-
- CURRENT
2951+
- READY
2952+
- WAITING_FOR_DEPENDENCIES
29262953
state:
29272954
title: RunningState
29282955
description: the node's running state
@@ -3475,13 +3502,22 @@ components:
34753502
example:
34763503
- '15'
34773504
deprecated: true
3478-
connection_state:
3479-
title: Status
3480-
description: the node's connection state
3481-
default: CHANGED
3505+
io_state:
3506+
title: IO State
3507+
description: the node's Inputs/Outputs state
3508+
default: OUTDATED
3509+
type: string
3510+
enum:
3511+
- OUTDATED
3512+
- OK
3513+
runnable_state:
3514+
title: Runnable State
3515+
description: the node's runnable state
3516+
default: READY
3517+
type: string
34823518
enum:
3483-
- CHANGED
3484-
- CURRENT
3519+
- READY
3520+
- WAITING_FOR_DEPENDENCIES
34853521
state:
34863522
title: RunningState
34873523
description: the node's running state

services/storage/src/simcore_service_storage/api/v0/schemas/project-v0.0.1.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,24 @@
393393
},
394394
"deprecated": true
395395
},
396-
"connection_state": {
397-
"title": "Status",
398-
"description": "the node's connection state",
399-
"default": "CHANGED",
396+
"io_state": {
397+
"title": "IO State",
398+
"description": "the node's Inputs/Outputs state",
399+
"default": "OUTDATED",
400+
"type": "string",
401+
"enum": [
402+
"OUTDATED",
403+
"OK"
404+
]
405+
},
406+
"runnable_state": {
407+
"title": "Runnable State",
408+
"description": "the node's runnable state",
409+
"default": "READY",
410+
"type": "string",
400411
"enum": [
401-
"CHANGED",
402-
"CURRENT"
412+
"READY",
413+
"WAITING_FOR_DEPENDENCIES"
403414
]
404415
},
405416
"state": {

0 commit comments

Comments
 (0)