-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[source-monday] [source-square] [source-greenhouse] [source-tempo] [s…
…ource-zenloop] fix a few connectors with failing custom component unit tests + release some connectors w/ beta (#23231) * fix a few connectors with failing custom component unit tests * fix outdated expected records * make square orders stream incremental * Updated square SAT and delete custom extractor for monday. * Added allowedHosts * Delete DpathStringExtractor from init * Updated abnormal records * bump versions of greenhouse, tempo, woocommerce, and zenloop to use beta low code version * remove woocommerce because it's already published with beta * add allowedHosts for tempo and zenloop * fix abnormal state file to use created_at for some streams * auto-bump connector version * bump versions for square and monday * auto-bump connector version * auto-bump connector version * manually update square definition generation due to failure * auto-bump connector version --------- Co-authored-by: Serhii Lazebnyi <serhii.lazebnyi@globallogic.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
cfeabd3
commit 52f83d4
Showing
25 changed files
with
182 additions
and
1,577 deletions.
There are no files selected for viewing
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
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
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
5 changes: 3 additions & 2 deletions
5
airbyte-integrations/connectors/source-monday/integration_tests/expected_records.jsonl
Large diffs are not rendered by default.
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
53 changes: 0 additions & 53 deletions
53
airbyte-integrations/connectors/source-monday/source_monday/dpath_string_extractor.py
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
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
28 changes: 19 additions & 9 deletions
28
airbyte-integrations/connectors/source-square/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,32 +1,42 @@ | ||
connector_image: airbyte/source-square:dev | ||
tests: | ||
test_strictness_level: high | ||
acceptance_tests: | ||
spec: | ||
tests: | ||
- spec_path: "source_square/spec.yaml" | ||
connection: | ||
tests: | ||
- config_path: "secrets/config.json" | ||
status: "succeed" | ||
- config_path: "secrets/config_oauth.json" | ||
status: "succeed" | ||
- config_path: "integration_tests/invalid_config.json" | ||
status: "failed" | ||
discovery: | ||
tests: | ||
- config_path: "secrets/config.json" | ||
- config_path: "secrets/config_oauth.json" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: ["payments"] | ||
expect_records: | ||
path: "integration_tests/expected_records.jsonl" | ||
tests: | ||
- config_path: "secrets/config_oauth.json" | ||
configured_catalog_path: "integration_tests/configured_catalog_oauth.json" | ||
empty_streams: ["shifts", "orders", "payments", "refunds"] | ||
empty_streams: | ||
- name: shifts | ||
bypass_reason: "Not able to fill stream" | ||
- name: orders | ||
bypass_reason: "Not able to fill stream" | ||
- name: payments | ||
bypass_reason: "Not able to fill stream" | ||
- name: refunds | ||
bypass_reason: "Not able to fill stream" | ||
expect_records: | ||
path: "integration_tests/expected_records_oauth.jsonl" | ||
incremental: | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
future_state: | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
full_refresh: | ||
tests: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" |
67 changes: 51 additions & 16 deletions
67
airbyte-integrations/connectors/source-square/integration_tests/abnormal_state.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,23 +1,58 @@ | ||
{ | ||
"items": { | ||
"updated_at": "2200-01-01T00:00:00.0Z" | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "items" } | ||
} | ||
}, | ||
"categories": { | ||
"updated_at": "2200-01-01T00:00:00.0Z" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "categories" } | ||
} | ||
}, | ||
"discounts": { | ||
"updated_at": "2200-01-01T00:00:00.0Z" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "discounts" } | ||
} | ||
}, | ||
"taxes": { | ||
"updated_at": "2200-01-01T00:00:00.0Z" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "taxes" } | ||
} | ||
}, | ||
"modifier_list": { | ||
"updated_at": "2200-01-01T00:00:00.0Z" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "modifier_list" } | ||
} | ||
}, | ||
"refunds": { | ||
"created_at": "2200-01-01T00:00:00.0Z" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "created_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "refunds" } | ||
} | ||
}, | ||
"payments": { | ||
"created_at": "2200-01-01T00:00:00.0Z" | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "created_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "payments" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2200-01-01T00:00:00.0Z" }, | ||
"stream_descriptor": { "name": "orders" } | ||
} | ||
} | ||
} | ||
] |
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.