diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts index 09b5139d447..1248081d37d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts @@ -2471,7 +2471,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2489,7 +2489,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2502,16 +2502,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts index f270d2803e8..cad4c329b2b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDashboardService.ts @@ -975,7 +975,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -993,7 +993,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1006,16 +1006,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts index fecae718ff3..cab4611f9d0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createDatabaseService.ts @@ -1385,7 +1385,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -1403,7 +1403,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1416,16 +1416,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts index ea6a30d511b..da06ca39eee 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createMlModelService.ts @@ -211,7 +211,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -229,7 +229,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -242,16 +242,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts index 0396a744f23..f2648b4240b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/createStorageService.ts @@ -232,7 +232,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -250,7 +250,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -263,16 +263,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts index a46fbcbf4e3..fa1e4e78a8c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts @@ -1554,7 +1554,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -1572,7 +1572,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1585,16 +1585,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/voteRequest.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/voteRequest.ts deleted file mode 100644 index fa082b9150d..00000000000 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/voteRequest.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright 2025 Collate. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * This schema defines Services Count. This contains aggregated services count. - */ -type VoteRequest = string; diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/dataInsight/kpi/basic.ts b/openmetadata-ui/src/main/resources/ui/src/generated/dataInsight/kpi/basic.ts deleted file mode 100644 index ac94e572a59..00000000000 --- a/openmetadata-ui/src/main/resources/ui/src/generated/dataInsight/kpi/basic.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright 2025 Collate. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -type Basic = any; diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/testServiceConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/testServiceConnection.ts index 41c036f9132..0b9158c7b9f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/testServiceConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/testServiceConnection.ts @@ -2355,7 +2355,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2373,7 +2373,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2386,16 +2386,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts index 691c1e0429d..5f185ed8426 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts @@ -2762,7 +2762,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2780,7 +2780,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2793,16 +2793,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/filters.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/filters.ts deleted file mode 100644 index 9502801ba7f..00000000000 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/filters.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright 2025 Collate. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -type Filters = any; diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/connectionBasicType.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/connectionBasicType.ts deleted file mode 100644 index 17be97ebcb8..00000000000 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/connectionBasicType.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright 2025 Collate. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -type ConnectionBasicType = any; diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerBIConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerBIConnection.ts index 14cb58a6431..6d3106b334b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerBIConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerBIConnection.ts @@ -243,7 +243,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -261,7 +261,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -274,16 +274,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerbi/gcsConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerbi/gcsConfig.ts index ce9ecc39be6..9c7a62a2387 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerbi/gcsConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/dashboard/powerbi/gcsConfig.ts @@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -131,7 +131,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -144,16 +144,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigQueryConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigQueryConnection.ts index 370c66cee44..f92f979485b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigQueryConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigQueryConnection.ts @@ -126,7 +126,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -144,7 +144,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -157,16 +157,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigTableConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigTableConnection.ts index d4495e8265d..e6630e4ca75 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigTableConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/bigTableConnection.ts @@ -95,7 +95,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -126,16 +126,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalake/gcsConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalake/gcsConfig.ts index db36c3b380b..ab297533523 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalake/gcsConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalake/gcsConfig.ts @@ -82,7 +82,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -100,7 +100,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -113,16 +113,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalakeConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalakeConnection.ts index 4ac6a2d6ee8..f497f042470 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalakeConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/database/datalakeConnection.ts @@ -190,7 +190,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -208,7 +208,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -221,16 +221,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/mlmodel/vertexaiConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/mlmodel/vertexaiConnection.ts index b10ec307046..a10b702df92 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/mlmodel/vertexaiConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/mlmodel/vertexaiConnection.ts @@ -95,7 +95,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -126,16 +126,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/serviceConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/serviceConnection.ts index 8a986993d1e..ef2877b95bc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/serviceConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/serviceConnection.ts @@ -2342,7 +2342,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2360,7 +2360,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2373,16 +2373,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/storage/gcsConnection.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/storage/gcsConnection.ts index 7a048f98216..c751cb0bea2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/storage/gcsConnection.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/storage/gcsConnection.ts @@ -98,7 +98,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -116,7 +116,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -129,16 +129,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts index 13c0bba153a..8170aa43c59 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/dashboardService.ts @@ -1068,7 +1068,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -1086,7 +1086,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1099,16 +1099,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts index 0074c1f4f28..f318c01ff78 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/databaseService.ts @@ -1481,7 +1481,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -1499,7 +1499,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1512,16 +1512,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts index 314f5234ac3..21dbd812616 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts @@ -2023,7 +2023,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2041,7 +2041,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2054,16 +2054,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts index 0f7bb849395..79be4806c7a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/mlmodelService.ts @@ -305,7 +305,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -323,7 +323,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -336,16 +336,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts index 645fc137c34..6615f63d743 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/storageService.ts @@ -325,7 +325,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -343,7 +343,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -356,16 +356,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtPipeline.ts index f7ccf7210ff..eca19940b8c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtPipeline.ts @@ -323,7 +323,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: GCPCredentialsConfigurationType; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -341,7 +341,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -354,16 +354,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum GCPCredentialsConfigurationType { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtconfig/dbtGCSConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtconfig/dbtGCSConfig.ts index db28ef0a896..482f0e1c6fc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtconfig/dbtGCSConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/dbtconfig/dbtGCSConfig.ts @@ -112,7 +112,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -130,7 +130,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -143,16 +143,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/storageMetadataGCSConfig.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/storageMetadataGCSConfig.ts index 682e5912e20..98cfcedd2a0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/storageMetadataGCSConfig.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storage/storageMetadataGCSConfig.ts @@ -98,7 +98,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -116,7 +116,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -129,16 +129,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storageServiceMetadataPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storageServiceMetadataPipeline.ts index 41ad0517d37..9faee80b524 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storageServiceMetadataPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/storageServiceMetadataPipeline.ts @@ -234,7 +234,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -252,7 +252,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -265,16 +265,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/testSuitePipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/testSuitePipeline.ts index 6322a304070..aae63f946b2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/testSuitePipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/testSuitePipeline.ts @@ -2386,7 +2386,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2404,7 +2404,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2417,16 +2417,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts index 09a32bd5ba7..88c9c5f6306 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts @@ -2422,7 +2422,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -2440,7 +2440,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2453,16 +2453,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpCredentials.ts b/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpCredentials.ts index 9daf895ab4c..648aec1e16e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpCredentials.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpCredentials.ts @@ -75,7 +75,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: TypeEnum; + type?: string; /** * Path of the file containing the GCP credentials info */ @@ -93,7 +93,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: ExternalTypeEnum; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -106,16 +106,6 @@ export interface GCPCredentialsConfiguration { [property: string]: any; } -export enum ExternalTypeEnum { - ExternalAccount = "external_account", -} - -export enum TypeEnum { - ExternalAccount = "external_account", - GcpCredentialPath = "gcp_credential_path", - ServiceAccount = "service_account", -} - /** * we enable the authenticated service account to impersonate another service account * diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpExternalAccount.ts b/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpExternalAccount.ts index 7d312dc01fc..b0f89f3367c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpExternalAccount.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpExternalAccount.ts @@ -27,7 +27,7 @@ export interface GcpExternalAccount { /** * Google Cloud Platform account type. */ - externalType?: CredentialsType; + externalType?: string; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -40,9 +40,5 @@ export interface GcpExternalAccount { /** * Google Cloud Platform account type. */ - type?: CredentialsType; -} - -export enum CredentialsType { - ExternalAccount = "external_account", + type?: string; } diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpValues.ts b/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpValues.ts index 83fa219cb64..3d7add09a90 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpValues.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/security/credentials/gcpValues.ts @@ -53,9 +53,5 @@ export interface GcpValues { /** * Google Cloud Platform account type. */ - type?: CredentialsType; -} - -export enum CredentialsType { - ServiceAccount = "service_account", + type?: string; } diff --git a/openmetadata-ui/src/main/resources/ui/src/mocks/Service.mock.ts b/openmetadata-ui/src/main/resources/ui/src/mocks/Service.mock.ts index 6e8a1c37a0d..4bdb9b8043d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/mocks/Service.mock.ts +++ b/openmetadata-ui/src/main/resources/ui/src/mocks/Service.mock.ts @@ -14,7 +14,6 @@ import { DashboardService, DashboardServiceType, - TypeEnum, } from '../generated/entity/services/dashboardService'; import { ConfigScheme, @@ -80,7 +79,7 @@ export const MOCK_DATABASE_SERVICE: DatabaseService = { hostPort: 'localhost:1234', credentials: { gcpConfig: { - type: TypeEnum.ServiceAccount, + type: 'service_account', projectId: ['projectID'], privateKeyId: 'privateKeyId', privateKey: '*********',