Skip to content

Commit

Permalink
🎉 SurveyMonkey source: scopes change (airbytehq#9508)
Browse files Browse the repository at this point in the history
* change list of scopes

* upd changelog

* bump version
  • Loading branch information
annalvova05 authored Jan 17, 2022
1 parent cb6d9ab commit edc0925
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@
- name: SurveyMonkey
sourceDefinitionId: badc5925-0485-42be-8caa-b34096cb71b5
dockerRepository: airbyte/source-surveymonkey
dockerImageTag: 0.1.5
dockerImageTag: 0.1.6
documentationUrl: https://docs.airbyte.io/integrations/sources/surveymonkey
icon: surveymonkey.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7236,7 +7236,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-surveymonkey:0.1.5"
- dockerImage: "airbyte/source-surveymonkey:0.1.6"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/surveymonkey"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.version=0.1.6
LABEL io.airbyte.name=airbyte/source-surveymonkey
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,7 @@

class SourceSurveymonkey(AbstractSource):

SCOPES = {
"collectors_read",
"contacts_read",
"groups_read",
"library_read",
"responses_read",
"responses_read_detail",
"roles_read",
"surveys_read",
"users_read",
"webhooks_read",
"workgroups_members_read",
"workgroups_read",
"workgroups_shares_read",
}
SCOPES = {"responses_read_detail", "surveys_read", "users_read"}

def check_connection(self, logger: AirbyteLogger, config: Mapping[str, Any]) -> Tuple[bool, Any]:
url = "https://api.surveymonkey.com/v3/users/me"
Expand Down
17 changes: 9 additions & 8 deletions docs/integrations/sources/surveymonkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ Please read this [docs](https://developer.surveymonkey.com/api/v3/#getting-start

## Changelog

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.1.5 | 2021-12-28 | [8628](https://github.com/airbytehq/airbyte/pull/8628) | Update fields in source-connectors specifications |
| 0.1.4 | 2021-11-11 | [7868](https://github.com/airbytehq/airbyte/pull/7868) | Improve 'check' using '/users/me' API call |
| 0.1.3 | 2021-11-01 | [7433](https://github.com/airbytehq/airbyte/pull/7433) | Remove unsused oAuth flow parameters |
| 0.1.2 | 2021-10-27 | [7433](https://github.com/airbytehq/airbyte/pull/7433) | Add OAuth support |
| 0.1.1 | 2021-09-10 | [5983](https://github.com/airbytehq/airbyte/pull/5983) | Fix caching for gzip compressed http response |
| 0.1.0 | 2021-07-06 | [4097](https://github.com/airbytehq/airbyte/pull/4097) | Initial Release |
| Version | Date | Pull Request | Subject |
|:--------|:-----------|:-------------------------------------------------------|:--------------------------------------------------|
| 0.1.6 | 2022-01-14 | [9508](https://github.com/airbytehq/airbyte/pull/9508) | Scopes change |
| 0.1.5 | 2021-12-28 | [8628](https://github.com/airbytehq/airbyte/pull/8628) | Update fields in source-connectors specifications |
| 0.1.4 | 2021-11-11 | [7868](https://github.com/airbytehq/airbyte/pull/7868) | Improve 'check' using '/users/me' API call |
| 0.1.3 | 2021-11-01 | [7433](https://github.com/airbytehq/airbyte/pull/7433) | Remove unsused oAuth flow parameters |
| 0.1.2 | 2021-10-27 | [7433](https://github.com/airbytehq/airbyte/pull/7433) | Add OAuth support |
| 0.1.1 | 2021-09-10 | [5983](https://github.com/airbytehq/airbyte/pull/5983) | Fix caching for gzip compressed http response |
| 0.1.0 | 2021-07-06 | [4097](https://github.com/airbytehq/airbyte/pull/4097) | Initial Release |

0 comments on commit edc0925

Please sign in to comment.