Skip to content

Commit

Permalink
source-clickhouse: adopt CDK 0.20.4 (#35235)
Browse files Browse the repository at this point in the history
  • Loading branch information
postamar authored Feb 14, 2024
1 parent 8bd1c48 commit 9e7936e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
plugins {
id 'application'
id 'airbyte-java-connector'
}

airbyteJavaConnector {
cdkVersionRequired = '0.13.2'
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.clickhouse.ClickHouseStrictEncryptSource'
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
Expand All @@ -26,8 +16,7 @@ application {
dependencies {
implementation project(':airbyte-integrations:connectors:source-clickhouse')

implementation group: 'com.clickhouse', name: 'clickhouse-jdbc', version: '0.3.2-patch9'
implementation 'com.clickhouse:clickhouse-jdbc:0.3.2-patch10:all'

integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-clickhouse')
integrationTestJavaImplementation libs.testcontainers.clickhouse
testImplementation 'org.testcontainers:clickhouse:1.19.4'
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: bad83517-5e54-4a3d-9b53-63e85fbd4d7c
dockerImageTag: 0.2.1
dockerImageTag: 0.2.2
dockerRepository: airbyte/source-clickhouse-strict-encrypt
githubIssueLabel: source-clickhouse
icon: clickhouse.svg
Expand Down
15 changes: 2 additions & 13 deletions airbyte-integrations/connectors/source-clickhouse/build.gradle
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
plugins {
id 'application'
id 'airbyte-java-connector'
}

airbyteJavaConnector {
cdkVersionRequired = '0.13.2'
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.clickhouse.ClickHouseSource'
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
}

dependencies {

implementation 'com.clickhouse:clickhouse-jdbc:0.3.2-patch10:all'

integrationTestJavaImplementation libs.testcontainers.clickhouse
testImplementation 'org.testcontainers:clickhouse:1.19.4'
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: bad83517-5e54-4a3d-9b53-63e85fbd4d7c
dockerImageTag: 0.2.1
dockerImageTag: 0.2.2
dockerRepository: airbyte/source-clickhouse
documentationUrl: https://docs.airbyte.com/integrations/sources/clickhouse
githubIssueLabel: source-clickhouse
Expand All @@ -18,7 +18,7 @@ data:
name: ClickHouse
registries:
cloud:
dockerImageTag: 0.2.1
dockerImageTag: 0.2.2
dockerRepository: airbyte/source-clickhouse-strict-encrypt
enabled: true
oss:
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/clickhouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Using this feature requires additional configuration, when creating the source.

| Version | Date | Pull Request | Subject |
|:--------| :--- |:---------------------------------------------------------|:----------------------------------------------------------------------------------------------------------|
| 0.2.2 | 2024-02-13 | [35235](https://github.com/airbytehq/airbyte/pull/35235) | Adopt CDK 0.20.4 |
| 0.2.1 | 2024-01-24 | [34453](https://github.com/airbytehq/airbyte/pull/34453) | bump CDK version |
| 0.1.17 | 2023-03-22 | [20760](https://github.com/airbytehq/airbyte/pull/20760) | Removed redundant date-time datatypes formatting |
| 0.1.16 |2023-03-06 | [23455](https://github.com/airbytehq/airbyte/pull/23455) | For network isolation, source connector accepts a list of hosts it is allowed to connect to |
Expand Down

0 comments on commit 9e7936e

Please sign in to comment.