-
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
Extend template for the Java JDBC template by SAT SPEC #19660
Conversation
Affected Connector ReportNOTE
|
Connector | Version | Changelog | Publish |
---|---|---|---|
source-scaffold-java-jdbc |
0.1.0 |
⚠ (doc not found) |
⚠ (not in seed) |
- See "Actionable Items" below for how to resolve warnings and errors.
✅ Destinations (0)
Connector | Version | Changelog | Publish |
---|
- See "Actionable Items" below for how to resolve warnings and errors.
✅ Other Modules (0)
Actionable Items
(click to expand)
Category | Status | Actionable Item |
---|---|---|
Version | ❌ mismatch |
The version of the connector is different from its normal variant. Please bump the version of the connector. |
⚠ doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
|
Changelog | ⚠ doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
❌ changelog missing |
There is no chnagelog for the current version of the connector. If you are the author of the current version, please add a changelog. | |
Publish | ⚠ not in seed |
The connector is not in the seed file (e.g. source_definitions.yaml ), so its publication status cannot be checked. This can be normal (e.g. some connectors are cloud-specific, and only listed in the cloud seed file). Please double-check to make sure that it is not a bug. |
❌ diff seed version |
The connector exists in the seed file, but the latest version is not listed there. This usually means that the latest version is not published. Please use the /publish command to publish the latest version. |
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 can re-use existing templates instead of re-creating files like acceptance-test-config.yml
and acceptance-test-docker.sh
.
...tions/connector-templates/source-java-jdbc/src/test-integration/resources/expected_spec.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-config.yml
Outdated
Show resolved
Hide resolved
airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-docker.sh
Show resolved
Hide resolved
airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/acceptance.py
Show resolved
Hide resolved
…into aleonets/19130-extend-template
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.
As I mentionned, most of the file you created are already existing in an exact same format under airbyte-integrations/connector-templates/source-python/integration_tests
.
For simpler maintenance, I would prefer you pick one of the following approach:
- Change the
plopfile.js
to makeJava JDBC Source
use thesource-python/integration_tests
files - Create a symlink in
source-java-jdbc/integration-tests
tosource-python/integration-tests
- Rework the
connector-templates
directory structure to declare files common to bothsource-python
andsource-java-jdbc
and handle this with theplopfile.js
I don't want to be a blocker on this. I'd love to get the opinion of someone else on the team.
(please format the files 😄 I know you still have new lines in stock to add these to the end of your files)
airbyte-integrations/connector-templates/source-java-jdbc/acceptance-test-docker.sh.hbs
Outdated
Show resolved
Hide resolved
airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/acceptance.py.hbs
Outdated
Show resolved
Hide resolved
...egrations/connector-templates/source-java-jdbc/integration_tests/configured_catalog.json.hbs
Outdated
Show resolved
Hide resolved
...tions/connector-templates/source-java-jdbc/integration_tests/configured_catalog_inc.json.hbs
Outdated
Show resolved
Hide resolved
...ntegrations/connector-templates/source-java-jdbc/integration_tests/expected_records.json.hbs
Outdated
Show resolved
Hide resolved
airbyte-integrations/connector-templates/source-java-jdbc/integration_tests/sat-config.json.hbs
Outdated
Show resolved
Hide resolved
...ns/connector-templates/source-java-jdbc/src/test-integration/resources/dummy_config.json.hbs
Outdated
Show resolved
Hide resolved
@alafanechere |
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 fix the missing new line 😄 Otherwise LGTM
What
Update Java JDBC source template to enable SAT SPEC by default for generated sources.
#19130
Test
Steps to reproduce:
-x test
as there is no implementation inside)acceptance-test-docker.sh
Result: