airbyte-source-smoke-test 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: airbyte-source-smoke-test
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Smoke test source for destination regression testing, backed by PyAirbyte.
|
|
5
|
+
Home-page: https://airbyte.com
|
|
6
|
+
License: ELv2
|
|
7
|
+
Author: Airbyte
|
|
8
|
+
Author-email: contact@airbyte.io
|
|
9
|
+
Requires-Python: >=3.10,<3.13
|
|
10
|
+
Classifier: License :: Other/Proprietary License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Dist: airbyte (>=0.41.0)
|
|
16
|
+
Requires-Dist: airbyte-cdk (>=6.0.0)
|
|
17
|
+
Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/smoke-test
|
|
18
|
+
Project-URL: Repository, https://github.com/airbytehq/airbyte
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# Source Smoke Test
|
|
22
|
+
|
|
23
|
+
Smoke test source for destination regression testing. Generates synthetic data
|
|
24
|
+
across predefined scenarios that cover common destination failure patterns:
|
|
25
|
+
type variations, null handling, naming edge cases, schema variations, and
|
|
26
|
+
batch size variations.
|
|
27
|
+
|
|
28
|
+
This connector is a thin wrapper around
|
|
29
|
+
[PyAirbyte's smoke test source](https://github.com/airbytehq/PyAirbyte).
|
|
30
|
+
All business logic lives in the `airbyte.cli.smoke_test_source` module of PyAirbyte.
|
|
31
|
+
|
|
32
|
+
## Local Development
|
|
33
|
+
|
|
34
|
+
### Prerequisites
|
|
35
|
+
|
|
36
|
+
- Python 3.10+
|
|
37
|
+
- Poetry
|
|
38
|
+
|
|
39
|
+
### Install Dependencies
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
cd airbyte-integrations/connectors/source-smoke-test
|
|
43
|
+
poetry install
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Run the Connector
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Print the spec
|
|
50
|
+
poetry run source-smoke-test spec
|
|
51
|
+
|
|
52
|
+
# Check the connection
|
|
53
|
+
poetry run source-smoke-test check --config secrets/config.json
|
|
54
|
+
|
|
55
|
+
# Discover the catalog
|
|
56
|
+
poetry run source-smoke-test discover --config secrets/config.json
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
For general connector development guidance, see the
|
|
60
|
+
[Connector Development Guide](https://docs.airbyte.com/connector-development/).
|
|
61
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Source Smoke Test
|
|
2
|
+
|
|
3
|
+
Smoke test source for destination regression testing. Generates synthetic data
|
|
4
|
+
across predefined scenarios that cover common destination failure patterns:
|
|
5
|
+
type variations, null handling, naming edge cases, schema variations, and
|
|
6
|
+
batch size variations.
|
|
7
|
+
|
|
8
|
+
This connector is a thin wrapper around
|
|
9
|
+
[PyAirbyte's smoke test source](https://github.com/airbytehq/PyAirbyte).
|
|
10
|
+
All business logic lives in the `airbyte.cli.smoke_test_source` module of PyAirbyte.
|
|
11
|
+
|
|
12
|
+
## Local Development
|
|
13
|
+
|
|
14
|
+
### Prerequisites
|
|
15
|
+
|
|
16
|
+
- Python 3.10+
|
|
17
|
+
- Poetry
|
|
18
|
+
|
|
19
|
+
### Install Dependencies
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
cd airbyte-integrations/connectors/source-smoke-test
|
|
23
|
+
poetry install
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Run the Connector
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# Print the spec
|
|
30
|
+
poetry run source-smoke-test spec
|
|
31
|
+
|
|
32
|
+
# Check the connection
|
|
33
|
+
poetry run source-smoke-test check --config secrets/config.json
|
|
34
|
+
|
|
35
|
+
# Discover the catalog
|
|
36
|
+
poetry run source-smoke-test discover --config secrets/config.json
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
For general connector development guidance, see the
|
|
40
|
+
[Connector Development Guide](https://docs.airbyte.com/connector-development/).
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["poetry-core>=1.0.0"]
|
|
3
|
+
build-backend = "poetry.core.masonry.api"
|
|
4
|
+
|
|
5
|
+
[tool.poetry]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
name = "airbyte-source-smoke-test"
|
|
8
|
+
description = "Smoke test source for destination regression testing, backed by PyAirbyte."
|
|
9
|
+
authors = ["Airbyte <contact@airbyte.io>"]
|
|
10
|
+
license = "ELv2"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
documentation = "https://docs.airbyte.com/integrations/sources/smoke-test"
|
|
13
|
+
homepage = "https://airbyte.com"
|
|
14
|
+
repository = "https://github.com/airbytehq/airbyte"
|
|
15
|
+
|
|
16
|
+
[[tool.poetry.packages]]
|
|
17
|
+
include = "source_smoke_test"
|
|
18
|
+
|
|
19
|
+
[tool.poetry.dependencies]
|
|
20
|
+
python = ">=3.10,<3.13"
|
|
21
|
+
airbyte = ">=0.41.0"
|
|
22
|
+
airbyte-cdk = ">=6.0.0"
|
|
23
|
+
|
|
24
|
+
[tool.poetry.group.dev.dependencies]
|
|
25
|
+
pytest = ">=8.0.0"
|
|
26
|
+
|
|
27
|
+
[tool.poetry.scripts]
|
|
28
|
+
source-smoke-test = "source_smoke_test.run:run"
|
|
29
|
+
|
|
30
|
+
[tool.poe]
|
|
31
|
+
include = [
|
|
32
|
+
"${POE_GIT_DIR}/poe-tasks/poetry-connector-tasks.toml",
|
|
33
|
+
]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Copyright (c) 2024 Airbyte, Inc., all rights reserved.
|
|
2
|
+
"""Entry point for source-smoke-test.
|
|
3
|
+
|
|
4
|
+
Delegates to the PyAirbyte CLI smoke test source implementation.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
from airbyte.cli.smoke_test_source.source import SourceSmokeTest
|
|
10
|
+
from airbyte_cdk.entrypoint import launch
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def run() -> None:
|
|
14
|
+
"""Run the smoke test source connector."""
|
|
15
|
+
launch(SourceSmokeTest(), sys.argv[1:])
|