-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
🎉 Source Amazon Ads: Implement OAuth2.0 #11430
Conversation
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #11430 +/- ##
=========================================
Coverage ? 98.78%
=========================================
Files ? 22
Lines ? 660
Branches ? 0
=========================================
Hits ? 652
Misses ? 8
Partials ? 0 Continue to review full report at Codecov.
|
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
https://advertising.amazon.com/API/docs/en-us/concepts/authorization/access-tokens#generating-an-access-token-using-a-refresh-token Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
/test connector=connectors/source-amazon-ads
|
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
/test connector=connectors/source-amazon-ads
|
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
@@ -28,19 +31,6 @@ class Config: | |||
airbyte_secret=True, | |||
) | |||
|
|||
# Amazon docs don't describe which of the below scopes to use under what circumstances so |
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.
make sure additionalproperties=true so existing configs don't break
import java.util.function.Supplier; | ||
import org.apache.http.client.utils.URIBuilder; | ||
|
||
public class AmazonAdsOAuthFlow extends BaseOAuth2Flow { |
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.
can you add a unit test for this please?
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
/test connector=connectors/source-amazon-ads
|
/test connector=connectors/source-amazon-ads
|
/test connector=connectors/source-amazon-ads
|
Signed-off-by: Serhii Chvaliuk <grubberr@gmail.com>
/publish connector=connectors/source-amazon-ads
|
/publish connector=connectors/source-amazon-ads
|
* Added support OAuth2.0 Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Signed-off-by: Sergey Chvalyuk grubberr@gmail.com
What
How
Describe the solution
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 hereTests
Unit
Put your unit tests output here.
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.