-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-e2e-test: adopt CDK 0.20.4 (#35231)
- Loading branch information
Marius Posta
authored
Feb 14, 2024
1 parent
c1c8088
commit fd0b77e
Showing
7 changed files
with
7 additions
and
35 deletions.
There are no files selected for viewing
14 changes: 1 addition & 13 deletions
14
airbyte-integrations/connectors/source-e2e-test-cloud/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,17 @@ | ||
plugins { | ||
id 'application' | ||
id 'airbyte-java-connector' | ||
} | ||
|
||
airbyteJavaConnector { | ||
cdkVersionRequired = '0.7.7' | ||
cdkVersionRequired = '0.20.4' | ||
features = ['db-sources'] | ||
useLocalCdk = false | ||
} | ||
|
||
//remove once upgrading the CDK version to 0.4.x or later | ||
java { | ||
compileJava { | ||
options.compilerArgs.remove("-Werror") | ||
} | ||
} | ||
|
||
airbyteJavaConnector.addCdkDependencies() | ||
|
||
application { | ||
mainClass = 'io.airbyte.integrations.source.e2e_test.CloudTestingSources' | ||
} | ||
|
||
dependencies { | ||
implementation project(':airbyte-integrations:connectors:source-e2e-test') | ||
|
||
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-e2e-test-cloud') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 1 addition & 20 deletions
21
airbyte-integrations/connectors/source-e2e-test/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,20 @@ | ||
plugins { | ||
id 'application' | ||
id 'airbyte-java-connector' | ||
} | ||
|
||
airbyteJavaConnector { | ||
cdkVersionRequired = '0.7.7' | ||
cdkVersionRequired = '0.20.4' | ||
features = ['db-sources'] | ||
useLocalCdk = false | ||
} | ||
|
||
//remove once upgrading the CDK version to 0.4.x or later | ||
java { | ||
compileTestJava { | ||
options.compilerArgs.remove("-Werror") | ||
} | ||
compileJava { | ||
options.compilerArgs.remove("-Werror") | ||
} | ||
} | ||
|
||
airbyteJavaConnector.addCdkDependencies() | ||
|
||
application { | ||
mainClass = 'io.airbyte.integrations.source.e2e_test.TestingSources' | ||
} | ||
|
||
dependencies { | ||
implementation 'org.apache.commons:commons-lang3:3.11' | ||
implementation 'com.networknt:json-schema-validator:1.0.72' | ||
|
||
// random Json object generation from Json schema | ||
// https://github.com/airbytehq/jsongenerator | ||
implementation 'net.jimblackler.jsonschemafriend:core:0.12.1' | ||
implementation 'org.mozilla:rhino-engine:1.7.14' | ||
implementation group: 'com.github.airbytehq', name: 'jsongenerator', version: '1.0.2' | ||
|
||
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-e2e-test') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters