-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨Source RD Station Marketing: migrate to low-code (#40216)
- Loading branch information
1 parent
9b19d90
commit ccb2309
Showing
34 changed files
with
1,438 additions
and
1,030 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
airbyte-integrations/connectors/source-rd-station-marketing/.dockerignore
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 33 additions & 14 deletions
47
airbyte-integrations/connectors/source-rd-station-marketing/acceptance-test-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,41 @@ | ||
# See [Connector Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/connector-acceptance-tests-reference) | ||
# for more information about how to configure these tests | ||
connector_image: airbyte/source-rd-station-marketing:dev | ||
tests: | ||
acceptance_tests: | ||
spec: | ||
- spec_path: "source_rd_station_marketing/spec.json" | ||
tests: | ||
- spec_path: "source_rd_station_marketing/spec.yaml" | ||
connection: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
tests: | ||
- config_path: "secrets/config.json" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: [] | ||
timeout_seconds: 3600 | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: | ||
- name: analytics_conversions | ||
bypass_reason: "Trial account doesn't have access to this stream (Gives a 401 FORBIDDEN Error)" | ||
- name: analytic_emails | ||
bypass_reason: "Trial account doesn't have access to this stream (Gives a 401 FORBIDDEN Error)" | ||
- name: analytics_funnel | ||
bypass_reason: "Trial account doesn't have access to this stream (Gives a 401 FORBIDDEN Error)" | ||
- name: analytics_workflow_emails_statistics | ||
bypass_reason: "Trial account doesn't have access to this stream (Gives a 401 FORBIDDEN Error)" | ||
- name: embeddables | ||
bypass_reason: "No data in trial account for this stream" | ||
- name: popups | ||
bypass_reason: "No data in trial account for this stream" | ||
- name: workflows | ||
bypass_reason: "No data in trial account for this stream" | ||
timeout_seconds: 3600 | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
timeout_seconds: 3600 | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
timeout_seconds: 3600 |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-rd-station-marketing/integration_tests/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# | ||
# Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
# Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
# |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-rd-station-marketing/integration_tests/acceptance.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 94 additions & 9 deletions
103
...grations/connectors/source-rd-station-marketing/integration_tests/configured_catalog.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,122 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "analytics_conversions", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["asset_updated_at"], | ||
"source_defined_primary_key": [["asset_id"]] | ||
}, | ||
"sync_mode": "incremental", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "analytic_emails", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["send_at"], | ||
"source_defined_primary_key": [["campaign_id"]] | ||
}, | ||
"sync_mode": "incremental", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "analytics_funnel", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["reference_day"], | ||
"source_defined_primary_key": [["reference_day"]] | ||
}, | ||
"sync_mode": "incremental", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "analytics_workflow_emails_statistics", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["updated_at"], | ||
"source_defined_primary_key": [["workflow_id"]] | ||
}, | ||
"sync_mode": "incremental", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "emails", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["update_time"] | ||
"source_defined_primary_key": [["id"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "append" | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "embeddables", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_primary_key": [["id"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "fields", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_primary_key": [["uuid"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "landing_pages", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["update_time"] | ||
"source_defined_primary_key": [["id"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "append" | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "popups", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_primary_key": [["id"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "segmentations", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["update_time"] | ||
"source_defined_primary_key": [["id"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "workflows", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"], | ||
"source_defined_primary_key": [["id"]] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "append" | ||
"destination_sync_mode": "overwrite" | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-rd-station-marketing/main.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-rd-station-marketing/poetry.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
airbyte-integrations/connectors/source-rd-station-marketing/requirements.txt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...tegrations/connectors/source-rd-station-marketing/source_rd_station_marketing/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.