diff --git a/openmetadata-spec/src/main/resources/json/schema/metadataIngestion/reverseIngestionPipeline.json b/openmetadata-spec/src/main/resources/json/schema/metadataIngestion/reverseIngestionPipeline.json index 444f523b6c0..e258a19373e 100644 --- a/openmetadata-spec/src/main/resources/json/schema/metadataIngestion/reverseIngestionPipeline.json +++ b/openmetadata-spec/src/main/resources/json/schema/metadataIngestion/reverseIngestionPipeline.json @@ -1,5 +1,5 @@ { - "$id": "https://open-metadata.org/schema/entity/applications/metadataIngestion/reverseIngestionPipeline.json", + "$id": "https://open-metadata.org/schema/metadataIngestion/reverseIngestionPipeline.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "reverseIngestionPipeline", "javaType": "org.openmetadata.schema.metadataIngestion.ReverseIngestionPipeline", 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 a5d3ad00b57..09b5139d447 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 @@ -33,7 +33,7 @@ export interface CreateWorkflow { /** * Owners of this workflow. */ - owners?: OwnerElement[]; + owners?: EntityReference[]; /** * Request body for a specific workflow type */ @@ -64,8 +64,10 @@ export interface CreateWorkflow { * EntityReference is used for capturing relationships from one entity to another. For * example, a table has an attribute called database of type EntityReference that captures * the relationship of a table `belongs to a` database. + * + * Service to be modified */ -export interface OwnerElement { +export interface EntityReference { /** * If true the entity referred to has been soft-deleted. */ @@ -143,7 +145,7 @@ export interface TestServiceConnectionRequest { /** * Service to be modified */ - service?: ServiceClass; + service?: EntityReference; /** * Pipeline type */ @@ -2469,7 +2471,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2487,7 +2489,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2500,6 +2502,16 @@ 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 * @@ -3616,11 +3628,11 @@ export interface ReverseIngestionConfig { /** * Added owners to be applied */ - addedOwners?: OwnerElement[]; + addedOwners?: EntityReference[]; /** * Removed owners from the entity */ - removedOwners?: OwnerElement[]; + removedOwners?: EntityReference[]; /** * Added tags to be applied */ @@ -3727,57 +3739,6 @@ export enum Type { UpdateTags = "UPDATE_TAGS", } -/** - * Service to be modified - * - * This schema defines the EntityReference type used for referencing an entity. - * EntityReference is used for capturing relationships from one entity to another. For - * example, a table has an attribute called database of type EntityReference that captures - * the relationship of a table `belongs to a` database. - */ -export interface ServiceClass { - /** - * If true the entity referred to has been soft-deleted. - */ - deleted?: boolean; - /** - * Optional description of entity. - */ - description?: string; - /** - * Display Name that identifies this entity. - */ - displayName?: string; - /** - * Fully qualified name of the entity instance. For entities such as tables, databases - * fullyQualifiedName is returned in this field. For entities that don't have name hierarchy - * such as `user` and `team` this will be same as the `name` field. - */ - fullyQualifiedName?: string; - /** - * Link to the entity resource. - */ - href?: string; - /** - * Unique identifier that identifies an entity instance. - */ - id: string; - /** - * If true the relationship indicated by this entity reference is inherited from the parent - * entity. - */ - inherited?: boolean; - /** - * Name of the entity instance. - */ - name?: string; - /** - * Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, - * `dashboardService`... - */ - type: string; -} - /** * Type of service such as Database, Dashboard, Messaging, etc. * 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 cad4c329b2b..f270d2803e8 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -993,7 +993,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1006,6 +1006,16 @@ 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 cab4611f9d0..fecae718ff3 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -1403,7 +1403,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1416,6 +1416,16 @@ 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 da06ca39eee..ea6a30d511b 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -229,7 +229,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -242,6 +242,16 @@ 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 f2648b4240b..0396a744f23 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -250,7 +250,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -263,6 +263,16 @@ 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 eb2fa024719..a46fbcbf4e3 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 @@ -30,7 +30,7 @@ export interface CreateIngestionPipeline { /** * The ingestion agent responsible for executing the ingestion pipeline. */ - ingestionAgent?: IngestionAgentElement; + ingestionAgent?: EntityReference; /** * Set the logging level for the workflow. */ @@ -42,12 +42,12 @@ export interface CreateIngestionPipeline { /** * Owner of this Ingestion Pipeline. */ - owners?: IngestionAgentElement[]; + owners?: EntityReference[]; pipelineType: PipelineType; /** * Link to the service for which ingestion pipeline is ingesting the metadata. */ - service: IngestionAgentElement; + service: EntityReference; sourceConfig: SourceConfig; } @@ -131,8 +131,10 @@ export interface AirflowConfig { * Link to the service for which ingestion pipeline is ingesting the metadata. * * Domain to apply + * + * Service to be modified */ -export interface IngestionAgentElement { +export interface EntityReference { /** * If true the entity referred to has been soft-deleted. */ @@ -679,7 +681,7 @@ export interface Pipeline { /** * Service to be modified */ - service?: ConfigService; + service?: EntityReference; } /** @@ -930,7 +932,7 @@ export interface Action { /** * Domain to apply */ - domain?: IngestionAgentElement; + domain?: EntityReference; /** * Description to apply */ @@ -948,7 +950,7 @@ export interface Action { /** * Owners to apply */ - owners?: IngestionAgentElement[]; + owners?: EntityReference[]; /** * Propagate the metadata to columns via column-level lineage. */ @@ -1552,7 +1554,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -1570,7 +1572,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1583,6 +1585,16 @@ 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 * @@ -1684,11 +1696,11 @@ export interface ReverseIngestionConfig { /** * Added owners to be applied */ - addedOwners?: IngestionAgentElement[]; + addedOwners?: EntityReference[]; /** * Removed owners from the entity */ - removedOwners?: IngestionAgentElement[]; + removedOwners?: EntityReference[]; /** * Added tags to be applied */ @@ -1724,57 +1736,6 @@ export enum SamplingMethodType { System = "SYSTEM", } -/** - * Service to be modified - * - * This schema defines the EntityReference type used for referencing an entity. - * EntityReference is used for capturing relationships from one entity to another. For - * example, a table has an attribute called database of type EntityReference that captures - * the relationship of a table `belongs to a` database. - */ -export interface ConfigService { - /** - * If true the entity referred to has been soft-deleted. - */ - deleted?: boolean; - /** - * Optional description of entity. - */ - description?: string; - /** - * Display Name that identifies this entity. - */ - displayName?: string; - /** - * Fully qualified name of the entity instance. For entities such as tables, databases - * fullyQualifiedName is returned in this field. For entities that don't have name hierarchy - * such as `user` and `team` this will be same as the `name` field. - */ - fullyQualifiedName?: string; - /** - * Link to the entity resource. - */ - href?: string; - /** - * Unique identifier that identifies an entity instance. - */ - id: string; - /** - * If true the relationship indicated by this entity reference is inherited from the parent - * entity. - */ - inherited?: boolean; - /** - * Name of the entity instance. - */ - name?: string; - /** - * Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, - * `dashboardService`... - */ - type: string; -} - /** * Service connections available for the logical test suite. */ 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 new file mode 100644 index 00000000000..fa082b9150d --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/voteRequest.ts @@ -0,0 +1,16 @@ +/* + * 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 new file mode 100644 index 00000000000..ac94e572a59 --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/generated/dataInsight/kpi/basic.ts @@ -0,0 +1,13 @@ +/* + * 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 0b9158c7b9f..41c036f9132 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2373,7 +2373,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2386,6 +2386,16 @@ 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 7c3ed66d85d..691c1e0429d 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 @@ -21,7 +21,7 @@ export interface Workflow { /** * List of data products this entity is part of. */ - dataProducts?: DomainElement[]; + dataProducts?: EntityReference[]; /** * When `true` indicates the entity has been soft deleted. */ @@ -38,7 +38,7 @@ export interface Workflow { * Domain the asset belongs to. When not set, the asset inherits the domain from the parent * it belongs to. */ - domain?: DomainElement; + domain?: EntityReference; /** * FullyQualifiedName same as `name`. */ @@ -63,7 +63,7 @@ export interface Workflow { /** * Owners of this workflow. */ - owners?: DomainElement[]; + owners?: EntityReference[]; /** * Request body for a specific workflow type */ @@ -151,8 +151,10 @@ export interface FieldChange { * * Domain the asset belongs to. When not set, the asset inherits the domain from the parent * it belongs to. + * + * Service to be modified */ -export interface DomainElement { +export interface EntityReference { /** * If true the entity referred to has been soft-deleted. */ @@ -483,7 +485,7 @@ export interface TestServiceConnectionRequest { /** * Service to be modified */ - service?: ServiceClass; + service?: EntityReference; /** * Pipeline type */ @@ -2760,7 +2762,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2778,7 +2780,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2791,6 +2793,16 @@ 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 * @@ -3852,11 +3864,11 @@ export interface ReverseIngestionConfig { /** * Added owners to be applied */ - addedOwners?: DomainElement[]; + addedOwners?: EntityReference[]; /** * Removed owners from the entity */ - removedOwners?: DomainElement[]; + removedOwners?: EntityReference[]; /** * Added tags to be applied */ @@ -3963,57 +3975,6 @@ export enum Type { UpdateTags = "UPDATE_TAGS", } -/** - * Service to be modified - * - * This schema defines the EntityReference type used for referencing an entity. - * EntityReference is used for capturing relationships from one entity to another. For - * example, a table has an attribute called database of type EntityReference that captures - * the relationship of a table `belongs to a` database. - */ -export interface ServiceClass { - /** - * If true the entity referred to has been soft-deleted. - */ - deleted?: boolean; - /** - * Optional description of entity. - */ - description?: string; - /** - * Display Name that identifies this entity. - */ - displayName?: string; - /** - * Fully qualified name of the entity instance. For entities such as tables, databases - * fullyQualifiedName is returned in this field. For entities that don't have name hierarchy - * such as `user` and `team` this will be same as the `name` field. - */ - fullyQualifiedName?: string; - /** - * Link to the entity resource. - */ - href?: string; - /** - * Unique identifier that identifies an entity instance. - */ - id: string; - /** - * If true the relationship indicated by this entity reference is inherited from the parent - * entity. - */ - inherited?: boolean; - /** - * Name of the entity instance. - */ - name?: string; - /** - * Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, - * `dashboardService`... - */ - type: string; -} - /** * Type of service such as Database, Dashboard, Messaging, etc. * 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 new file mode 100644 index 00000000000..9502801ba7f --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/filters.ts @@ -0,0 +1,13 @@ +/* + * 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 new file mode 100644 index 00000000000..17be97ebcb8 --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/connectionBasicType.ts @@ -0,0 +1,13 @@ +/* + * 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 6d3106b334b..14cb58a6431 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -261,7 +261,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -274,6 +274,16 @@ 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 9c7a62a2387..ce9ecc39be6 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -131,7 +131,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -144,6 +144,16 @@ 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 f92f979485b..370c66cee44 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -144,7 +144,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -157,6 +157,16 @@ 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 e6630e4ca75..d4495e8265d 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -126,6 +126,16 @@ 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 ab297533523..db36c3b380b 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -100,7 +100,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -113,6 +113,16 @@ 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 f497f042470..4ac6a2d6ee8 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -208,7 +208,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -221,6 +221,16 @@ 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 a10b702df92..b10ec307046 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -113,7 +113,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -126,6 +126,16 @@ 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 ef2877b95bc..8a986993d1e 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2360,7 +2360,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2373,6 +2373,16 @@ 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 c751cb0bea2..7a048f98216 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -116,7 +116,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -129,6 +129,16 @@ 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 8170aa43c59..13c0bba153a 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -1086,7 +1086,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1099,6 +1099,16 @@ 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 f318c01ff78..0074c1f4f28 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -1499,7 +1499,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -1512,6 +1512,16 @@ 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 49510f9bf6b..314f5234ac3 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 @@ -44,7 +44,7 @@ export interface IngestionPipeline { * Domain the asset belongs to. When not set, the asset inherits the domain from the parent * it belongs to. */ - domain?: DomainElement; + domain?: EntityReference; /** * True if the pipeline is ready to be run in the next schedule. False if it is paused. */ @@ -68,7 +68,7 @@ export interface IngestionPipeline { /** * The ingestion agent responsible for executing the ingestion pipeline. */ - ingestionAgent?: DomainElement; + ingestionAgent?: EntityReference; /** * Set the logging level for the workflow. */ @@ -81,7 +81,7 @@ export interface IngestionPipeline { /** * Owners of this Pipeline. */ - owners?: DomainElement[]; + owners?: EntityReference[]; /** * Last of executions and status for the Pipeline. */ @@ -92,7 +92,7 @@ export interface IngestionPipeline { * Link to the service (such as database, messaging, storage services, etc. for which this * ingestion pipeline ingests the metadata from. */ - service?: DomainElement; + service?: EntityReference; sourceConfig: SourceConfig; /** * Last update time corresponding to the new version of the entity in Unix epoch time @@ -236,8 +236,10 @@ export interface FieldChange { * ingestion pipeline ingests the metadata from. * * Domain to apply + * + * Service to be modified */ -export interface DomainElement { +export interface EntityReference { /** * If true the entity referred to has been soft-deleted. */ @@ -1148,7 +1150,7 @@ export interface Pipeline { /** * Service to be modified */ - service?: ConfigService; + service?: EntityReference; } /** @@ -1399,7 +1401,7 @@ export interface Action { /** * Domain to apply */ - domain?: DomainElement; + domain?: EntityReference; /** * Description to apply */ @@ -1417,7 +1419,7 @@ export interface Action { /** * Owners to apply */ - owners?: DomainElement[]; + owners?: EntityReference[]; /** * Propagate the metadata to columns via column-level lineage. */ @@ -2021,7 +2023,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - type?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2039,7 +2041,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2052,6 +2054,16 @@ 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 * @@ -2153,11 +2165,11 @@ export interface ReverseIngestionConfig { /** * Added owners to be applied */ - addedOwners?: DomainElement[]; + addedOwners?: EntityReference[]; /** * Removed owners from the entity */ - removedOwners?: DomainElement[]; + removedOwners?: EntityReference[]; /** * Added tags to be applied */ @@ -2193,57 +2205,6 @@ export enum SamplingMethodType { System = "SYSTEM", } -/** - * Service to be modified - * - * This schema defines the EntityReference type used for referencing an entity. - * EntityReference is used for capturing relationships from one entity to another. For - * example, a table has an attribute called database of type EntityReference that captures - * the relationship of a table `belongs to a` database. - */ -export interface ConfigService { - /** - * If true the entity referred to has been soft-deleted. - */ - deleted?: boolean; - /** - * Optional description of entity. - */ - description?: string; - /** - * Display Name that identifies this entity. - */ - displayName?: string; - /** - * Fully qualified name of the entity instance. For entities such as tables, databases - * fullyQualifiedName is returned in this field. For entities that don't have name hierarchy - * such as `user` and `team` this will be same as the `name` field. - */ - fullyQualifiedName?: string; - /** - * Link to the entity resource. - */ - href?: string; - /** - * Unique identifier that identifies an entity instance. - */ - id: string; - /** - * If true the relationship indicated by this entity reference is inherited from the parent - * entity. - */ - inherited?: boolean; - /** - * Name of the entity instance. - */ - name?: string; - /** - * Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, - * `dashboardService`... - */ - type: string; -} - /** * Service connections available for the logical test suite. */ 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 79be4806c7a..0f7bb849395 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -323,7 +323,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -336,6 +336,16 @@ 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 6615f63d743..645fc137c34 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -343,7 +343,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -356,6 +356,16 @@ 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 eca19940b8c..f7ccf7210ff 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?: string; + type?: GCPCredentialsConfigurationType; /** * Path of the file containing the GCP credentials info */ @@ -341,7 +341,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -354,6 +354,16 @@ 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 482f0e1c6fc..db28ef0a896 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -130,7 +130,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -143,6 +143,16 @@ 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/reverseIngestionPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts index aa999565797..637cbfa64f8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/reverseIngestionPipeline.ts @@ -21,7 +21,7 @@ export interface ReverseIngestionPipeline { /** * Service to be modified */ - service: ServiceClass; + service: EntityReference; /** * Pipeline type */ @@ -76,11 +76,11 @@ export interface ReverseIngestionConfig { /** * Added owners to be applied */ - addedOwners?: AddedOwnerElement[]; + addedOwners?: EntityReference[]; /** * Removed owners from the entity */ - removedOwners?: AddedOwnerElement[]; + removedOwners?: EntityReference[]; /** * Added tags to be applied */ @@ -103,8 +103,10 @@ export interface ReverseIngestionConfig { * EntityReference is used for capturing relationships from one entity to another. For * example, a table has an attribute called database of type EntityReference that captures * the relationship of a table `belongs to a` database. + * + * Service to be modified */ -export interface AddedOwnerElement { +export interface EntityReference { /** * If true the entity referred to has been soft-deleted. */ @@ -243,57 +245,6 @@ export enum Type { UpdateTags = "UPDATE_TAGS", } -/** - * Service to be modified - * - * This schema defines the EntityReference type used for referencing an entity. - * EntityReference is used for capturing relationships from one entity to another. For - * example, a table has an attribute called database of type EntityReference that captures - * the relationship of a table `belongs to a` database. - */ -export interface ServiceClass { - /** - * If true the entity referred to has been soft-deleted. - */ - deleted?: boolean; - /** - * Optional description of entity. - */ - description?: string; - /** - * Display Name that identifies this entity. - */ - displayName?: string; - /** - * Fully qualified name of the entity instance. For entities such as tables, databases - * fullyQualifiedName is returned in this field. For entities that don't have name hierarchy - * such as `user` and `team` this will be same as the `name` field. - */ - fullyQualifiedName?: string; - /** - * Link to the entity resource. - */ - href?: string; - /** - * Unique identifier that identifies an entity instance. - */ - id: string; - /** - * If true the relationship indicated by this entity reference is inherited from the parent - * entity. - */ - inherited?: boolean; - /** - * Name of the entity instance. - */ - name?: string; - /** - * Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, - * `dashboardService`... - */ - type: string; -} - /** * Pipeline type * 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 98cfcedd2a0..682e5912e20 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -116,7 +116,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -129,6 +129,16 @@ 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 9faee80b524..41ad0517d37 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -252,7 +252,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -265,6 +265,16 @@ 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 aae63f946b2..6322a304070 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2404,7 +2404,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2417,6 +2417,16 @@ 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 03b75fedf8c..09a32bd5ba7 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -2440,7 +2440,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -2453,6 +2453,16 @@ 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 * @@ -3995,7 +4005,7 @@ export interface Pipeline { /** * Service to be modified */ - service?: ServiceClass; + service?: EntityReference; } /** @@ -4246,7 +4256,7 @@ export interface Action { /** * Domain to apply */ - domain?: DomainElement; + domain?: EntityReference; /** * Description to apply */ @@ -4264,7 +4274,7 @@ export interface Action { /** * Owners to apply */ - owners?: DomainElement[]; + owners?: EntityReference[]; /** * Propagate the metadata to columns via column-level lineage. */ @@ -4309,8 +4319,10 @@ export interface Action { * EntityReference is used for capturing relationships from one entity to another. For * example, a table has an attribute called database of type EntityReference that captures * the relationship of a table `belongs to a` database. + * + * Service to be modified */ -export interface DomainElement { +export interface EntityReference { /** * If true the entity referred to has been soft-deleted. */ @@ -4860,11 +4872,11 @@ export interface ReverseIngestionConfig { /** * Added owners to be applied */ - addedOwners?: DomainElement[]; + addedOwners?: EntityReference[]; /** * Removed owners from the entity */ - removedOwners?: DomainElement[]; + removedOwners?: EntityReference[]; /** * Added tags to be applied */ @@ -4900,57 +4912,6 @@ export enum SamplingMethodType { System = "SYSTEM", } -/** - * Service to be modified - * - * This schema defines the EntityReference type used for referencing an entity. - * EntityReference is used for capturing relationships from one entity to another. For - * example, a table has an attribute called database of type EntityReference that captures - * the relationship of a table `belongs to a` database. - */ -export interface ServiceClass { - /** - * If true the entity referred to has been soft-deleted. - */ - deleted?: boolean; - /** - * Optional description of entity. - */ - description?: string; - /** - * Display Name that identifies this entity. - */ - displayName?: string; - /** - * Fully qualified name of the entity instance. For entities such as tables, databases - * fullyQualifiedName is returned in this field. For entities that don't have name hierarchy - * such as `user` and `team` this will be same as the `name` field. - */ - fullyQualifiedName?: string; - /** - * Link to the entity resource. - */ - href?: string; - /** - * Unique identifier that identifies an entity instance. - */ - id: string; - /** - * If true the relationship indicated by this entity reference is inherited from the parent - * entity. - */ - inherited?: boolean; - /** - * Name of the entity instance. - */ - name?: string; - /** - * Entity type/class name - Examples: `database`, `table`, `metrics`, `databaseService`, - * `dashboardService`... - */ - type: string; -} - /** * Service connections available for the logical test suite. */ 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 648aec1e16e..9daf895ab4c 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?: string; + type?: TypeEnum; /** * Path of the file containing the GCP credentials info */ @@ -93,7 +93,7 @@ export interface GCPCredentialsConfiguration { /** * Google Cloud Platform account type. */ - externalType?: string; + externalType?: ExternalTypeEnum; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -106,6 +106,16 @@ 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 b0f89f3367c..7d312dc01fc 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?: string; + externalType?: CredentialsType; /** * Google Security Token Service subject token type based on the OAuth 2.0 token exchange * spec. @@ -40,5 +40,9 @@ export interface GcpExternalAccount { /** * Google Cloud Platform account type. */ - type?: string; + type?: CredentialsType; +} + +export enum CredentialsType { + ExternalAccount = "external_account", } 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 3d7add09a90..83fa219cb64 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,5 +53,9 @@ export interface GcpValues { /** * Google Cloud Platform account type. */ - type?: string; + type?: CredentialsType; +} + +export enum CredentialsType { + ServiceAccount = "service_account", } 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 4bdb9b8043d..6e8a1c37a0d 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,6 +14,7 @@ import { DashboardService, DashboardServiceType, + TypeEnum, } from '../generated/entity/services/dashboardService'; import { ConfigScheme, @@ -79,7 +80,7 @@ export const MOCK_DATABASE_SERVICE: DatabaseService = { hostPort: 'localhost:1234', credentials: { gcpConfig: { - type: 'service_account', + type: TypeEnum.ServiceAccount, projectId: ['projectID'], privateKeyId: 'privateKeyId', privateKey: '*********',