Skip to content
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

No longer forces custom source/destination definition always #19627

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

krishnaglick
Copy link
Contributor

What

This PR introduced a bug that made all source and destination definitions create or update a custom.
Rather than a full revert, this PR simply returns the old functionality.

@krishnaglick krishnaglick requested a review from a team as a code owner November 18, 2022 23:40
@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Nov 18, 2022
Copy link
Contributor

@ambirdsall ambirdsall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix makes sense in light of the bug as reported/diagnosed (create/update calls failed for all non-custom connectors since they used the custom connector create/update calls but lacked the corresponding grants). I did confirm that this correctly reverts all usages of these methods, but did not fully test locally.

@krishnaglick krishnaglick merged commit f272bc7 into master Nov 19, 2022
@krishnaglick krishnaglick deleted the kc/definition-fix branch November 19, 2022 00:14
davinchia pushed a commit that referenced this pull request Nov 23, 2022
Closes #19637

PR that introduced this bug was a precision revert of another issue: #19627

This PR removes the createSourceDefinition() and createDestinationDefinition() methods in favor of the new createCustomSourceDefinition() and createCustomDestinationDefinition() methods. createSourceDefinition() and createDestinationDefinition() are to be deprecated.

This PR does not address updating custom connectors. There is a backend issue for fixing this behavior here: #19669
SofiiaZaitseva pushed a commit that referenced this pull request Nov 24, 2022
Closes #19637

PR that introduced this bug was a precision revert of another issue: #19627

This PR removes the createSourceDefinition() and createDestinationDefinition() methods in favor of the new createCustomSourceDefinition() and createCustomDestinationDefinition() methods. createSourceDefinition() and createDestinationDefinition() are to be deprecated.

This PR does not address updating custom connectors. There is a backend issue for fixing this behavior here: #19669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants