From 83a3307b60c2b4ca8b8bf4852d79e1cac65ca4af Mon Sep 17 00:00:00 2001 From: darth-coder00 <86726556+darth-coder00@users.noreply.github.com> Date: Thu, 17 Mar 2022 12:30:34 +0530 Subject: [PATCH] Fixed #3475 for updated schema and fixed failing unit tests (#3476) --- .../GlossaryDetails.component.tsx | 3 ++- .../GlossaryTermsV1.component.tsx | 3 ++- .../Ingestion/Ingestion.component.tsx | 10 +++---- .../IngestionModal.component.tsx | 8 +++--- .../components/SchemaTab/SchemaTab.test.tsx | 9 ++++++- .../my-data-details/SchemaTable.test.tsx | 9 ++++++- .../ui/src/generated/api/data/createChart.ts | 12 +++++++++ .../src/generated/api/data/createDashboard.ts | 12 +++++++++ .../src/generated/api/data/createGlossary.ts | 12 +++++++++ .../generated/api/data/createGlossaryTerm.ts | 16 +++++++++-- .../src/generated/api/data/createLocation.ts | 13 +++++++++ .../src/generated/api/data/createMLModel.ts | 16 +++++++++-- .../ui/src/generated/api/data/createTopic.ts | 12 +++++++++ .../ui/src/generated/api/feed/createPost.ts | 27 +++++++++++++++++++ .../generated/api/policies/createPolicy.ts | 13 +++++++++ .../api/services/createDashboardService.ts | 1 + .../api/services/createDatabaseService.ts | 1 + .../ui/src/generated/entity/data/chart.ts | 13 +++++++++ .../ui/src/generated/entity/data/dashboard.ts | 13 +++++++++ .../ui/src/generated/entity/data/database.ts | 1 + .../ui/src/generated/entity/data/glossary.ts | 16 +++++++++++ .../src/generated/entity/data/glossaryTerm.ts | 20 ++++++++++++-- .../ui/src/generated/entity/data/location.ts | 13 +++++++++ .../ui/src/generated/entity/data/metrics.ts | 12 +++++++++ .../ui/src/generated/entity/data/mlmodel.ts | 16 +++++++++-- .../ui/src/generated/entity/data/pipeline.ts | 12 +++++++++ .../ui/src/generated/entity/data/table.ts | 12 +++++++++ .../ui/src/generated/entity/data/topic.ts | 12 +++++++++ .../ui/src/generated/entity/events/webhook.ts | 2 +- .../ui/src/generated/entity/feed/thread.ts | 16 ++++++----- .../entity/policies/lifecycle/moveAction.ts | 13 +++++++++ .../entity/policies/lifecycle/rule.ts | 13 +++++++++ .../src/generated/entity/policies/policy.ts | 13 +++++++++ .../entity/services/dashboardService.ts | 1 + .../ui/src/generated/entity/teams/role.ts | 2 +- .../operations/pipelines/airflowPipeline.ts | 4 +-- .../databaseServiceQueryUsagePipeline.ts | 2 +- .../src/generated/type/entityRelationship.ts | 4 +-- .../ui/src/generated/type/include.ts | 2 +- .../ui/src/generated/type/tagLabel.ts | 12 +++++++++ 40 files changed, 366 insertions(+), 35 deletions(-) create mode 100644 openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createPost.ts diff --git a/openmetadata-ui/src/main/resources/ui/src/components/GlossaryDetails/GlossaryDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/GlossaryDetails/GlossaryDetails.component.tsx index d2fe377f094..10c5d391c7d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/GlossaryDetails/GlossaryDetails.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/GlossaryDetails/GlossaryDetails.component.tsx @@ -22,7 +22,7 @@ import { } from '../../constants/constants'; import { Glossary } from '../../generated/entity/data/glossary'; import { Operation } from '../../generated/entity/policies/policy'; -import { LabelType, State } from '../../generated/type/tagLabel'; +import { LabelType, Source, State } from '../../generated/type/tagLabel'; import UserCard from '../../pages/teams/UserCard'; import SVGIcons from '../../utils/SvgUtils'; import { @@ -104,6 +104,7 @@ const GlossaryDetails = ({ isHasAccess, glossary, updateGlossary }: props) => { .map((tag) => ({ labelType: LabelType.Manual, state: State.Confirmed, + source: Source.Tag, tagFQN: tag, })); const updatedTags = [...prevTags, ...newTags]; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/GlossaryTerms/GlossaryTermsV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/GlossaryTerms/GlossaryTermsV1.component.tsx index 45f152bb24a..1dd6b0d6a8b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/GlossaryTerms/GlossaryTermsV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/GlossaryTerms/GlossaryTermsV1.component.tsx @@ -29,7 +29,7 @@ import { GlossaryTerm, TermReference, } from '../../generated/entity/data/glossaryTerm'; -import { LabelType, State } from '../../generated/type/tagLabel'; +import { LabelType, Source, State } from '../../generated/type/tagLabel'; import UserCard from '../../pages/teams/UserCard'; import SVGIcons from '../../utils/SvgUtils'; import { @@ -178,6 +178,7 @@ const GlossaryTermsV1 = ({ .map((tag) => ({ labelType: LabelType.Manual, state: State.Confirmed, + source: Source.Tag, tagFQN: tag, })); const updatedTags = [...prevTags, ...newTags]; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx index 20dbd85296f..838f2bdd077 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx @@ -11,6 +11,8 @@ * limitations under the License. */ +import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import classNames from 'classnames'; import cronstrue from 'cronstrue'; import { capitalize, isNil, lowerCase } from 'lodash'; @@ -19,7 +21,7 @@ import { useAuthContext } from '../../auth-provider/AuthProvider'; import { TITLE_FOR_NON_ADMIN_ACTION } from '../../constants/constants'; import { AirflowPipeline, - ConfigObject, + ConfigClass, PipelineType, } from '../../generated/operations/pipelines/airflowPipeline'; import { useAuth } from '../../hooks/authHooks'; @@ -35,8 +37,6 @@ import IngestionModal from '../IngestionModal/IngestionModal.component'; import Loader from '../Loader/Loader'; import ConfirmationModal from '../Modals/ConfirmationModal/ConfirmationModal'; import { Props } from './ingestion.interface'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faExclamationCircle } from '@fortawesome/free-solid-svg-icons'; const Ingestion: React.FC = ({ serviceType = '', @@ -137,9 +137,9 @@ const Ingestion: React.FC = ({ pipelineConfig: { ...pipelineConfig, config: { - ...(pipelineConfig.config as ConfigObject), + ...(pipelineConfig.config as ConfigClass), - ...(data.pipelineConfig.config as ConfigObject), + ...(data.pipelineConfig.config as ConfigClass), }, }, scheduleInterval: data.scheduleInterval, diff --git a/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx index bfa34c03089..a6c9bf33e2b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/IngestionModal/IngestionModal.component.tsx @@ -11,6 +11,8 @@ * limitations under the License. */ +import { faArrowLeft, faArrowRight } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import classNames from 'classnames'; import cronstrue from 'cronstrue'; import { isEmpty } from 'lodash'; @@ -20,7 +22,7 @@ import React, { Fragment, ReactNode, useEffect, useState } from 'react'; import { DatabaseServiceType } from '../../generated/entity/services/databaseService'; import { AirflowPipeline, - ConfigObject, + ConfigClass, } from '../../generated/operations/pipelines/airflowPipeline'; import { getCurrentDate, @@ -35,8 +37,6 @@ import { IngestionModalProps, ValidationErrorMsg, } from './IngestionModal.interface'; -import { faArrowLeft, faArrowRight } from '@fortawesome/free-solid-svg-icons'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; const errorMsg = (value: string) => { return ( @@ -126,7 +126,7 @@ const IngestionModal: React.FC = ({ selectedIngestion?.pipelineType || ingestionTypes[0] || '' ); const [pipelineConfig] = useState( - (selectedIngestion?.pipelineConfig.config || {}) as ConfigObject + (selectedIngestion?.pipelineConfig.config || {}) as ConfigClass ); const [tableIncludeFilter, setTableIncludeFilter] = useState( pipelineConfig.tableFilterPattern?.includes?.join(',') || '' diff --git a/openmetadata-ui/src/main/resources/ui/src/components/SchemaTab/SchemaTab.test.tsx b/openmetadata-ui/src/main/resources/ui/src/components/SchemaTab/SchemaTab.test.tsx index bfe93540dc3..a181473d5ea 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/SchemaTab/SchemaTab.test.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/SchemaTab/SchemaTab.test.tsx @@ -19,6 +19,7 @@ import { Column, DataType, LabelType, + Source, State, } from '../../generated/entity/data/table'; import SchemaTab from './SchemaTab.component'; @@ -29,10 +30,16 @@ const mockColumns: Column[] = [ description: 'string', fullyQualifiedName: 'string', tags: [ - { tagFQN: 'string', labelType: LabelType.Manual, state: State.Confirmed }, + { + tagFQN: 'string', + labelType: LabelType.Manual, + source: Source.Tag, + state: State.Confirmed, + }, { tagFQN: 'string2', labelType: LabelType.Derived, + source: Source.Tag, state: State.Confirmed, }, ], diff --git a/openmetadata-ui/src/main/resources/ui/src/components/my-data-details/SchemaTable.test.tsx b/openmetadata-ui/src/main/resources/ui/src/components/my-data-details/SchemaTable.test.tsx index b361b4621a1..f285112a912 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/my-data-details/SchemaTable.test.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/my-data-details/SchemaTable.test.tsx @@ -19,6 +19,7 @@ import { Constraint, DataType, LabelType, + Source, State, Table, } from '../../generated/entity/data/table'; @@ -50,10 +51,16 @@ const mockColumns: Table['columns'] = [ name: 'address_id', ordinalPosition: 1, tags: [ - { tagFQN: 'string', labelType: LabelType.Manual, state: State.Confirmed }, + { + tagFQN: 'string', + labelType: LabelType.Manual, + source: Source.Tag, + state: State.Confirmed, + }, { tagFQN: 'string2', labelType: LabelType.Derived, + source: Source.Tag, state: State.Confirmed, }, ], diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts index 26faa71fdf3..8b3a57954e5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createChart.ts @@ -129,6 +129,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -151,6 +155,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts index c8c03d532fc..9f895ec5bcd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createDashboard.ts @@ -110,6 +110,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -132,6 +136,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts index d4da290a464..8ef0aa5490c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossary.ts @@ -99,6 +99,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -121,6 +125,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts index 64600fd80c7..a5ae9cb482f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createGlossaryTerm.ts @@ -102,11 +102,11 @@ export interface EntityReference { export interface TermReference { /** - * Name that identifies the source of an external glossary term. Example `HealthCare.gov` + * Name that identifies the source of an external glossary term. Example `HealthCare.gov`. */ endpoint?: string; /** - * Name that identifies the source of an external glossary term. Example `HealthCare.gov` + * Name that identifies the source of an external glossary term. Example `HealthCare.gov`. */ name?: string; } @@ -131,6 +131,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -153,6 +157,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createLocation.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createLocation.ts index 602deabddc4..e139aaf7b0a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createLocation.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createLocation.ts @@ -45,6 +45,7 @@ export interface CreateLocation { export enum LocationType { Bucket = 'Bucket', Database = 'Database', + Iceberg = 'Iceberg', Prefix = 'Prefix', Table = 'Table', } @@ -108,6 +109,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -130,6 +135,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMLModel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMLModel.ts index 22054882cf5..9176dfe7c3a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMLModel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createMLModel.ts @@ -76,7 +76,7 @@ export interface CreateMlModel { * example, a table has an attribute called database of type EntityReference that captures * the relationship of a table `belongs to a` database. * - * Description of the Data Source (e.g., a Table) + * Description of the Data Source (e.g., a Table). * * Owner of this database */ @@ -152,7 +152,7 @@ export enum FeatureType { */ export interface FeatureSource { /** - * Description of the Data Source (e.g., a Table) + * Description of the Data Source (e.g., a Table). */ dataSource?: EntityReference; /** @@ -207,6 +207,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -229,6 +233,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts index fc1f4840e63..60d6a0b63ef 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/data/createTopic.ts @@ -160,6 +160,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -182,6 +186,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createPost.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createPost.ts new file mode 100644 index 00000000000..010fa33a64e --- /dev/null +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/feed/createPost.ts @@ -0,0 +1,27 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* + * Copyright 2021 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. + */ + +/** + * Create post request + */ +export interface CreatePost { + /** + * Name of the User posting the message + */ + from: string; + /** + * Message in markdown format. See markdown support for more details. + */ + message: string; +} diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/api/policies/createPolicy.ts b/openmetadata-ui/src/main/resources/ui/src/generated/api/policies/createPolicy.ts index 491710e0cdd..45eba079637 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/api/policies/createPolicy.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/api/policies/createPolicy.ts @@ -320,6 +320,7 @@ export interface FieldChange { export enum LocationType { Bucket = 'Bucket', Database = 'Database', + Iceberg = 'Iceberg', Prefix = 'Prefix', Table = 'Table', } @@ -356,6 +357,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -378,6 +383,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. 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 7bf30faf43a..f2d5c24a8b9 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 @@ -107,6 +107,7 @@ export interface EntityReference { export enum DashboardServiceType { Looker = 'Looker', Metabase = 'Metabase', + PowerBI = 'PowerBI', Redash = 'Redash', Superset = 'Superset', Tableau = 'Tableau', 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 fda3e1c5517..e31db98a7b3 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 @@ -121,6 +121,7 @@ export enum DatabaseServiceType { Postgres = 'Postgres', Presto = 'Presto', Redshift = 'Redshift', + SQLite = 'SQLite', SingleStore = 'SingleStore', Snowflake = 'Snowflake', Trino = 'Trino', diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts index 9ed4c0ef49b..2a072c5119c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/chart.ts @@ -204,6 +204,7 @@ export interface EntityReference { export enum DashboardServiceType { Looker = 'Looker', Metabase = 'Metabase', + PowerBI = 'PowerBI', Redash = 'Redash', Superset = 'Superset', Tableau = 'Tableau', @@ -229,6 +230,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -251,6 +256,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts index 58e5767a860..784b2826a77 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/dashboard.ts @@ -188,6 +188,7 @@ export interface EntityReference { export enum DashboardServiceType { Looker = 'Looker', Metabase = 'Metabase', + PowerBI = 'PowerBI', Redash = 'Redash', Superset = 'Superset', Tableau = 'Tableau', @@ -213,6 +214,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -235,6 +240,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts index 706f319e08d..a0e48158f44 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/database.ts @@ -195,6 +195,7 @@ export enum DatabaseServiceType { Postgres = 'Postgres', Presto = 'Presto', Redshift = 'Redshift', + SQLite = 'SQLite', SingleStore = 'SingleStore', Snowflake = 'Snowflake', Trino = 'Trino', diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts index 3f85c417b0c..ae69d02491f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossary.ts @@ -66,6 +66,10 @@ export interface Glossary { * User who made the update. */ updatedBy?: string; + /** + * Count of how many times terms from this glossary are used. + */ + usageCount?: number; /** * Metadata version of the entity. */ @@ -170,6 +174,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -192,6 +200,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts index 59ad4c1e2fe..6473d513f8a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/glossaryTerm.ts @@ -95,6 +95,10 @@ export interface GlossaryTerm { * User who made the update. */ updatedBy?: string; + /** + * Count of how many times this and it's children glossary terms are used as labels. + */ + usageCount?: number; /** * Metadata version of the entity. */ @@ -186,11 +190,11 @@ export interface EntityReference { export interface TermReference { /** - * Name that identifies the source of an external glossary term. Example `HealthCare.gov` + * Name that identifies the source of an external glossary term. Example `HealthCare.gov`. */ endpoint?: string; /** - * Name that identifies the source of an external glossary term. Example `HealthCare.gov` + * Name that identifies the source of an external glossary term. Example `HealthCare.gov`. */ name?: string; } @@ -224,6 +228,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -246,6 +254,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts index 66ffd0ba87d..e2be1190626 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/location.ts @@ -174,6 +174,7 @@ export interface EntityReference { export enum LocationType { Bucket = 'Bucket', Database = 'Database', + Iceberg = 'Iceberg', Prefix = 'Prefix', Table = 'Table', } @@ -210,6 +211,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -232,6 +237,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts index cffc924cd0c..a4c4ea9049a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/metrics.ts @@ -182,6 +182,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -204,6 +208,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts index aaa36bf3cd4..a4eb8927801 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/mlmodel.ts @@ -160,7 +160,7 @@ export interface FieldChange { * * Followers of this ML Model. * - * Description of the Data Source (e.g., a Table) + * Description of the Data Source (e.g., a Table). * * Owner of this ML Model. */ @@ -236,7 +236,7 @@ export enum FeatureType { */ export interface FeatureSource { /** - * Description of the Data Source (e.g., a Table) + * Description of the Data Source (e.g., a Table). */ dataSource?: EntityReference; /** @@ -291,6 +291,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -313,6 +317,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts index 852d480e1ad..0b71ca0b7a0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/pipeline.ts @@ -267,6 +267,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -289,6 +293,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts index e52db89f19c..45bb639dd12 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/table.ts @@ -307,6 +307,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -329,6 +333,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts index 1e7ee9e7e5b..bc978f0dc95 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/data/topic.ts @@ -260,6 +260,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -282,6 +286,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/events/webhook.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/events/webhook.ts index b6cc63bca84..5f509a3d684 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/events/webhook.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/events/webhook.ts @@ -13,7 +13,7 @@ */ /** - * This schema defines webhook for receiving events from OpenMetadata + * This schema defines webhook for receiving events from OpenMetadata. */ export interface Webhook { /** diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts index 171f1697ebf..cfdb2a2cb85 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/feed/thread.ts @@ -47,16 +47,16 @@ export interface Thread { */ id: string; /** - * The main message of the thread in markdown format + * The main message of the thread in markdown format. */ - message?: string; - posts: Post[]; + message: string; + posts?: Post[]; /** - * The total count of posts in the thread + * The total count of posts in the thread. */ postsCount?: number; /** - * When `true` indicates the thread has been resolved + * When `true` indicates the thread has been resolved. */ resolved?: boolean; /** @@ -79,9 +79,13 @@ export interface Thread { */ export interface Post { /** - * Name of the User posting the message + * Name of the User posting the message. */ from: string; + /** + * Unique identifier that identifies the post. + */ + id: string; /** * Message in markdown format. See markdown support for more details. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts index cbce9384013..dddec1bec77 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/moveAction.ts @@ -215,6 +215,7 @@ export interface EntityReference { export enum LocationType { Bucket = 'Bucket', Database = 'Database', + Iceberg = 'Iceberg', Prefix = 'Prefix', Table = 'Table', } @@ -251,6 +252,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -273,6 +278,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/rule.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/rule.ts index 64a15a4e1f8..ac4db9dcc1c 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/rule.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/lifecycle/rule.ts @@ -243,6 +243,7 @@ export interface EntityReference { export enum LocationType { Bucket = 'Bucket', Database = 'Database', + Iceberg = 'Iceberg', Prefix = 'Prefix', Table = 'Table', } @@ -279,6 +280,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -301,6 +306,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/policy.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/policy.ts index cd182d184a3..3bb8f4f01a7 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/policy.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/policies/policy.ts @@ -427,6 +427,7 @@ export interface OwnerElement { export enum LocationType { Bucket = 'Bucket', Database = 'Database', + Iceberg = 'Iceberg', Prefix = 'Prefix', Table = 'Table', } @@ -463,6 +464,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -485,6 +490,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. 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 9e1bc3de3b4..288fb50d56b 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 @@ -186,6 +186,7 @@ export interface EntityReference { export enum DashboardServiceType { Looker = 'Looker', Metabase = 'Metabase', + PowerBI = 'PowerBI', Redash = 'Redash', Superset = 'Superset', Tableau = 'Tableau', diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts index 4553031abba..29788ee3134 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/entity/teams/role.ts @@ -21,7 +21,7 @@ export interface Role { */ changeDescription?: ChangeDescription; /** - * If `true`, this role is set as default and will be assigned to all users. + * If `true`, this role is set as default role and will be assigned to all users. */ defaultRole?: boolean; /** diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/airflowPipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/airflowPipeline.ts index aa29894c858..d65f5d76369 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/airflowPipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/airflowPipeline.ts @@ -210,11 +210,11 @@ export interface EntityReference { * OpenMetadata Pipeline Config. */ export interface PipelineConfig { - config?: any[] | boolean | ConfigObject | number | null | string; + config?: any[] | boolean | ConfigClass | number | null | string; schema?: Schema; } -export interface ConfigObject { +export interface ConfigClass { /** * Sample data extraction query. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/databaseServiceQueryUsagePipeline.ts b/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/databaseServiceQueryUsagePipeline.ts index 86d77fd1b45..9da9641031a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/databaseServiceQueryUsagePipeline.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/operations/pipelines/databaseServiceQueryUsagePipeline.ts @@ -12,7 +12,7 @@ * limitations under the License. */ -export interface DatabaseServiceQueryUsagePipelineObject { +export interface DatabaseServiceQueryUsagePipelineClass { /** * Configuration to tune how far we want to look back in query logs to process usage data. */ diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/entityRelationship.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/entityRelationship.ts index a03b8195cee..38dd1a6712b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/entityRelationship.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/entityRelationship.ts @@ -40,7 +40,7 @@ export interface EntityRelationship { */ relation?: number; /** - * Describes relationship between the two entities. Eg: Database --- Contains --> Table + * Describes relationship between the two entities. Eg: Database --- Contains --> Table. */ relationshipType: RelationshipType; /** @@ -59,7 +59,7 @@ export interface EntityRelationship { } /** - * Describes relationship between the two entities. Eg: Database --- Contains --> Table + * Describes relationship between the two entities. Eg: Database --- Contains --> Table. * * This enum captures all the relationships between Catalog entities. Note that the * relationship from is a Strong entity and to is Weak entity when possible. diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts index 68112a43b78..8bc5993cdee 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/include.ts @@ -14,7 +14,7 @@ /** * GET entity by id, GET entity by name, and LIST entities can include deleted or - * non-deleted entities using the parameter include + * non-deleted entities using the parameter include. */ export enum Include { All = 'all', diff --git a/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts b/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts index c20daae3b0c..0e3937e6c52 100644 --- a/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts +++ b/openmetadata-ui/src/main/resources/ui/src/generated/type/tagLabel.ts @@ -32,6 +32,10 @@ export interface TagLabel { * to determine the tag label. */ labelType: LabelType; + /** + * Label is from Tags or Glossary. + */ + source: Source; /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'. @@ -54,6 +58,14 @@ export enum LabelType { Propagated = 'Propagated', } +/** + * Label is from Tags or Glossary. + */ +export enum Source { + Glossary = 'Glossary', + Tag = 'Tag', +} + /** * 'Suggested' state is used when a tag label is suggested by users or tools. Owner of the * entity must confirm the suggested labels before it is marked as 'Confirmed'.