PyReverseETL 3.5.3__tar.gz → 3.6.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.
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/Cargo.lock +21 -11
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/PKG-INFO +12 -13
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/README.md +11 -12
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/Cargo.toml +1 -1
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/webhook.rs +53 -1
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/transformers/spark.rs +17 -15
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/pyproject.toml +1 -1
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/pyreverseetl/connectors.py +134 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/Cargo.toml +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/LICENSE +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/benches/load_test.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/bin/pyreverseetl_dashboard.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/activation.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/alert_compat.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/error.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/http_client.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/hubspot.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/mapping.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/marketo.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/oauth_manager.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/retry_policy.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/salesforce.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/schema_detect.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/adapters/squid.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/cdc/change_detector.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/cdc/changelog.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/cdc/checkpoint.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/cdc/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/config.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/connectors_db.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/database_advanced.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/destination.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/error.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/hdfs.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/mysql.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/object_storage.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/postgres.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/rate_limiting.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/registry.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/saas.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/source.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/connectors/web.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/destination.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/dlq.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/entity.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/error.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/executor.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/cached_gate.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/compliance_rules.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/credentials.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/quality_gate.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/retry_policy.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/schema_evolution.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/governance/statguardian_client.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/idempotency.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/lib.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/lineage.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/observability/dashboard_launcher.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/observability/logs.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/observability/metrics.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/observability/metrics_server.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/observability/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/observability/traces.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/pipeline/activation_pipeline.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/pipeline/backpressure.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/pipeline/latency_tracker.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/pipeline/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/sources/kafka.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/sources/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/sources/polling.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/sources/sync_config.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/statguardian.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/storage/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/storage/repository.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/storage/schema.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/streaming/event_processor.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/streaming/event_schema.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/streaming/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/streampdf.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/streamxl.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/sync.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/testing/connector_test.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/testing/harness.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/testing/metrics.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/testing/mock_http.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/testing/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/testing/test_data.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/transformers/mod.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/core/src/workflow.rs +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/Cargo.toml +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/pyreverseetl/__init__.py +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/pyreverseetl/cli.py +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/pyreverseetl/secure_state.py +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/pyreverseetl/server.py +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/pyreverseetl/singer.py +0 -0
- {pyreverseetl-3.5.3 → pyreverseetl-3.6.0}/python/src/lib.rs +0 -0
|
@@ -1299,9 +1299,9 @@ dependencies = [
|
|
|
1299
1299
|
|
|
1300
1300
|
[[package]]
|
|
1301
1301
|
name = "ctutils"
|
|
1302
|
-
version = "0.4.
|
|
1302
|
+
version = "0.4.5"
|
|
1303
1303
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1304
|
-
checksum = "
|
|
1304
|
+
checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
|
|
1305
1305
|
dependencies = [
|
|
1306
1306
|
"cmov",
|
|
1307
1307
|
]
|
|
@@ -2780,6 +2780,15 @@ version = "0.2.1"
|
|
|
2780
2780
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2781
2781
|
checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
|
|
2782
2782
|
|
|
2783
|
+
[[package]]
|
|
2784
|
+
name = "openssl-src"
|
|
2785
|
+
version = "300.6.1+3.6.3"
|
|
2786
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2787
|
+
checksum = "46eb8fb9fb3b61ce1c0f8a026c4c1a0714d3a9e138e7fbde78753ce2babc3846"
|
|
2788
|
+
dependencies = [
|
|
2789
|
+
"cc",
|
|
2790
|
+
]
|
|
2791
|
+
|
|
2783
2792
|
[[package]]
|
|
2784
2793
|
name = "openssl-sys"
|
|
2785
2794
|
version = "0.9.117"
|
|
@@ -2788,6 +2797,7 @@ checksum = "b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695"
|
|
|
2788
2797
|
dependencies = [
|
|
2789
2798
|
"cc",
|
|
2790
2799
|
"libc",
|
|
2800
|
+
"openssl-src",
|
|
2791
2801
|
"pkg-config",
|
|
2792
2802
|
"vcpkg",
|
|
2793
2803
|
]
|
|
@@ -3294,7 +3304,7 @@ dependencies = [
|
|
|
3294
3304
|
"once_cell",
|
|
3295
3305
|
"socket2",
|
|
3296
3306
|
"tracing",
|
|
3297
|
-
"windows-sys 0.
|
|
3307
|
+
"windows-sys 0.61.2",
|
|
3298
3308
|
]
|
|
3299
3309
|
|
|
3300
3310
|
[[package]]
|
|
@@ -3699,7 +3709,7 @@ dependencies = [
|
|
|
3699
3709
|
"security-framework",
|
|
3700
3710
|
"security-framework-sys",
|
|
3701
3711
|
"webpki-root-certs",
|
|
3702
|
-
"windows-sys 0.
|
|
3712
|
+
"windows-sys 0.61.2",
|
|
3703
3713
|
]
|
|
3704
3714
|
|
|
3705
3715
|
[[package]]
|
|
@@ -3710,9 +3720,9 @@ checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f"
|
|
|
3710
3720
|
|
|
3711
3721
|
[[package]]
|
|
3712
3722
|
name = "rustls-webpki"
|
|
3713
|
-
version = "0.103.
|
|
3723
|
+
version = "0.103.16"
|
|
3714
3724
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3715
|
-
checksum = "
|
|
3725
|
+
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
|
|
3716
3726
|
dependencies = [
|
|
3717
3727
|
"aws-lc-rs",
|
|
3718
3728
|
"ring",
|
|
@@ -5008,9 +5018,9 @@ dependencies = [
|
|
|
5008
5018
|
|
|
5009
5019
|
[[package]]
|
|
5010
5020
|
name = "webpki-root-certs"
|
|
5011
|
-
version = "1.0.
|
|
5021
|
+
version = "1.0.11"
|
|
5012
5022
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5013
|
-
checksum = "
|
|
5023
|
+
checksum = "e49d0e65abc00c142e8f9428da991da9f1a250c39be97459901eb12b9b49f62a"
|
|
5014
5024
|
dependencies = [
|
|
5015
5025
|
"rustls-pki-types",
|
|
5016
5026
|
]
|
|
@@ -5021,14 +5031,14 @@ version = "0.26.11"
|
|
|
5021
5031
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5022
5032
|
checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
|
|
5023
5033
|
dependencies = [
|
|
5024
|
-
"webpki-roots 1.0.
|
|
5034
|
+
"webpki-roots 1.0.11",
|
|
5025
5035
|
]
|
|
5026
5036
|
|
|
5027
5037
|
[[package]]
|
|
5028
5038
|
name = "webpki-roots"
|
|
5029
|
-
version = "1.0.
|
|
5039
|
+
version = "1.0.11"
|
|
5030
5040
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5031
|
-
checksum = "
|
|
5041
|
+
checksum = "f5f280bbb2b287bc8e7de7e3852945a0ff50d1bbcb5ed42b6c7a568c546df171"
|
|
5032
5042
|
dependencies = [
|
|
5033
5043
|
"rustls-pki-types",
|
|
5034
5044
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyReverseETL
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -35,8 +35,7 @@ Project-URL: Repository, https://github.com/Mullassery/PyReverseETL
|
|
|
35
35
|
[](LICENSE)
|
|
36
36
|
[](https://pypi.org/project/pyreverseetl/)
|
|
37
37
|
[](https://www.python.org)
|
|
38
|
-
[](https://github.com/Graphify-Labs/graphify)
|
|
38
|
+
[](../PyReverseETL/actions/workflows/ci.yml)
|
|
40
39
|
|
|
41
40
|
## What it is
|
|
42
41
|
|
|
@@ -135,7 +134,7 @@ and unit-tested but not yet exercised end-to-end against a live site; the CRM/ma
|
|
|
135
134
|
adapters are real but mock-verified only; several
|
|
136
135
|
modules from earlier work remain unwired and are called out as such above. For a blunt,
|
|
137
136
|
file-and-line-referenced list of what's tested vs. untested vs. broken vs. not built, see
|
|
138
|
-
[`ROADMAP_HONEST.md`](ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
137
|
+
[`docs/internal/ROADMAP_HONEST.md`](docs/internal/ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
139
138
|
|
|
140
139
|
## Installation
|
|
141
140
|
|
|
@@ -471,7 +470,7 @@ gate, not a full-table scan.
|
|
|
471
470
|
|
|
472
471
|
## Documentation
|
|
473
472
|
|
|
474
|
-
- [ROADMAP_HONEST.md](ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
|
|
473
|
+
- [docs/internal/ROADMAP_HONEST.md](docs/internal/ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
|
|
475
474
|
built, plus known technical debt.
|
|
476
475
|
- [docs/ROADMAP.md](docs/ROADMAP.md) — narrative roadmap.
|
|
477
476
|
- [CHANGELOG.md](CHANGELOG.md) — release history.
|
|
@@ -488,7 +487,7 @@ gate, not a full-table scan.
|
|
|
488
487
|
**Rejected / deferred:**
|
|
489
488
|
- Spark transforms and streaming CDC now — outside the proven sync path.
|
|
490
489
|
|
|
491
|
-
Full shipped/blocked/rejected detail: [`QUEUE_STATUS.md`](QUEUE_STATUS.md).
|
|
490
|
+
Full shipped/blocked/rejected detail: [`docs/internal/QUEUE_STATUS.md`](docs/internal/QUEUE_STATUS.md).
|
|
492
491
|
|
|
493
492
|
## Contributing
|
|
494
493
|
|
|
@@ -527,14 +526,14 @@ PYREVERSEETL_TEST_MINIO_ENDPOINT=http://localhost:9000 \
|
|
|
527
526
|
|
|
528
527
|
Other tools from the same family, for adjacent parts of the data platform:
|
|
529
528
|
|
|
530
|
-
- [StatGuardian](
|
|
531
|
-
- [PyDBTGuard](
|
|
532
|
-
- [PyAirflowTester](
|
|
533
|
-
- [PyBeamGuard](
|
|
534
|
-
- [ClusterAudienceKit](
|
|
535
|
-
- [PyWeatherEnriched](
|
|
529
|
+
- [StatGuardian](../StatGuardian) — fast, declarative data quality framework (Rust): schema validation, drift detection, anomaly detection.
|
|
530
|
+
- [PyDBTGuard](../PyDBTGuard) — analyzes a dbt project's `manifest.json` to flag risky tests, map blast radius, and estimate test cost from static metadata.
|
|
531
|
+
- [PyAirflowTester](../PyAirflowTester) — dependency intelligence and quality assurance for Airflow and dbt pipelines.
|
|
532
|
+
- [PyBeamGuard](../PyBeamGuard) — Apache Beam and Dataflow pipeline analysis for pre-deployment validation, cost forecasting, hot-key detection, and reliability.
|
|
533
|
+
- [ClusterAudienceKit](../ClusterAudienceKit) — Rust-powered customer segmentation: RFM, clustering, churn, CLV, and lookalike audiences.
|
|
534
|
+
- [PyWeatherEnriched](../PyWeatherEnriched) — real historical weather and geocoding enrichment for ML pipelines.
|
|
536
535
|
|
|
537
|
-
[Browse all projects →](
|
|
536
|
+
[Browse all projects →](../Mullassery-profile)
|
|
538
537
|
|
|
539
538
|
## License
|
|
540
539
|
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
[](https://pypi.org/project/pyreverseetl/)
|
|
7
7
|
[](https://www.python.org)
|
|
8
|
-
[](https://github.com/Graphify-Labs/graphify)
|
|
8
|
+
[](../PyReverseETL/actions/workflows/ci.yml)
|
|
10
9
|
|
|
11
10
|
## What it is
|
|
12
11
|
|
|
@@ -105,7 +104,7 @@ and unit-tested but not yet exercised end-to-end against a live site; the CRM/ma
|
|
|
105
104
|
adapters are real but mock-verified only; several
|
|
106
105
|
modules from earlier work remain unwired and are called out as such above. For a blunt,
|
|
107
106
|
file-and-line-referenced list of what's tested vs. untested vs. broken vs. not built, see
|
|
108
|
-
[`ROADMAP_HONEST.md`](ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
107
|
+
[`docs/internal/ROADMAP_HONEST.md`](docs/internal/ROADMAP_HONEST.md). Changes are tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
109
108
|
|
|
110
109
|
## Installation
|
|
111
110
|
|
|
@@ -441,7 +440,7 @@ gate, not a full-table scan.
|
|
|
441
440
|
|
|
442
441
|
## Documentation
|
|
443
442
|
|
|
444
|
-
- [ROADMAP_HONEST.md](ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
|
|
443
|
+
- [docs/internal/ROADMAP_HONEST.md](docs/internal/ROADMAP_HONEST.md) — what's tested vs. untested vs. broken vs. not
|
|
445
444
|
built, plus known technical debt.
|
|
446
445
|
- [docs/ROADMAP.md](docs/ROADMAP.md) — narrative roadmap.
|
|
447
446
|
- [CHANGELOG.md](CHANGELOG.md) — release history.
|
|
@@ -458,7 +457,7 @@ gate, not a full-table scan.
|
|
|
458
457
|
**Rejected / deferred:**
|
|
459
458
|
- Spark transforms and streaming CDC now — outside the proven sync path.
|
|
460
459
|
|
|
461
|
-
Full shipped/blocked/rejected detail: [`QUEUE_STATUS.md`](QUEUE_STATUS.md).
|
|
460
|
+
Full shipped/blocked/rejected detail: [`docs/internal/QUEUE_STATUS.md`](docs/internal/QUEUE_STATUS.md).
|
|
462
461
|
|
|
463
462
|
## Contributing
|
|
464
463
|
|
|
@@ -497,14 +496,14 @@ PYREVERSEETL_TEST_MINIO_ENDPOINT=http://localhost:9000 \
|
|
|
497
496
|
|
|
498
497
|
Other tools from the same family, for adjacent parts of the data platform:
|
|
499
498
|
|
|
500
|
-
- [StatGuardian](
|
|
501
|
-
- [PyDBTGuard](
|
|
502
|
-
- [PyAirflowTester](
|
|
503
|
-
- [PyBeamGuard](
|
|
504
|
-
- [ClusterAudienceKit](
|
|
505
|
-
- [PyWeatherEnriched](
|
|
499
|
+
- [StatGuardian](../StatGuardian) — fast, declarative data quality framework (Rust): schema validation, drift detection, anomaly detection.
|
|
500
|
+
- [PyDBTGuard](../PyDBTGuard) — analyzes a dbt project's `manifest.json` to flag risky tests, map blast radius, and estimate test cost from static metadata.
|
|
501
|
+
- [PyAirflowTester](../PyAirflowTester) — dependency intelligence and quality assurance for Airflow and dbt pipelines.
|
|
502
|
+
- [PyBeamGuard](../PyBeamGuard) — Apache Beam and Dataflow pipeline analysis for pre-deployment validation, cost forecasting, hot-key detection, and reliability.
|
|
503
|
+
- [ClusterAudienceKit](../ClusterAudienceKit) — Rust-powered customer segmentation: RFM, clustering, churn, CLV, and lookalike audiences.
|
|
504
|
+
- [PyWeatherEnriched](../PyWeatherEnriched) — real historical weather and geocoding enrichment for ML pipelines.
|
|
506
505
|
|
|
507
|
-
[Browse all projects →](
|
|
506
|
+
[Browse all projects →](../Mullassery-profile)
|
|
508
507
|
|
|
509
508
|
## License
|
|
510
509
|
|
|
@@ -30,7 +30,7 @@ backoff = { version = "0.4", features = ["tokio"] }
|
|
|
30
30
|
# StatGuardian integration (HTTP API client)
|
|
31
31
|
opentelemetry = "0.22"
|
|
32
32
|
opentelemetry-http = "0.11"
|
|
33
|
-
rdkafka = { version = "0.36", features = ["cmake-build", "ssl", "gssapi", "libz"] }
|
|
33
|
+
rdkafka = { version = "0.36", features = ["cmake-build", "ssl-vendored", "gssapi", "libz"] }
|
|
34
34
|
# Real database connectors (PostgreSQL / MySQL)
|
|
35
35
|
# sqlx 0.8 is required to clear the RUSTSEC-2024-0363 advisory on 0.7.4 and to
|
|
36
36
|
# drop the rustls 0.21.x transitive dependency (pulled via tokio-rustls 0.24).
|
|
@@ -42,7 +42,23 @@ impl WebhookAdapter {
|
|
|
42
42
|
.and_then(|v| v.as_u64())
|
|
43
43
|
.unwrap_or(30);
|
|
44
44
|
|
|
45
|
-
let headers = Self::build_headers(&auth);
|
|
45
|
+
let mut headers = Self::build_headers(&auth);
|
|
46
|
+
|
|
47
|
+
// Caller-supplied static headers merge over the auth headers. This is
|
|
48
|
+
// how a producer (e.g. Voxora Studio) passes a precomputed HMAC
|
|
49
|
+
// signature (`x-voxora-signature`) so replays carry a byte-identical
|
|
50
|
+
// signature while the signing secret stays producer-side.
|
|
51
|
+
if let Some(extra) = config.get("extra_headers").and_then(|v| v.as_object()) {
|
|
52
|
+
for (key, value) in extra {
|
|
53
|
+
if let Some(value_str) = value.as_str() {
|
|
54
|
+
headers.insert(key.clone(), value_str.to_string());
|
|
55
|
+
} else {
|
|
56
|
+
return Err(AdapterError::InvalidConfiguration(format!(
|
|
57
|
+
"extra_headers value for '{key}' must be a string"
|
|
58
|
+
)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
46
62
|
|
|
47
63
|
let client = reqwest::blocking::Client::builder()
|
|
48
64
|
.timeout(Duration::from_secs(timeout_secs))
|
|
@@ -450,6 +466,42 @@ mod tests {
|
|
|
450
466
|
assert_eq!(body["id"], json!("cust_9"));
|
|
451
467
|
}
|
|
452
468
|
|
|
469
|
+
#[test]
|
|
470
|
+
fn extra_headers_are_sent_verbatim_for_signed_replay() {
|
|
471
|
+
let server = MockHttpServer::start(200, r#"{"ok":true}"#);
|
|
472
|
+
let mut config = HashMap::new();
|
|
473
|
+
config.insert("url".to_string(), json!(server.base_url.clone()));
|
|
474
|
+
config.insert(
|
|
475
|
+
"extra_headers".to_string(),
|
|
476
|
+
json!({"x-voxora-signature": "v1=deadbeef", "x-trace": "evt_1"}),
|
|
477
|
+
);
|
|
478
|
+
let adapter = WebhookAdapter::new(&config, AuthMethod::Bearer { token: "t".to_string() }).unwrap();
|
|
479
|
+
|
|
480
|
+
let entity = Entity::new(crate::entity::EntityType::Customer, "id", "cust_2")
|
|
481
|
+
.add_attribute("body", json!("signed-at-enqueue-time"));
|
|
482
|
+
let result = adapter.upsert(&entity, &[]).unwrap();
|
|
483
|
+
assert!(result.success, "{:?}", result.error_message);
|
|
484
|
+
|
|
485
|
+
let req = server.last_request().unwrap();
|
|
486
|
+
assert_eq!(
|
|
487
|
+
req.headers.get("x-voxora-signature"),
|
|
488
|
+
Some(&"v1=deadbeef".to_string())
|
|
489
|
+
);
|
|
490
|
+
assert_eq!(req.headers.get("x-trace"), Some(&"evt_1".to_string()));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
#[test]
|
|
494
|
+
fn extra_headers_reject_non_string_values() {
|
|
495
|
+
let mut config = HashMap::new();
|
|
496
|
+
config.insert("url".to_string(), json!("https://example.com/webhook"));
|
|
497
|
+
config.insert(
|
|
498
|
+
"extra_headers".to_string(),
|
|
499
|
+
json!({"x-bad": 42}),
|
|
500
|
+
);
|
|
501
|
+
let result = WebhookAdapter::new(&config, AuthMethod::Bearer { token: "t".to_string() });
|
|
502
|
+
assert!(result.is_err());
|
|
503
|
+
}
|
|
504
|
+
|
|
453
505
|
#[test]
|
|
454
506
|
fn upsert_surfaces_real_http_error_status_as_a_failed_result() {
|
|
455
507
|
let server = MockHttpServer::start(401, r#"{"error":"unauthorized"}"#);
|
|
@@ -208,7 +208,10 @@ impl SparkTransformer {
|
|
|
208
208
|
/// (1000 processed / 950 output) regardless of `self.config` -- do not
|
|
209
209
|
/// treat its `SparkJobResult` as real job telemetry.
|
|
210
210
|
pub async fn submit(&self) -> crate::Result<SparkJobResult> {
|
|
211
|
-
|
|
211
|
+
Err(crate::Error::Internal(
|
|
212
|
+
"Spark cluster submission is not implemented; no spark-submit/Spark cluster integration exists yet. Use build_spark_submit_command() to inspect the intended command, and execute_local() only for local simulation/tests."
|
|
213
|
+
.to_string(),
|
|
214
|
+
))
|
|
212
215
|
}
|
|
213
216
|
|
|
214
217
|
/// Get Spark configuration
|
|
@@ -356,16 +359,10 @@ impl super::Transformer for SparkTransformer {
|
|
|
356
359
|
}
|
|
357
360
|
|
|
358
361
|
fn execute(&self) -> crate::Result<super::TransformationResult> {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
records_processed: result.records_processed,
|
|
364
|
-
records_output: result.records_output,
|
|
365
|
-
error: result.error_message,
|
|
366
|
-
execution_time_ms: result.execution_time_ms,
|
|
367
|
-
output_topic: self.config.output_topic.clone(),
|
|
368
|
-
})
|
|
362
|
+
Err(crate::Error::Internal(
|
|
363
|
+
"Spark transformation is not wired into the sync path; no Spark cluster integration exists yet."
|
|
364
|
+
.to_string(),
|
|
365
|
+
))
|
|
369
366
|
}
|
|
370
367
|
|
|
371
368
|
fn validate(&self) -> crate::Result<()> {
|
|
@@ -520,17 +517,22 @@ mod tests {
|
|
|
520
517
|
}
|
|
521
518
|
|
|
522
519
|
#[test]
|
|
523
|
-
fn
|
|
520
|
+
fn test_spark_transformer_trait_execute_is_an_explicit_error() {
|
|
524
521
|
let config = SparkConfig {
|
|
525
522
|
script: "transform.py".to_string(),
|
|
526
523
|
..Default::default()
|
|
527
524
|
};
|
|
528
525
|
|
|
529
526
|
let transformer = SparkTransformer::new(config);
|
|
530
|
-
let
|
|
527
|
+
let error = transformer.execute().unwrap_err();
|
|
528
|
+
assert!(error.to_string().contains("not wired into the sync path"));
|
|
529
|
+
}
|
|
531
530
|
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
#[tokio::test]
|
|
532
|
+
async fn test_spark_submit_is_an_explicit_error() {
|
|
533
|
+
let transformer = SparkTransformer::new(SparkConfig::default());
|
|
534
|
+
let error = transformer.submit().await.unwrap_err();
|
|
535
|
+
assert!(error.to_string().contains("not implemented"));
|
|
534
536
|
}
|
|
535
537
|
|
|
536
538
|
#[test]
|
|
@@ -34,6 +34,8 @@ import json
|
|
|
34
34
|
import re
|
|
35
35
|
import sqlite3
|
|
36
36
|
import time
|
|
37
|
+
import urllib.error
|
|
38
|
+
import urllib.request
|
|
37
39
|
import uuid
|
|
38
40
|
from abc import ABC, abstractmethod
|
|
39
41
|
from collections.abc import Iterable, Iterator, Mapping, Sequence
|
|
@@ -838,6 +840,137 @@ def run_with_connector(
|
|
|
838
840
|
)
|
|
839
841
|
|
|
840
842
|
|
|
843
|
+
class WebhookConnector(BaseConnector):
|
|
844
|
+
"""Real-HTTP webhook destination for the Python plugin path.
|
|
845
|
+
|
|
846
|
+
Delivers each record as one real HTTP request (stdlib ``urllib``; no extra
|
|
847
|
+
dependency). Retries transient failures (connection errors, timeouts,
|
|
848
|
+
429/5xx) with bounded exponential backoff, honoring a ``Retry-After``
|
|
849
|
+
header when the server sends one.
|
|
850
|
+
|
|
851
|
+
Config keys:
|
|
852
|
+
|
|
853
|
+
* ``url`` (required) — destination URL.
|
|
854
|
+
* ``method`` — HTTP method, default ``POST``.
|
|
855
|
+
* ``timeout_secs`` — per-request timeout, default 10.
|
|
856
|
+
* ``max_attempts`` — delivery attempts per record, default 3.
|
|
857
|
+
* ``retry_base_delay`` — seconds, exponential (``base * 2**attempt``),
|
|
858
|
+
default 0.5.
|
|
859
|
+
* ``signature_header`` + ``signature_field`` — send the per-record value
|
|
860
|
+
of ``signature_field`` as a request header named ``signature_header``.
|
|
861
|
+
This is how a producer (e.g. Voxora Studio) passes a precomputed HMAC
|
|
862
|
+
signature so every retry/replay carries a byte-identical signature
|
|
863
|
+
while the signing secret stays producer-side. Both keys must be set
|
|
864
|
+
together.
|
|
865
|
+
* ``body_field`` — when set, the record's value under this key is sent as
|
|
866
|
+
the exact request body bytes (never re-serialized); the whole record is
|
|
867
|
+
JSON-serialized otherwise.
|
|
868
|
+
* ``dead_letter_path`` — when set, records that exhaust their attempts are
|
|
869
|
+
appended to this JSONL file (record, error, attempts, timestamp) so a
|
|
870
|
+
terminal failure is inspectable and re-drivable instead of lost.
|
|
871
|
+
|
|
872
|
+
``write`` returns the true number of records actually delivered (2xx).
|
|
873
|
+
Terminal failures are dead-lettered, never fabricated as success; the
|
|
874
|
+
caller compares ``rows_read`` against ``rows_written`` to detect them.
|
|
875
|
+
"""
|
|
876
|
+
|
|
877
|
+
name = "webhook"
|
|
878
|
+
|
|
879
|
+
def test_connection(self, config: Mapping[str, Any]) -> bool:
|
|
880
|
+
_ = self._url(config)
|
|
881
|
+
return True
|
|
882
|
+
|
|
883
|
+
def _url(self, config: Mapping[str, Any]) -> str:
|
|
884
|
+
url = str(config.get("url") or "").strip()
|
|
885
|
+
if not url:
|
|
886
|
+
raise ConnectorError("webhook connector requires a 'url' in config")
|
|
887
|
+
return url
|
|
888
|
+
|
|
889
|
+
def read(self, config: Mapping[str, Any], limit: int | None = None) -> list[dict[str, Any]]:
|
|
890
|
+
raise ConnectorError(
|
|
891
|
+
"webhook connector is a destination; it does not support read()"
|
|
892
|
+
)
|
|
893
|
+
|
|
894
|
+
def write(self, config: Mapping[str, Any], rows: Sequence[Mapping[str, Any]]) -> int:
|
|
895
|
+
url = self._url(config)
|
|
896
|
+
method = str(config.get("method") or "POST").upper()
|
|
897
|
+
timeout_secs = float(config.get("timeout_secs", 10))
|
|
898
|
+
max_attempts = max(1, int(config.get("max_attempts", 3)))
|
|
899
|
+
retry_base_delay = float(config.get("retry_base_delay", 0.5))
|
|
900
|
+
signature_header = config.get("signature_header")
|
|
901
|
+
signature_field = config.get("signature_field")
|
|
902
|
+
body_field = config.get("body_field")
|
|
903
|
+
dead_letter_path = config.get("dead_letter_path")
|
|
904
|
+
if bool(signature_header) != bool(signature_field):
|
|
905
|
+
raise ConnectorError(
|
|
906
|
+
"webhook connector requires signature_header and signature_field together"
|
|
907
|
+
)
|
|
908
|
+
|
|
909
|
+
written = 0
|
|
910
|
+
for row in rows:
|
|
911
|
+
if body_field is not None:
|
|
912
|
+
if body_field not in row:
|
|
913
|
+
raise ConnectorError(f"record is missing body field {body_field!r}")
|
|
914
|
+
body = str(row[body_field]).encode("utf-8")
|
|
915
|
+
else:
|
|
916
|
+
body = json.dumps(dict(row), sort_keys=True).encode("utf-8")
|
|
917
|
+
headers = {"Content-Type": "application/json"}
|
|
918
|
+
if signature_header is not None:
|
|
919
|
+
if signature_field not in row: # type: ignore[operator]
|
|
920
|
+
raise ConnectorError(
|
|
921
|
+
f"record is missing signature field {signature_field!r}"
|
|
922
|
+
)
|
|
923
|
+
headers[str(signature_header)] = str(row[signature_field]) # type: ignore[operator]
|
|
924
|
+
error_detail = ""
|
|
925
|
+
for attempt in range(max_attempts):
|
|
926
|
+
try:
|
|
927
|
+
request = urllib.request.Request(url, data=body, headers=headers, method=method)
|
|
928
|
+
with urllib.request.urlopen(request, timeout=timeout_secs) as response:
|
|
929
|
+
status = int(getattr(response, "status", 0) or 0)
|
|
930
|
+
if 200 <= status < 300:
|
|
931
|
+
written += 1
|
|
932
|
+
error_detail = ""
|
|
933
|
+
break
|
|
934
|
+
error_detail = f"http_{status}"
|
|
935
|
+
except urllib.error.HTTPError as error:
|
|
936
|
+
error_detail = f"http_{error.code}"
|
|
937
|
+
if error.code not in (429, 500, 502, 503, 504):
|
|
938
|
+
break # non-retryable client error
|
|
939
|
+
retry_after = error.headers.get("Retry-After") if error.headers else None
|
|
940
|
+
except Exception as error: # noqa: BLE001 - transport errors are retryable
|
|
941
|
+
error_detail = f"{type(error).__name__}: {error}"[:300]
|
|
942
|
+
retry_after = None
|
|
943
|
+
if attempt < max_attempts - 1:
|
|
944
|
+
delay = retry_base_delay * (2**attempt)
|
|
945
|
+
if retry_after:
|
|
946
|
+
try:
|
|
947
|
+
delay = max(delay, float(retry_after))
|
|
948
|
+
except ValueError:
|
|
949
|
+
pass
|
|
950
|
+
time.sleep(delay)
|
|
951
|
+
else:
|
|
952
|
+
self._dead_letter(
|
|
953
|
+
dead_letter_path, url=url, row=row, error=error_detail, attempts=max_attempts
|
|
954
|
+
)
|
|
955
|
+
return written
|
|
956
|
+
|
|
957
|
+
@staticmethod
|
|
958
|
+
def _dead_letter(
|
|
959
|
+
path: Any, *, url: str, row: Mapping[str, Any], error: str, attempts: int
|
|
960
|
+
) -> None:
|
|
961
|
+
if not path:
|
|
962
|
+
return
|
|
963
|
+
entry = {
|
|
964
|
+
"at": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
|
|
965
|
+
"url": url,
|
|
966
|
+
"error": error,
|
|
967
|
+
"attempts": attempts,
|
|
968
|
+
"record": dict(row),
|
|
969
|
+
}
|
|
970
|
+
with open(path, "a", encoding="utf-8") as handle:
|
|
971
|
+
handle.write(json.dumps(entry, sort_keys=True, default=str) + "\n")
|
|
972
|
+
|
|
973
|
+
|
|
841
974
|
__all__ = [
|
|
842
975
|
"ENTRY_POINT_GROUP",
|
|
843
976
|
"BaseConnector",
|
|
@@ -846,6 +979,7 @@ __all__ = [
|
|
|
846
979
|
"DuckDBConnector",
|
|
847
980
|
"PostgresConnector",
|
|
848
981
|
"SQLiteConnector",
|
|
982
|
+
"WebhookConnector",
|
|
849
983
|
"available_connectors",
|
|
850
984
|
"get_connector",
|
|
851
985
|
"register_connector",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|