mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 05:26:19 +00:00
parent
3f91ae33c5
commit
83a3307b60
@ -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];
|
||||
|
||||
@ -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];
|
||||
|
||||
@ -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<Props> = ({
|
||||
serviceType = '',
|
||||
@ -137,9 +137,9 @@ const Ingestion: React.FC<Props> = ({
|
||||
pipelineConfig: {
|
||||
...pipelineConfig,
|
||||
config: {
|
||||
...(pipelineConfig.config as ConfigObject),
|
||||
...(pipelineConfig.config as ConfigClass),
|
||||
|
||||
...(data.pipelineConfig.config as ConfigObject),
|
||||
...(data.pipelineConfig.config as ConfigClass),
|
||||
},
|
||||
},
|
||||
scheduleInterval: data.scheduleInterval,
|
||||
|
||||
@ -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<IngestionModalProps> = ({
|
||||
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(',') || ''
|
||||
|
||||
@ -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,
|
||||
},
|
||||
],
|
||||
|
||||
@ -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,
|
||||
},
|
||||
],
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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;
|
||||
}
|
||||
@ -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'.
|
||||
|
||||
@ -107,6 +107,7 @@ export interface EntityReference {
|
||||
export enum DashboardServiceType {
|
||||
Looker = 'Looker',
|
||||
Metabase = 'Metabase',
|
||||
PowerBI = 'PowerBI',
|
||||
Redash = 'Redash',
|
||||
Superset = 'Superset',
|
||||
Tableau = 'Tableau',
|
||||
|
||||
@ -121,6 +121,7 @@ export enum DatabaseServiceType {
|
||||
Postgres = 'Postgres',
|
||||
Presto = 'Presto',
|
||||
Redshift = 'Redshift',
|
||||
SQLite = 'SQLite',
|
||||
SingleStore = 'SingleStore',
|
||||
Snowflake = 'Snowflake',
|
||||
Trino = 'Trino',
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -195,6 +195,7 @@ export enum DatabaseServiceType {
|
||||
Postgres = 'Postgres',
|
||||
Presto = 'Presto',
|
||||
Redshift = 'Redshift',
|
||||
SQLite = 'SQLite',
|
||||
SingleStore = 'SingleStore',
|
||||
Snowflake = 'Snowflake',
|
||||
Trino = 'Trino',
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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 {
|
||||
/**
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -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'.
|
||||
|
||||
@ -186,6 +186,7 @@ export interface EntityReference {
|
||||
export enum DashboardServiceType {
|
||||
Looker = 'Looker',
|
||||
Metabase = 'Metabase',
|
||||
PowerBI = 'PowerBI',
|
||||
Redash = 'Redash',
|
||||
Superset = 'Superset',
|
||||
Tableau = 'Tableau',
|
||||
|
||||
@ -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;
|
||||
/**
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -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'.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user