Skip to content

Commit ee183b9

Browse files
open api specs
1 parent d939878 commit ee183b9

File tree

9 files changed

+21
-9
lines changed

9 files changed

+21
-9
lines changed

β€Žservices/api-server/openapi.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10711,7 +10711,7 @@
1071110711
"ABORTED"
1071210712
],
1071310713
"title": "RunningState",
10714-
"description": "State of execution of a project's computational workflow\n\nSEE StateType for task state"
10714+
"description": "State of execution of a project's computational workflow\n\nSEE StateType for task state\n\n# Computational backend states explained:\n- UNKNOWN - The backend doesn't know about the task anymore, it has disappeared from the system or it was never created (eg. when we are asking for the task)\n- NOT_STARTED - Default state when the task is created\n- PUBLISHED - The task has been submitted to the computational backend (click on \"Run\" button in the UI)\n- PENDING - Task has been transferred to the Dask scheduler and is waiting for a worker to pick it up (director-v2 --> Dask scheduler)\n - But! it is also transition state (ex. PENDING -> WAITING_FOR_CLUSTER -> PENDING -> WAITING_FOR_RESOURCES -> PENDING -> STARTED)\n- WAITING_FOR_CLUSTER - No cluster (Dask scheduler) is available to run the task; waiting for one to become available\n- WAITING_FOR_RESOURCES - No worker (Dask worker) is available to run the task; waiting for one to become available\n- STARTED - A worker has picked up the task and is executing it\n- SUCCESS - Task finished successfully\n- FAILED - Task finished with an error\n- ABORTED - Task was aborted before completion"
1071510715
},
1071610716
"ServicePricingPlanGetLegacy": {
1071710717
"properties": {

β€Žservices/director-v2/openapi.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2806,7 +2806,7 @@
28062806
"ABORTED"
28072807
],
28082808
"title": "RunningState",
2809-
"description": "State of execution of a project's computational workflow\n\nSEE StateType for task state"
2809+
"description": "State of execution of a project's computational workflow\n\nSEE StateType for task state\n\n# Computational backend states explained:\n- UNKNOWN - The backend doesn't know about the task anymore, it has disappeared from the system or it was never created (eg. when we are asking for the task)\n- NOT_STARTED - Default state when the task is created\n- PUBLISHED - The task has been submitted to the computational backend (click on \"Run\" button in the UI)\n- PENDING - Task has been transferred to the Dask scheduler and is waiting for a worker to pick it up (director-v2 --> Dask scheduler)\n - But! it is also transition state (ex. PENDING -> WAITING_FOR_CLUSTER -> PENDING -> WAITING_FOR_RESOURCES -> PENDING -> STARTED)\n- WAITING_FOR_CLUSTER - No cluster (Dask scheduler) is available to run the task; waiting for one to become available\n- WAITING_FOR_RESOURCES - No worker (Dask worker) is available to run the task; waiting for one to become available\n- STARTED - A worker has picked up the task and is executing it\n- SUCCESS - Task finished successfully\n- FAILED - Task finished with an error\n- ABORTED - Task was aborted before completion"
28102810
},
28112811
"SchedulerData": {
28122812
"properties": {

β€Žservices/web/server/src/simcore_service_webserver/api/v0/openapi.yamlβ€Ž

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15946,10 +15946,22 @@ components:
1594615946
- FAILED
1594715947
- ABORTED
1594815948
title: RunningState
15949-
description: 'State of execution of a project''s computational workflow
15950-
15951-
15952-
SEE StateType for task state'
15949+
description: "State of execution of a project's computational workflow\n\nSEE\
15950+
\ StateType for task state\n\n# Computational backend states explained:\n\
15951+
- UNKNOWN - The backend doesn't know about the task anymore, it has disappeared\
15952+
\ from the system or it was never created (eg. when we are asking for the\
15953+
\ task)\n- NOT_STARTED - Default state when the task is created\n- PUBLISHED\
15954+
\ - The task has been submitted to the computational backend (click on \"\
15955+
Run\" button in the UI)\n- PENDING - Task has been transferred to the Dask\
15956+
\ scheduler and is waiting for a worker to pick it up (director-v2 --> Dask\
15957+
\ scheduler)\n - But! it is also transition state (ex. PENDING -> WAITING_FOR_CLUSTER\
15958+
\ -> PENDING -> WAITING_FOR_RESOURCES -> PENDING -> STARTED)\n- WAITING_FOR_CLUSTER\
15959+
\ - No cluster (Dask scheduler) is available to run the task; waiting for\
15960+
\ one to become available\n- WAITING_FOR_RESOURCES - No worker (Dask worker)\
15961+
\ is available to run the task; waiting for one to become available\n- STARTED\
15962+
\ - A worker has picked up the task and is executing it\n- SUCCESS - Task\
15963+
\ finished successfully\n- FAILED - Task finished with an error\n- ABORTED\
15964+
\ - Task was aborted before completion"
1595315965
SelectBox:
1595415966
properties:
1595515967
structure:

β€Žservices/web/server/src/simcore_service_webserver/director_v2/_computations_service.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
get_project_uuids_by_root_parent_project_id,
4242
)
4343
from ..rabbitmq import get_rabbitmq_rpc_client
44-
from ._comp_run_collections_service import get_comp_run_collection_or_none_by_id
44+
from ._comp_runs_collections_service import get_comp_run_collection_or_none_by_id
4545

4646

4747
async def _get_projects_metadata(

β€Žservices/web/server/src/simcore_service_webserver/director_v2/_controller/rest.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
from ...utils_aiohttp import envelope_json_response, get_api_base_url
3535
from .. import _director_v2_service
3636
from .._client import DirectorV2RestClient
37-
from .._comp_run_collections_models import CompRunCollectionDBGet
38-
from .._comp_run_collections_service import (
37+
from .._comp_runs_collections_models import CompRunCollectionDBGet
38+
from .._comp_runs_collections_service import (
3939
create_comp_run_collection,
4040
get_comp_run_collection_or_none_by_client_generated_id,
4141
)

0 commit comments

Comments
Β (0)