From 80a401d14ec93958efbe01e457fb28dc4d7ce4f8 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:52:55 +0100 Subject: [PATCH] removed clusters endpoint from webserver --- .../api/v0/openapi.yaml | 643 ------------------ 1 file changed, 643 deletions(-) diff --git a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml index 9cca4bafd06..52b80e132ec 100644 --- a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml +++ b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml @@ -2347,155 +2347,6 @@ paths: application/json: schema: $ref: '#/components/schemas/Envelope_CatalogServiceGet_' - /v0/clusters: - get: - tags: - - clusters - summary: List Clusters - operationId: list_clusters - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/Envelope_list_ClusterGet__' - post: - tags: - - clusters - summary: Create Cluster - operationId: create_cluster - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ClusterCreate' - required: true - responses: - '201': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/Envelope_ClusterGet_' - /v0/clusters:ping: - post: - tags: - - clusters - summary: Ping Cluster - description: Test connectivity with cluster - operationId: ping_cluster - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ClusterPing' - required: true - responses: - '204': - description: Successful Response - /v0/clusters/{cluster_id}: - get: - tags: - - clusters - summary: Get Cluster - operationId: get_cluster - parameters: - - name: cluster_id - in: path - required: true - schema: - type: integer - minimum: 0 - title: Cluster Id - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/Envelope_ClusterGet_' - patch: - tags: - - clusters - summary: Update Cluster - operationId: update_cluster - parameters: - - name: cluster_id - in: path - required: true - schema: - type: integer - minimum: 0 - title: Cluster Id - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ClusterPatch' - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/Envelope_ClusterGet_' - delete: - tags: - - clusters - summary: Delete Cluster - operationId: delete_cluster - parameters: - - name: cluster_id - in: path - required: true - schema: - type: integer - minimum: 0 - title: Cluster Id - responses: - '204': - description: Successful Response - /v0/clusters/{cluster_id}/details: - get: - tags: - - clusters - summary: Get Cluster Details - operationId: get_cluster_details - parameters: - - name: cluster_id - in: path - required: true - schema: - type: integer - minimum: 0 - title: Cluster Id - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/Envelope_ClusterDetails_' - /v0/clusters/{cluster_id}:ping: - post: - tags: - - clusters - summary: Ping Cluster Cluster Id - description: Tests connectivity with cluster - operationId: ping_cluster_cluster_id - parameters: - - name: cluster_id - in: path - required: true - schema: - type: integer - minimum: 0 - title: Cluster Id - responses: - '204': - description: Successful Response /v0/computations/{project_id}: get: tags: @@ -7189,268 +7040,6 @@ components: required: - tag title: CheckpointNew - ClusterAccessRights: - properties: - read: - type: boolean - title: Read - description: allows to run pipelines on that cluster - write: - type: boolean - title: Write - description: allows to modify the cluster - delete: - type: boolean - title: Delete - description: allows to delete a cluster - additionalProperties: false - type: object - required: - - read - - write - - delete - title: ClusterAccessRights - ClusterCreate: - properties: - name: - type: string - title: Name - description: The human readable name of the cluster - description: - anyOf: - - type: string - - type: 'null' - title: Description - type: - $ref: '#/components/schemas/ClusterTypeInModel' - owner: - anyOf: - - type: integer - exclusiveMinimum: true - minimum: 0 - - type: 'null' - title: Owner - thumbnail: - anyOf: - - type: string - maxLength: 2083 - minLength: 1 - format: uri - - type: 'null' - title: Thumbnail - description: url to the image describing this cluster - endpoint: - type: string - minLength: 1 - format: uri - title: Endpoint - authentication: - oneOf: - - $ref: '#/components/schemas/SimpleAuthentication' - - $ref: '#/components/schemas/KerberosAuthentication' - - $ref: '#/components/schemas/JupyterHubTokenAuthentication' - title: Authentication - discriminator: - propertyName: type - mapping: - jupyterhub: '#/components/schemas/JupyterHubTokenAuthentication' - kerberos: '#/components/schemas/KerberosAuthentication' - simple: '#/components/schemas/SimpleAuthentication' - accessRights: - additionalProperties: - $ref: '#/components/schemas/ClusterAccessRights' - type: object - title: Accessrights - type: object - required: - - name - - type - - endpoint - - authentication - title: ClusterCreate - ClusterDetails: - properties: - scheduler: - $ref: '#/components/schemas/Scheduler' - description: This contains dask scheduler information given by the underlying - dask library - dashboardLink: - type: string - minLength: 1 - format: uri - title: Dashboardlink - description: Link to this scheduler's dashboard - type: object - required: - - scheduler - - dashboardLink - title: ClusterDetails - ClusterGet: - properties: - name: - type: string - title: Name - description: The human readable name of the cluster - description: - anyOf: - - type: string - - type: 'null' - title: Description - type: - $ref: '#/components/schemas/ClusterTypeInModel' - owner: - type: integer - exclusiveMinimum: true - title: Owner - minimum: 0 - thumbnail: - anyOf: - - type: string - maxLength: 2083 - minLength: 1 - format: uri - - type: 'null' - title: Thumbnail - description: url to the image describing this cluster - endpoint: - type: string - minLength: 1 - format: uri - title: Endpoint - authentication: - oneOf: - - $ref: '#/components/schemas/SimpleAuthentication' - - $ref: '#/components/schemas/KerberosAuthentication' - - $ref: '#/components/schemas/JupyterHubTokenAuthentication' - - $ref: '#/components/schemas/NoAuthentication' - - $ref: '#/components/schemas/TLSAuthentication' - title: Authentication - description: Dask gateway authentication - discriminator: - propertyName: type - mapping: - jupyterhub: '#/components/schemas/JupyterHubTokenAuthentication' - kerberos: '#/components/schemas/KerberosAuthentication' - none: '#/components/schemas/NoAuthentication' - simple: '#/components/schemas/SimpleAuthentication' - tls: '#/components/schemas/TLSAuthentication' - accessRights: - additionalProperties: - $ref: '#/components/schemas/ClusterAccessRights' - type: object - title: Accessrights - default: {} - id: - type: integer - minimum: 0 - title: Id - description: The cluster ID - type: object - required: - - name - - type - - owner - - endpoint - - authentication - - id - title: ClusterGet - ClusterPatch: - properties: - name: - anyOf: - - type: string - - type: 'null' - title: Name - description: - anyOf: - - type: string - - type: 'null' - title: Description - type: - anyOf: - - $ref: '#/components/schemas/ClusterTypeInModel' - - type: 'null' - owner: - anyOf: - - type: integer - exclusiveMinimum: true - minimum: 0 - - type: 'null' - title: Owner - thumbnail: - anyOf: - - type: string - maxLength: 2083 - minLength: 1 - format: uri - - type: 'null' - title: Thumbnail - endpoint: - anyOf: - - type: string - minLength: 1 - format: uri - - type: 'null' - title: Endpoint - authentication: - anyOf: - - oneOf: - - $ref: '#/components/schemas/SimpleAuthentication' - - $ref: '#/components/schemas/KerberosAuthentication' - - $ref: '#/components/schemas/JupyterHubTokenAuthentication' - discriminator: - propertyName: type - mapping: - jupyterhub: '#/components/schemas/JupyterHubTokenAuthentication' - kerberos: '#/components/schemas/KerberosAuthentication' - simple: '#/components/schemas/SimpleAuthentication' - - type: 'null' - title: Authentication - accessRights: - anyOf: - - additionalProperties: - $ref: '#/components/schemas/ClusterAccessRights' - type: object - - type: 'null' - title: Accessrights - type: object - title: ClusterPatch - ClusterPing: - properties: - endpoint: - type: string - minLength: 1 - format: uri - title: Endpoint - authentication: - oneOf: - - $ref: '#/components/schemas/SimpleAuthentication' - - $ref: '#/components/schemas/KerberosAuthentication' - - $ref: '#/components/schemas/JupyterHubTokenAuthentication' - - $ref: '#/components/schemas/NoAuthentication' - - $ref: '#/components/schemas/TLSAuthentication' - title: Authentication - description: Dask gateway authentication - discriminator: - propertyName: type - mapping: - jupyterhub: '#/components/schemas/JupyterHubTokenAuthentication' - kerberos: '#/components/schemas/KerberosAuthentication' - none: '#/components/schemas/NoAuthentication' - simple: '#/components/schemas/SimpleAuthentication' - tls: '#/components/schemas/TLSAuthentication' - type: object - required: - - endpoint - - authentication - title: ClusterPing - ClusterTypeInModel: - type: string - enum: - - AWS - - ON_PREMISE - - ON_DEMAND - title: ClusterTypeInModel CodePageParams: properties: message: @@ -7704,13 +7293,6 @@ components: example: dataset_id: N:id-aaaa display_name: simcore-testing - DictModel_str_Annotated_float__Gt__: - additionalProperties: - type: number - exclusiveMinimum: true - minimum: 0.0 - type: object - title: DictModel[str, Annotated[float, Gt]] DownloadLink: properties: downloadLink: @@ -7807,32 +7389,6 @@ components: title: Error type: object title: Envelope[CheckpointApiModel] - Envelope_ClusterDetails_: - properties: - data: - anyOf: - - $ref: '#/components/schemas/ClusterDetails' - - type: 'null' - error: - anyOf: - - {} - - type: 'null' - title: Error - type: object - title: Envelope[ClusterDetails] - Envelope_ClusterGet_: - properties: - data: - anyOf: - - $ref: '#/components/schemas/ClusterGet' - - type: 'null' - error: - anyOf: - - {} - - type: 'null' - title: Error - type: object - title: Envelope[ClusterGet] Envelope_ComputationTaskGet_: properties: data: @@ -8750,22 +8306,6 @@ components: title: Error type: object title: Envelope[list[Announcement]] - Envelope_list_ClusterGet__: - properties: - data: - anyOf: - - items: - $ref: '#/components/schemas/ClusterGet' - type: array - - type: 'null' - title: Data - error: - anyOf: - - {} - - type: 'null' - title: Error - type: object - title: Envelope[list[ClusterGet]] Envelope_list_DatasetMetaData__: properties: data: @@ -10225,35 +9765,6 @@ components: additionalProperties: false type: object title: InvitationInfo - JupyterHubTokenAuthentication: - properties: - type: - type: string - enum: - - jupyterhub - const: jupyterhub - title: Type - default: jupyterhub - api_token: - type: string - title: Api Token - additionalProperties: false - type: object - required: - - api_token - title: JupyterHubTokenAuthentication - KerberosAuthentication: - properties: - type: - type: string - enum: - - kerberos - const: kerberos - title: Type - default: kerberos - additionalProperties: false - type: object - title: KerberosAuthentication Limits: properties: cpus: @@ -10452,18 +9963,6 @@ components: description: Some foundation gid: '16' label: Blue Fundation - NoAuthentication: - properties: - type: - type: string - enum: - - none - const: none - title: Type - default: none - additionalProperties: false - type: object - title: NoAuthentication Node-Input: properties: key: @@ -12877,23 +12376,6 @@ components: SEE StateType for task state' - Scheduler: - properties: - status: - type: string - title: Status - description: The running status of the scheduler - workers: - anyOf: - - additionalProperties: - $ref: '#/components/schemas/Worker' - type: object - - type: 'null' - title: Workers - type: object - required: - - status - title: Scheduler SelectBox: properties: structure: @@ -13419,29 +12901,6 @@ components: - path title: SimCoreFileLink description: I/O port type to hold a link to a file in simcore S3 storage - SimpleAuthentication: - properties: - type: - type: string - enum: - - simple - const: simple - title: Type - default: simple - username: - type: string - title: Username - password: - type: string - format: password - title: Password - writeOnly: true - additionalProperties: false - type: object - required: - - username - - password - title: SimpleAuthentication Slideshow: properties: position: @@ -13610,34 +13069,6 @@ components: additionalProperties: true type: object title: StudyUI - TLSAuthentication: - properties: - type: - type: string - enum: - - tls - const: tls - title: Type - default: tls - tls_ca_file: - type: string - format: path - title: Tls Ca File - tls_client_cert: - type: string - format: path - title: Tls Client Cert - tls_client_key: - type: string - format: path - title: Tls Client Key - additionalProperties: false - type: object - required: - - tls_ca_file - - tls_client_cert - - tls_client_key - title: TLSAuthentication TableSynchronisation: properties: dry_run: @@ -13802,22 +13233,6 @@ components: title: Priority type: object title: TagUpdate - TaskCounts: - properties: - error: - type: integer - title: Error - default: 0 - memory: - type: integer - title: Memory - default: 0 - executing: - type: integer - title: Executing - default: 0 - type: object - title: TaskCounts TaskGet: properties: task_id: @@ -14167,12 +13582,6 @@ components: - number - e_tag title: UploadedPart - UsedResources: - additionalProperties: - type: number - minimum: 0.0 - type: object - title: UsedResources UserNotification: properties: user_id: @@ -14663,58 +14072,6 @@ components: - url - checkpoint_url title: WorkbenchViewApiModel - Worker: - properties: - id: - type: string - title: Id - name: - type: string - title: Name - resources: - $ref: '#/components/schemas/DictModel_str_Annotated_float__Gt__' - used_resources: - $ref: '#/components/schemas/UsedResources' - memory_limit: - type: integer - minimum: 0 - title: Memory Limit - metrics: - $ref: '#/components/schemas/WorkerMetrics' - type: object - required: - - id - - name - - resources - - used_resources - - memory_limit - - metrics - title: Worker - WorkerMetrics: - properties: - cpu: - type: number - title: Cpu - description: consumed % of cpus - memory: - type: integer - minimum: 0 - title: Memory - description: consumed memory - num_fds: - type: integer - title: Num Fds - description: consumed file descriptors - task_counts: - $ref: '#/components/schemas/TaskCounts' - description: task details - type: object - required: - - cpu - - memory - - num_fds - - task_counts - title: WorkerMetrics WorkspaceCreateBodyParams: properties: name: