Skip to content

Commit 5329921

Browse files
Marius Postajatinyadav-cc
authored andcommitted
source-clickhouse: adopt CDK 0.20.4 (airbytehq#35235)
1 parent d0072b0 commit 5329921

File tree

5 files changed

+9
-30
lines changed

5 files changed

+9
-30
lines changed
Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
plugins {
2-
id 'application'
32
id 'airbyte-java-connector'
43
}
54

65
airbyteJavaConnector {
7-
cdkVersionRequired = '0.13.2'
6+
cdkVersionRequired = '0.20.4'
87
features = ['db-sources']
98
useLocalCdk = false
109
}
1110

12-
//remove once upgrading the CDK version to 0.4.x or later
13-
java {
14-
compileJava {
15-
options.compilerArgs.remove("-Werror")
16-
}
17-
}
18-
19-
airbyteJavaConnector.addCdkDependencies()
20-
2111
application {
2212
mainClass = 'io.airbyte.integrations.source.clickhouse.ClickHouseStrictEncryptSource'
2313
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
@@ -26,8 +16,7 @@ application {
2616
dependencies {
2717
implementation project(':airbyte-integrations:connectors:source-clickhouse')
2818

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

31-
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-clickhouse')
32-
integrationTestJavaImplementation libs.testcontainers.clickhouse
21+
testImplementation 'org.testcontainers:clickhouse:1.19.4'
3322
}

airbyte-integrations/connectors/source-clickhouse-strict-encrypt/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: database
1212
connectorType: source
1313
definitionId: bad83517-5e54-4a3d-9b53-63e85fbd4d7c
14-
dockerImageTag: 0.2.1
14+
dockerImageTag: 0.2.2
1515
dockerRepository: airbyte/source-clickhouse-strict-encrypt
1616
githubIssueLabel: source-clickhouse
1717
icon: clickhouse.svg
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
11
plugins {
2-
id 'application'
32
id 'airbyte-java-connector'
43
}
54

65
airbyteJavaConnector {
7-
cdkVersionRequired = '0.13.2'
6+
cdkVersionRequired = '0.20.4'
87
features = ['db-sources']
98
useLocalCdk = false
109
}
1110

12-
//remove once upgrading the CDK version to 0.4.x or later
13-
java {
14-
compileJava {
15-
options.compilerArgs.remove("-Werror")
16-
}
17-
}
18-
19-
airbyteJavaConnector.addCdkDependencies()
20-
2111
application {
2212
mainClass = 'io.airbyte.integrations.source.clickhouse.ClickHouseSource'
2313
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
2414
}
2515

2616
dependencies {
27-
2817
implementation 'com.clickhouse:clickhouse-jdbc:0.3.2-patch10:all'
2918

30-
integrationTestJavaImplementation libs.testcontainers.clickhouse
19+
testImplementation 'org.testcontainers:clickhouse:1.19.4'
3120
}

airbyte-integrations/connectors/source-clickhouse/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ data:
99
connectorSubtype: database
1010
connectorType: source
1111
definitionId: bad83517-5e54-4a3d-9b53-63e85fbd4d7c
12-
dockerImageTag: 0.2.1
12+
dockerImageTag: 0.2.2
1313
dockerRepository: airbyte/source-clickhouse
1414
documentationUrl: https://docs.airbyte.com/integrations/sources/clickhouse
1515
githubIssueLabel: source-clickhouse
@@ -18,7 +18,7 @@ data:
1818
name: ClickHouse
1919
registries:
2020
cloud:
21-
dockerImageTag: 0.2.1
21+
dockerImageTag: 0.2.2
2222
dockerRepository: airbyte/source-clickhouse-strict-encrypt
2323
enabled: true
2424
oss:

docs/integrations/sources/clickhouse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Using this feature requires additional configuration, when creating the source.
7878

7979
| Version | Date | Pull Request | Subject |
8080
|:--------| :--- |:---------------------------------------------------------|:----------------------------------------------------------------------------------------------------------|
81+
| 0.2.2 | 2024-02-13 | [35235](https://github.com/airbytehq/airbyte/pull/35235) | Adopt CDK 0.20.4 |
8182
| 0.2.1 | 2024-01-24 | [34453](https://github.com/airbytehq/airbyte/pull/34453) | bump CDK version |
8283
| 0.1.17 | 2023-03-22 | [20760](https://github.com/airbytehq/airbyte/pull/20760) | Removed redundant date-time datatypes formatting |
8384
| 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 |

0 commit comments

Comments
 (0)