forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 Source SurveyMonkey: add
survey_collectors
and collectors
stream (
airbytehq#23721) * add survey_collectors stream * add stream to docs * add missing schema * fix stream and add expected records * remove unused file * bump connector version * fix unit test * add doc url for surveycollectors * update expected records * auto-bump connector version --------- Co-authored-by: sh4sh <6833405+sh4sh@users.noreply.github.com> Co-authored-by: marcosmarxm <marcosmarxm@gmail.com> Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
02940ca
commit cb593fa
Showing
15 changed files
with
252 additions
and
10 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
26 changes: 26 additions & 0 deletions
26
airbyte-integrations/connectors/source-surveymonkey/integration_tests/expected_records.txt
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
airbyte-integrations/connectors/source-surveymonkey/integration_tests/survey_collectors.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,22 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "collectors", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "append" | ||
}, | ||
{ | ||
"stream": { | ||
"name": "survey_collectors", | ||
"json_schema": {}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |
87 changes: 87 additions & 0 deletions
87
...e-integrations/connectors/source-surveymonkey/source_surveymonkey/schemas/collectors.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,87 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"additionalProperties": true, | ||
"properties": { | ||
"id": { | ||
"type": ["string", "null"] | ||
}, | ||
"status": { | ||
"type": ["string", "null"] | ||
}, | ||
"survey_id": { | ||
"type": ["string", "null"] | ||
}, | ||
"type": { | ||
"type": ["string", "null"] | ||
}, | ||
"name": { | ||
"type": ["string", "null"] | ||
}, | ||
"thank_you_message": { | ||
"type": ["string", "null"] | ||
}, | ||
"thank_you_page": { | ||
"type": ["object", "null"], | ||
"additionalProperties": true, | ||
"properties": { | ||
"is_enabled": { | ||
"type": ["boolean", "null"] | ||
}, | ||
"message": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
}, | ||
"disqualification_message": { | ||
"type": ["string", "null"] | ||
}, | ||
"disqualification_url": { | ||
"type": ["string", "null"] | ||
}, | ||
"close_date": { | ||
"type": ["string", "null"], | ||
"format": "date-time" | ||
}, | ||
"closed_page_message": { | ||
"type": ["string", "null"] | ||
}, | ||
"redirect_url": { | ||
"type": ["string", "null"] | ||
}, | ||
"display_survey_results": { | ||
"type": ["boolean", "null"] | ||
}, | ||
"edit_response_type": { | ||
"type": ["string", "null"] | ||
}, | ||
"anonymous_type": { | ||
"type": ["string", "null"] | ||
}, | ||
"allow_multiple_responses": { | ||
"type": ["boolean", "null"] | ||
}, | ||
"date_modified": { | ||
"type": ["string", "null"], | ||
"format": "date-time" | ||
}, | ||
"sender_email": { | ||
"type": ["string", "null"] | ||
}, | ||
"password_enabled": { | ||
"type": ["boolean", "null"] | ||
}, | ||
"response_limit": { | ||
"type": ["number", "null"] | ||
}, | ||
"redirect_type": { | ||
"type": ["string", "null"] | ||
}, | ||
"respondent_authentication": { | ||
"type": ["boolean", "null"] | ||
}, | ||
"href": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rations/connectors/source-surveymonkey/source_surveymonkey/schemas/survey_collectors.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,19 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"additionalProperties": true, | ||
"properties": { | ||
"id": { | ||
"type": ["string", "null"] | ||
}, | ||
"name": { | ||
"type": ["string", "null"] | ||
}, | ||
"href": { | ||
"type": ["string", "null"] | ||
}, | ||
"survey_id": { | ||
"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
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