-
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
Update source definition with new field #6304
Conversation
@@ -10,7 +10,7 @@ required: | |||
- dockerRepository | |||
- dockerImageTag | |||
- documentationUrl | |||
additionalProperties: false | |||
additionalProperties: true |
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.
This may be needed to make the file-based migration system forward compatible. I will test it locally if this is necessary.
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.
looks good!
@@ -25,3 +25,10 @@ properties: | |||
type: string | |||
icon: | |||
type: string | |||
sourceType: |
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.
should this be required?
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.
Probably not. This is in the OSS table, and we don't have preset values for custom connectors. So some entries won't have this.
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.
Thanks for doing this. Let me once this is ready to merge. As discussed over call, am closing my PR #6254 in favour of this as this one already has my changes
Confirmed locally that this change works as expected locally. Also there is no problem migrating from |
What
How
StandardSourceDefinition
schema forward compatible.Recommended reading order
DatabaseConfigPersistence.java