Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions airbyte-integrations/connectors/source-smoke-test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Source Smoke Test

Smoke test source for destination regression testing. Generates synthetic data
across predefined scenarios that cover common destination failure patterns:
type variations, null handling, naming edge cases, schema variations, and
batch size variations.

This connector is a thin wrapper around
[PyAirbyte's smoke test source](https://github.com/airbytehq/PyAirbyte).
All business logic lives in the `airbyte.cli.smoke_test_source` module of PyAirbyte.

## Local Development

### Prerequisites

- Python 3.10+
- Poetry

### Install Dependencies

```bash
cd airbyte-integrations/connectors/source-smoke-test
poetry install
```

### Run the Connector

```bash
# Print the spec
poetry run source-smoke-test spec

# Check the connection
poetry run source-smoke-test check --config secrets/config.json

# Discover the catalog
poetry run source-smoke-test discover --config secrets/config.json
```

For general connector development guidance, see the
[Connector Development Guide](https://docs.airbyte.com/connector-development/).
4 changes: 4 additions & 0 deletions airbyte-integrations/connectors/source-smoke-test/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions airbyte-integrations/connectors/source-smoke-test/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.
#

from source_smoke_test.run import run


if __name__ == "__main__":
run()
37 changes: 37 additions & 0 deletions airbyte-integrations/connectors/source-smoke-test/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
data:
ab_internal:
ql: 100
sl: 100
allowedHosts:
hosts: []
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:4.0.2@sha256:9fdb1888c4264cf6fee473649ecb593f56f58e5d0096a87ee0b231777e2e3e73
connectorSubtype: api
connectorType: source
definitionId: 4eb59af1-e69b-4849-84f0-5d81cc5ce490
dockerImageTag: 0.1.0
dockerRepository: airbyte/source-smoke-test
documentationUrl: https://docs.airbyte.com/integrations/sources/smoke-test
githubIssueLabel: source-smoke-test
icon: icon.svg
license: ELv2
name: Smoke Test
registryOverrides:
oss:
enabled: true
cloud:
enabled: true
releaseStage: alpha
releases:
breakingChanges: {}
remoteRegistries:
pypi:
enabled: true
packageName: airbyte-source-smoke-test
supportLevel: community
tags:
- language:python
- cdk:python
connectorTestSuitesOptions:
- suite: unitTests
metadataSpecVersion: "1.0"
Loading
Loading