From 99b5eb4996e34fd455c08b3b3afcc17506ceff77 Mon Sep 17 00:00:00 2001 From: Oleksii Orel Date: Mon, 16 Dec 2024 19:09:05 +0200 Subject: [PATCH] fixup! upgrade @eclipse-che/che-devworkspace-generator and @devfile/api Signed-off-by: Oleksii Orel --- .../services/__tests__/devWorkspaceApi.spec.ts | 10 +++++----- .../services/__tests__/devWorkspaceClusterApi.spec.ts | 6 +++--- .../services/__tests__/devWorkspaceTemplateApi.spec.ts | 8 ++++---- .../src/devworkspaceClient/services/devWorkspaceApi.ts | 10 +++++----- .../services/devWorkspaceClusterApiService.ts | 10 +++++----- .../services/devWorkspaceTemplateApi.ts | 6 +++--- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceApi.spec.ts b/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceApi.spec.ts index e82427f0e..9b631295f 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceApi.spec.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceApi.spec.ts @@ -13,16 +13,16 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import { V1alpha2DevWorkspace } from '@devfile/api'; -import { - devworkspaceGroup, - devworkspaceLatestVersion, - devworkspacePlural, -} from '@/constants/devfile'; import { api } from '@eclipse-che/common'; import * as mockClient from '@kubernetes/client-node'; import { CustomObjectsApi } from '@kubernetes/client-node'; import { IncomingMessage } from 'http'; +import { + devworkspaceGroup, + devworkspaceLatestVersion, + devworkspacePlural, +} from '@/constants/devfile'; import { DevWorkspaceApiService } from '@/devworkspaceClient/services/devWorkspaceApi'; const namespace = 'user-che'; diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceClusterApi.spec.ts b/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceClusterApi.spec.ts index d5e8b1bbd..16919e536 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceClusterApi.spec.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceClusterApi.spec.ts @@ -11,14 +11,14 @@ */ import { V1alpha2DevWorkspace } from '@devfile/api'; +import * as mockClient from '@kubernetes/client-node'; +import { CustomObjectsApi } from '@kubernetes/client-node'; + import { devworkspaceGroup, devworkspaceLatestVersion, devworkspacePlural, } from '@/constants/devfile'; -import * as mockClient from '@kubernetes/client-node'; -import { CustomObjectsApi } from '@kubernetes/client-node'; - import { CheClusterCustomResource, CustomResourceDefinitionList, diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceTemplateApi.spec.ts b/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceTemplateApi.spec.ts index 94475bb78..a67f44c40 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceTemplateApi.spec.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/__tests__/devWorkspaceTemplateApi.spec.ts @@ -13,15 +13,15 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import { V1alpha2DevWorkspaceTemplate } from '@devfile/api'; +import { api } from '@eclipse-che/common'; +import * as mockClient from '@kubernetes/client-node'; +import { CustomObjectsApi } from '@kubernetes/client-node'; + import { devworkspacetemplateGroup, devworkspacetemplateLatestVersion, devworkspacetemplatePlural, } from '@/constants/devfile'; -import { api } from '@eclipse-che/common'; -import * as mockClient from '@kubernetes/client-node'; -import { CustomObjectsApi } from '@kubernetes/client-node'; - import { DevWorkspaceTemplateApiService, DevWorkspaceTemplateList, diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceApi.ts b/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceApi.ts index b5731f139..51169f76b 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceApi.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceApi.ts @@ -11,16 +11,16 @@ */ import { V1alpha2DevWorkspace } from '@devfile/api'; -import { - devworkspaceGroup, - devworkspaceLatestVersion, - devworkspacePlural, -} from '@/constants/devfile'; import { api } from '@eclipse-che/common'; import * as k8s from '@kubernetes/client-node'; import { V1Status } from '@kubernetes/client-node'; import http, { IncomingHttpHeaders } from 'http'; +import { + devworkspaceGroup, + devworkspaceLatestVersion, + devworkspacePlural, +} from '@/constants/devfile'; import { createError } from '@/devworkspaceClient/services/helpers/createError'; import { CustomObjectAPI, diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceClusterApiService.ts b/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceClusterApiService.ts index 690515396..437ed61fb 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceClusterApiService.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceClusterApiService.ts @@ -11,16 +11,16 @@ */ import { V1alpha2DevWorkspace } from '@devfile/api'; -import { - devworkspaceGroup, - devworkspaceLatestVersion, - devworkspacePlural, -} from '@/constants/devfile'; import { api } from '@eclipse-che/common'; import * as k8s from '@kubernetes/client-node'; import { V1Status } from '@kubernetes/client-node'; import http from 'http'; +import { + devworkspaceGroup, + devworkspaceLatestVersion, + devworkspacePlural, +} from '@/constants/devfile'; import { prepareCustomObjectWatch } from '@/devworkspaceClient/services/helpers/prepareCustomObjectWatch'; import { ServerConfigApiService } from '@/devworkspaceClient/services/serverConfigApi'; import { IDevWorkspaceClusterApi } from '@/devworkspaceClient/types'; diff --git a/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceTemplateApi.ts b/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceTemplateApi.ts index aebaaeadf..15c1c4a1b 100644 --- a/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceTemplateApi.ts +++ b/packages/dashboard-backend/src/devworkspaceClient/services/devWorkspaceTemplateApi.ts @@ -11,14 +11,14 @@ */ import { V1alpha2DevWorkspaceTemplate } from '@devfile/api'; +import { api } from '@eclipse-che/common'; +import * as k8s from '@kubernetes/client-node'; + import { devworkspacetemplateGroup, devworkspacetemplateLatestVersion, devworkspacetemplatePlural, } from '@/constants/devfile'; -import { api } from '@eclipse-che/common'; -import * as k8s from '@kubernetes/client-node'; - import { createError } from '@/devworkspaceClient/services/helpers/createError'; import { CustomObjectAPI,