mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
doc(ingest): mark test connection capability (#13837)
This commit is contained in:
parent
1964bcf4d1
commit
d08a293225
@ -76,6 +76,7 @@ class SourceCapability(Enum):
|
||||
SCHEMA_METADATA = "Schema Metadata"
|
||||
CONTAINERS = "Asset Containers"
|
||||
CLASSIFICATION = "Classification"
|
||||
TEST_CONNECTION = "Test Connection"
|
||||
|
||||
|
||||
class StructuredLogLevel(Enum):
|
||||
|
@ -99,6 +99,7 @@ def cleanup(config: BigQueryV2Config) -> None:
|
||||
SourceCapability.PARTITION_SUPPORT,
|
||||
"Enabled by default, partition keys and clustering keys are supported.",
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class BigqueryV2Source(StatefulIngestionSourceBase, TestableSource):
|
||||
def __init__(self, ctx: PipelineContext, config: BigQueryV2Config):
|
||||
super().__init__(config, ctx)
|
||||
|
@ -9,7 +9,9 @@ import requests
|
||||
from pydantic import Field, root_validator
|
||||
|
||||
from datahub.ingestion.api.decorators import (
|
||||
SourceCapability,
|
||||
SupportStatus,
|
||||
capability,
|
||||
config_class,
|
||||
platform_name,
|
||||
support_status,
|
||||
@ -261,6 +263,7 @@ query DatahubMetadataQuery_{type}($jobId: BigInt!, $runId: BigInt) {{
|
||||
@platform_name("dbt")
|
||||
@config_class(DBTCloudConfig)
|
||||
@support_status(SupportStatus.CERTIFIED)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class DBTCloudSource(DBTSourceBase, TestableSource):
|
||||
config: DBTCloudConfig
|
||||
|
||||
|
@ -15,7 +15,9 @@ from datahub.configuration.git import GitReference
|
||||
from datahub.configuration.validate_field_rename import pydantic_renamed_field
|
||||
from datahub.ingestion.api.common import PipelineContext
|
||||
from datahub.ingestion.api.decorators import (
|
||||
SourceCapability,
|
||||
SupportStatus,
|
||||
capability,
|
||||
config_class,
|
||||
platform_name,
|
||||
support_status,
|
||||
@ -464,6 +466,7 @@ def load_run_results(
|
||||
@platform_name("dbt")
|
||||
@config_class(DBTCoreConfig)
|
||||
@support_status(SupportStatus.CERTIFIED)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class DBTCoreSource(DBTSourceBase, TestableSource):
|
||||
config: DBTCoreConfig
|
||||
report: DBTCoreReport
|
||||
|
@ -18,7 +18,9 @@ from datahub.configuration.validate_field_rename import pydantic_renamed_field
|
||||
from datahub.emitter.mcp import MetadataChangeProposalWrapper
|
||||
from datahub.ingestion.api.common import PipelineContext
|
||||
from datahub.ingestion.api.decorators import (
|
||||
SourceCapability,
|
||||
SupportStatus,
|
||||
capability,
|
||||
config_class,
|
||||
platform_name,
|
||||
support_status,
|
||||
@ -187,6 +189,7 @@ class FileSourceReport(StaleEntityRemovalSourceReport):
|
||||
@platform_name("Metadata File")
|
||||
@config_class(FileSourceConfig)
|
||||
@support_status(SupportStatus.CERTIFIED)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class GenericFileSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
This plugin pulls metadata from a previously generated file.
|
||||
|
@ -204,6 +204,7 @@ class KafkaConnectionTest:
|
||||
"Not supported",
|
||||
supported=False,
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class KafkaSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
This plugin extracts the following:
|
||||
|
@ -126,6 +126,7 @@ logger = logging.getLogger(__name__)
|
||||
SourceCapability.USAGE_STATS,
|
||||
"Enabled by default, configured using `extract_usage_history`",
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class LookerDashboardSource(TestableSource, StatefulIngestionSourceBase):
|
||||
"""
|
||||
This plugin extracts the following:
|
||||
|
@ -1253,6 +1253,7 @@ class Mapper:
|
||||
SourceCapability.DATA_PROFILING,
|
||||
"Optionally enabled via configuration profiling.enabled",
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class PowerBiDashboardSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
This plugin extracts the following:
|
||||
|
@ -109,6 +109,7 @@ logger = logging.getLogger(__name__)
|
||||
"Enabled by default, configured using `ingest_owner`",
|
||||
)
|
||||
@capability(SourceCapability.SCHEMA_METADATA, "Enabled by default")
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class QlikSenseSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
This plugin extracts the following:
|
||||
|
@ -146,6 +146,7 @@ logger: logging.Logger = logging.getLogger(__name__)
|
||||
"Optionally enabled via `classification.enabled`",
|
||||
supported=True,
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class RedshiftSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
This plugin extracts the following:
|
||||
|
@ -105,6 +105,7 @@ logger = logging.getLogger(__name__)
|
||||
SourceCapability.OWNERSHIP,
|
||||
"Enabled by default, configured using `ingest_owner`",
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class SigmaSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
This plugin extracts the following:
|
||||
|
@ -131,6 +131,7 @@ logger: logging.Logger = logging.getLogger(__name__)
|
||||
"Optionally enabled via `classification.enabled`",
|
||||
supported=True,
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class SnowflakeV2Source(
|
||||
SnowflakeCommonMixin,
|
||||
StatefulIngestionSourceBase,
|
||||
@ -311,6 +312,7 @@ class SnowflakeV2Source(
|
||||
SourceCapability.PLATFORM_INSTANCE,
|
||||
SourceCapability.DOMAINS,
|
||||
SourceCapability.DELETION_DETECTION,
|
||||
SourceCapability.TEST_CONNECTION,
|
||||
)
|
||||
]
|
||||
|
||||
|
@ -302,6 +302,7 @@ class ProfileMetadata:
|
||||
"Enabled by default",
|
||||
supported=True,
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class SQLAlchemySource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""A Base class for all SQL Sources that use SQLAlchemy to extend"""
|
||||
|
||||
|
@ -879,6 +879,7 @@ def report_user_role(report: TableauSourceReport, server: Server) -> None:
|
||||
SourceCapability.LINEAGE_FINE,
|
||||
"Enabled by default, configure using `extract_column_level_lineage`",
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
class TableauSource(StatefulIngestionSourceBase, TestableSource):
|
||||
platform = "tableau"
|
||||
|
||||
|
@ -162,6 +162,7 @@ logger: logging.Logger = logging.getLogger(__name__)
|
||||
"Optionally enabled via `stateful_ingestion.remove_stale_metadata`",
|
||||
supported=True,
|
||||
)
|
||||
@capability(SourceCapability.TEST_CONNECTION, "Enabled by default")
|
||||
@support_status(SupportStatus.INCUBATING)
|
||||
class UnityCatalogSource(StatefulIngestionSourceBase, TestableSource):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user