-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
🎉 New Source: Yotpo [Low code CDK] #25145
Conversation
@RealChrisSean |
PS for reviewers: All available streams for free plan was successfully implemented, other streams sadly needs pricing plan |
Thanks for the contribution @btkcodedev right now our team is reviewing GA connector changes and can take a while to get to your contribution. Thanks for your patience. |
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.
Left some comments please check them @btkcodedev
airbyte-integrations/connectors/source-yotpo/source_yotpo/spec.yaml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-yotpo/integration_tests/sample_config.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-yotpo/source_yotpo/schemas/reviews.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-yotpo/source_yotpo/spec.yaml
Outdated
Show resolved
Hide resolved
type: DpathExtractor | ||
field_path: ["reviews"] | ||
paginator: | ||
type: NoPagination |
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.
Please add more data into the stream to validate the paginator.
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.
@btkcodedev don't resolve conversation if they weren't solved.
type: HttpRequester | ||
url_base: "https://api.yotpo.com" | ||
http_method: "GET" | ||
request_parameters: | ||
utoken: "{{ config['access_token'] }}" | ||
authenticator: | ||
type: BearerAuthenticator | ||
api_token: "{{ config['access_token'] }}" |
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.
Create a YoptoRequester to reuse for all streams.
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.
What is the difference from reviews, reviews bottomline and top reviews? What data each one doesn't have compared to the other? Why not only use reviews?
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.
Actually 3 streams differ from each other, top_reviews only results 5 star rating, reviews has incremental reads and other one reads review with no ratings, Streams will be useful for the users
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.
But top_reviews and reviews bottomline aren't only a subset of reviews?
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.
That is correct :) Removed.
airbyte-integrations/connectors/source-yotpo/source_yotpo/schemas/webhooks.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-yotpo/source_yotpo/manifest.yaml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-yotpo/source_yotpo/manifest.yaml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-yotpo/source_yotpo/manifest.yaml
Outdated
Show resolved
Hide resolved
All comments resolved :) |
field_name: "per_page" | ||
pagination_strategy: | ||
type: "PageIncrement" | ||
page_size: 5 |
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.
Where did you find this information in Yopto docs?
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.
It was incorrect, Corrected :)
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.
Resolved
airbyte-integrations/connectors/source-yotpo/source_yotpo/manifest.yaml
Outdated
Show resolved
Hide resolved
type: DpathExtractor | ||
field_path: ["reviews"] | ||
paginator: | ||
type: NoPagination |
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.
@btkcodedev don't resolve conversation if they weren't solved.
Well well, @marcosmarxm, I've checked the paginator as per https://apidocs.yotpo.com/reference/guidelines, and it is working, But it breaks the incremental read with the following error Thus rolled back to only one review and thus connector passed the acceptance tests |
@marcosmarxm Little Bump Here, cause the deadline is by 27th🙂 |
@btkcodedev can you solve the conflict please? |
@marcosmarxm Pushing from #25532 |
What
Developing new connector for the source: Yotpo
Resolves:
Yotpo
How
Developed using (Configuration Based Source) low-code CDK
Recommended reading order
spec.yaml
manifest.yaml
schemas/*
Tests
Integration & Acceptance
Full Test Results🚨 User Impact 🚨
New Connector: Source Yotpo
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md