-
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 Zendesk: Migration from Singer to CDK #4861
Conversation
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/spec.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-zendesk-support
|
In docs pages - please specify which streams support incremental sync |
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.
Why do you need the source-jira/integration_tests/configured_catalog.json
?
I assume it's added to this branch accidentally. Please correct this before you merge.
…22-source-zendesk-support
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.
Remove this file from your branch
airbyte-integrations/connectors/source-us-census/integration_tests/integration_test.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-jira/source_jira/schemas/labels.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-jira/sample_files/full_configured_catalog.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-jira/sample_files/configured_catalog.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-jira/integration_tests/labels_catalog.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-zendesk-support
|
@sherifnada , you are right that the Zendesk API design is not uniform. It provides different mechanisms of filters and pagination for similar entities. For example the query parameter of the future response size can have the following keys: per_page, count, limit. Thus we forced to implement a lot of customization. |
/test connector=connectors/source-zendesk-support
|
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.
Apologies for the delayed review, had some more comments. Can you also add some unit tests verifying the functionality of the different classes? the requests-mock
library may be helpful in achieving this
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-zendesk-support
|
@sherifnada , thank you for your constructive comments. Please check my last updates. |
airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-zendesk-support
|
/test connector=connectors/source-zendesk-support
|
/test connector=connectors/source-zendesk-support
|
/test connector=connectors/source-zendesk-support
|
/publish connector=connectors/source-zendesk-support
|
/publish connector=connectors/source-zendesk-support
|
What
Resolving the issue:
#4422 - New source: airbyte-native Zendesk Support
How
Airbyte Python CDK
implemented the logic for the source connector, covering features present in singer-basedSource Zendesk
Pre-merge Checklist
airbyte_secret
in the connector's spec./gradlew :airbyte-integrations:connectors:<name>:integrationTest
./test connector=connectors/<name>
command as documented here is passing.README.md
docs/SUMMARY.md
if it's a new connectordocs/integrations/<source or destination>/<name>
.docs/integrations/<source or destination>/<name>
. See changelog exampledocs/integrations/README.md
contains a reference to the new connector/publish
command described heremaster
branch