-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎉 Survey Monkey: Improve 'check' using '/users/me' API call #7868
Conversation
Signed-off-by: Sergey Chvalyuk <[email protected]>
Signed-off-by: Sergey Chvalyuk <[email protected]>
Signed-off-by: Sergey Chvalyuk <[email protected]>
airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/source.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Sergey Chvalyuk <[email protected]>
/test connector=connectors/source-surveymonkey
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! @grubberr , please merge and publish your fix because your solution is simple and obvious.
/publish connector=connectors/source-surveymonkey
|
Signed-off-by: Sergey Chvalyuk <[email protected]>
…q#7868) * Improve 'check' using '/users/me' API call Signed-off-by: Sergey Chvalyuk <[email protected]>
Signed-off-by: Sergey Chvalyuk [email protected]
What
In current implementation of "check" command connector reads "Surveys" stream which can be empty.
If stream is empty we got error but in really - connection is OK.
How
In new implementation, we call API endpoint
https://api.surveymonkey.com/v3/users/me
to make sure we have valid credentials and also as bonus check that we have all needed oAuth scopes.Recommended reading order
x.java
y.python
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described here