-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 Source SurveyMonkey - to beta (#14998)
* fixed incremental syns for response stream, added unittest, fixed specs, fixed incremental SAT * removed comments * updated docs * updated docs * bumped connector version * bumped release stage * auto-bump connector version [ci skip] * updated source_specs.yaml Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
e2526ff
commit 8fe89f5
Showing
18 changed files
with
768 additions
and
183 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
46 changes: 46 additions & 0 deletions
46
airbyte-integrations/connectors/source-surveymonkey/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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"surveys": { | ||
"date_modified": "2022-06-10T11:02:01" | ||
}, | ||
"survey_responses": { | ||
"306079584": { | ||
"date_modified": "2022-06-08T18:17:18+00:00" | ||
}, | ||
"307785429": { | ||
"date_modified": "2022-06-10T10:59:43+00:00" | ||
}, | ||
"307785444": { | ||
"date_modified": "2022-06-10T11:00:19+00:00" | ||
}, | ||
"307785394": { | ||
"date_modified": "2022-06-10T11:00:59+00:00" | ||
}, | ||
"307785402": { | ||
"date_modified": "2022-06-10T11:01:31+00:00" | ||
}, | ||
"307785408": { | ||
"date_modified": "2022-06-10T11:02:08+00:00" | ||
}, | ||
"307785448": { | ||
"date_modified": "2022-06-10T11:02:49+00:00" | ||
}, | ||
"307784834": { | ||
"date_modified": "2022-06-10T11:03:45+00:00" | ||
}, | ||
"307784863": { | ||
"date_modified": "2022-06-10T11:04:29+00:00" | ||
}, | ||
"307784846": { | ||
"date_modified": "2022-06-10T11:05:05+00:00" | ||
}, | ||
"307784856": { | ||
"date_modified": "2022-06-10T11:05:44+00:00" | ||
}, | ||
"307785388": { | ||
"date_modified": "2022-06-10T11:06:20+00:00" | ||
}, | ||
"307785415": { | ||
"date_modified": "2022-06-10T11:06:43+00:00" | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
airbyte-integrations/connectors/source-surveymonkey/integration_tests/survey_ids.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "survey_ids", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
airbyte-integrations/connectors/source-surveymonkey/integration_tests/survey_pages.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "survey_pages", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["date_modified"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"cursor_field": ["date_modified"], | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
airbyte-integrations/connectors/source-surveymonkey/integration_tests/survey_questions.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "survey_questions", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["date_modified"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"cursor_field": ["date_modified"], | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
airbyte-integrations/connectors/source-surveymonkey/integration_tests/survey_responses.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "survey_responses", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["date_modified"] | ||
}, | ||
"sync_mode": "incremental", | ||
"cursor_field": ["date_modified"], | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
airbyte-integrations/connectors/source-surveymonkey/integration_tests/surveys.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "surveys", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh", "incremental"], | ||
"source_defined_cursor": true, | ||
"default_cursor_field": ["date_modified"] | ||
}, | ||
"sync_mode": "incremental", | ||
"cursor_field": ["date_modified"], | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |
40 changes: 39 additions & 1 deletion
40
airbyte-integrations/connectors/source-surveymonkey/sample_files/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,10 +1,48 @@ | ||
{ | ||
"surveys": { | ||
"date_modified": "2021-06-10T11:02:01" | ||
"date_modified": "2021-06-10T11:07:00" | ||
}, | ||
"survey_responses": { | ||
"306079584": { | ||
"date_modified": "2021-06-08T18:17:18+00:00" | ||
}, | ||
"307785429": { | ||
"date_modified": "2021-06-10T10:59:43+00:00" | ||
}, | ||
"307785444": { | ||
"date_modified": "2021-06-10T11:00:19+00:00" | ||
}, | ||
"307785394": { | ||
"date_modified": "2021-06-10T11:00:59+00:00" | ||
}, | ||
"307785402": { | ||
"date_modified": "2021-06-10T11:01:31+00:00" | ||
}, | ||
"307785408": { | ||
"date_modified": "2021-06-10T11:02:08+00:00" | ||
}, | ||
"307785448": { | ||
"date_modified": "2021-06-10T11:02:49+00:00" | ||
}, | ||
"307784834": { | ||
"date_modified": "2021-06-10T11:03:45+00:00" | ||
}, | ||
"307784863": { | ||
"date_modified": "2021-06-10T11:04:29+00:00" | ||
}, | ||
"307784846": { | ||
"date_modified": "2021-06-10T11:05:05+00:00" | ||
}, | ||
"307784856": { | ||
"date_modified": "2021-06-10T11:05:44+00:00" | ||
}, | ||
"307785388": { | ||
"date_modified": "2021-06-10T11:06:20+00:00" | ||
}, | ||
"307785415": { | ||
"date_modified": "2021-06-10T11:06:43+00:00" | ||
} | ||
} | ||
|
||
|
||
} |
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
18 changes: 18 additions & 0 deletions
18
...e-integrations/connectors/source-surveymonkey/source_surveymonkey/schemas/survey_ids.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": ["string", "null"] | ||
}, | ||
"title": { | ||
"type": ["string", "null"] | ||
}, | ||
"nickname": { | ||
"type": ["string", "null"] | ||
}, | ||
"href": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} |
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.