-
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 Salesloft: certify to beta (#23937)
* #19217 Source Salesloft: certify to beta * #19217 source salesloft: update docs * #19217 source salesloft: upd changelog * #19217 source salesloft: upd expected records * #19217 source salesloft: upd expected records * #19217 source salesloft: upd expected records * #19217 source salesloft: upd CAT config * #19217 source salesloft: fix CAT config * #19217 source salesloft: remove advanced_oauth * Automated Change * auto-bump connector version --------- Co-authored-by: davydov-d <davydov-d@users.noreply.github.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
90770e4
commit 69d3d9c
Showing
24 changed files
with
1,290 additions
and
367 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
73 changes: 46 additions & 27 deletions
73
airbyte-integrations/connectors/source-salesloft/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,30 +1,49 @@ | ||
# See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) | ||
# for more information about how to configure these tests | ||
connector_image: airbyte/source-salesloft:dev | ||
tests: | ||
spec: | ||
- spec_path: "source_salesloft/spec.json" | ||
acceptance_tests: | ||
basic_read: | ||
tests: | ||
- config_path: secrets/config.json | ||
expect_records: | ||
path: integration_tests/expected_records.jsonl | ||
ignored_fields: | ||
people: | ||
- name: locale_utc_offset | ||
bypass_reason: volatile data | ||
users: | ||
- name: locale_utc_offset | ||
bypass_reason: volatile data | ||
- config_path: secrets/config_oauth.json | ||
expect_records: | ||
path: integration_tests/expected_records.jsonl | ||
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: secrets/config_oauth.json | ||
status: succeed | ||
- config_path: integration_tests/invalid_config.json | ||
status: failed | ||
discovery: | ||
- config_path: "secrets/config.json" | ||
basic_read: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
empty_streams: [] | ||
# TODO uncomment this block to specify that the tests should assert the connector outputs the records provided in the input file a file | ||
# expect_records: | ||
# path: "integration_tests/expected_records.jsonl" | ||
# extra_fields: no | ||
# exact_order: no | ||
# extra_records: yes | ||
incremental: # TODO if your connector does not implement incremental sync, remove this block | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
future_state_path: "integration_tests/abnormal_state.json" | ||
tests: | ||
- config_path: secrets/config.json | ||
backward_compatibility_tests_config: | ||
disable_for_version: "0.1.6" | ||
- config_path: secrets/config_oauth.json | ||
backward_compatibility_tests_config: | ||
disable_for_version: "0.1.6" | ||
full_refresh: | ||
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
tests: | ||
- config_path: secrets/config.json | ||
configured_catalog_path: integration_tests/configured_catalog.json | ||
incremental: | ||
tests: | ||
- config_path: secrets/config.json | ||
configured_catalog_path: integration_tests/incremental_catalog.json | ||
future_state: | ||
future_state_path: integration_tests/abnormal_state.json | ||
spec: | ||
tests: | ||
- spec_path: source_salesloft/spec.json | ||
backward_compatibility_tests_config: | ||
disable_for_version: "0.1.6" | ||
connector_image: airbyte/source-salesloft:dev | ||
test_strictness_level: high |
99 changes: 93 additions & 6 deletions
99
airbyte-integrations/connectors/source-salesloft/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,6 +1,93 @@ | ||
{ | ||
"cadence_memberships": { "updated_at": "2040-11-16T00:00:00Z" }, | ||
"cadences": { "updated_at": "2040-02-16T00:00:00Z" }, | ||
"people": { "updated_at": "2040-04-16T00:00:00Z" }, | ||
"users": { "updated_at": "2040-06-16T00:00:00Z" } | ||
} | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "cadence_memberships" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "cadences" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "people" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "emails" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "calls" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "accounts" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "actions" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "notes" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "successes" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "crm_activities" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "account_stages" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "team_templates" } | ||
} | ||
}, | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "updated_at": "2122-01-18T21:18:20.000Z" }, | ||
"stream_descriptor": { "name": "email_templates" } | ||
} | ||
} | ||
] |
Oops, something went wrong.