-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: Strava #7151
🎉 New Source: Strava #7151
Conversation
Am I supposed to generate a |
Yes. |
airbyte-integrations/connectors/source-strava/source_strava/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-strava/source_strava/spec.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-strava/source_strava/source.py
Outdated
Show resolved
Hide resolved
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.
Hi @terencecho I made some comments about the contribution, is it possible to share the integration credentials to test (you can send to me in Slack). I request to another member to review your code in more details.
If possible add the endpoint docs in each stream.
@marcosmarxm Thank you for the comments! I will address your commends and share the integration credentials to you through slack.
I added endpoint docs in comments underneath each stream class such that they look like:
Is there another place I should add that information to as well? |
airbyte-config/init/src/main/resources/seed/source_definitions.yaml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-strava/acceptance-test-config.yml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-strava/source_strava/source.py
Outdated
Show resolved
Hide resolved
"athlete": { | ||
"type": "object", | ||
"properties": { | ||
"MetaAthlete": { |
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.
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.
I think you need to correct to all nested objects from this schema.
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.
I can make those changes. The reason I added them in the first place is because the output of the api is an "array of SummaryActivity objects" along with the other nested objects.
airbyte-integrations/connectors/source-strava/source_strava/schemas/activities.json
Outdated
Show resolved
Hide resolved
Overall after those changes the connector is ready to merge 🎉 |
airbyte-integrations/connectors/source-strava/source_strava/schemas/TODO.md
Outdated
Show resolved
Hide resolved
@marcosmarxm Thanks for the extra comments. They should all be addressed now. Let me know if I understood any of your comments incorrectly, especially regarding the schema json files. |
All unit/integration tests are passing and got it running locally with no problems. should be good for final look over. |
airbyte-integrations/connectors/source-strava/source_strava/source.py
Outdated
Show resolved
Hide resolved
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.
LGTM awesome work @terencecho
@terencecho just to confirm, run |
Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
@marcosmarxm thanks for your help. I decided to mark most of the schema in |
* Initial commit for new source: Strava * Update readme and invalid_config * Update PR number in docs * Update docs/integrations/README * Annotae spec with airbyte_secret * Change starting_after input to start_date and add try/catch connection check * Add connector to connector index * Address PR commends and separate streams * Set start_date as a required field * Remove nexted objects from schema * Remove schema TODO.md * Fix schema * Edit activites schema to allow for null values * Fix formatting Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com> * Fix formatting * Update source_definitions.yaml Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
What
How
Add two streams for this source:
Recommended reading order
Tests
Unit Tests
Integration Tests
Pre-merge Checklist
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
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