Skip to content

Commit 16b8d35

Browse files
java-cdks: update all libraries (#45432)
This PR upgrades various library dependencies across multiple modules in the Airbyte CDK. It includes updates to Jackson, Guava, Apache Commons, Log4j, Kotlin coroutines, TestContainers, and other libraries.
1 parent 8f95359 commit 16b8d35

File tree

27 files changed

+122
-126
lines changed

27 files changed

+122
-126
lines changed

airbyte-cdk/bulk/core/base/build.gradle

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,30 @@ dependencies {
1313
exclude group: 'org.apache.commons'
1414
exclude group: 'commons-io'
1515
}
16-
api 'io.github.oshai:kotlin-logging-jvm:5.1.0'
16+
api 'io.github.oshai:kotlin-logging-jvm:7.0.0'
1717
api 'io.micronaut:micronaut-runtime'
18-
api 'org.apache.sshd:sshd-mina:2.12.1'
18+
api 'org.apache.sshd:sshd-mina:2.13.2'
1919
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core'
2020

21-
implementation 'com.datadoghq:dd-trace-api:1.28.0'
22-
implementation 'com.datadoghq:dd-trace-ot:1.28.0'
21+
implementation 'com.datadoghq:dd-trace-api:1.39.0'
22+
implementation 'com.datadoghq:dd-trace-ot:1.39.0'
2323
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
2424
implementation 'com.fasterxml.jackson.module:jackson-module-afterburner'
2525
implementation 'info.picocli:picocli:4.7.6'
2626
implementation 'io.micronaut.picocli:micronaut-picocli:5.5.0'
27-
implementation 'jakarta.validation:jakarta.validation-api:3.0.2'
28-
implementation 'org.apache.commons:commons-lang3:3.14.0'
27+
implementation 'jakarta.validation:jakarta.validation-api:3.1.0'
28+
implementation 'org.apache.commons:commons-lang3:3.17.0'
2929
implementation 'org.apache.logging.log4j:log4j-api'
3030
implementation 'org.apache.logging.log4j:log4j-core'
3131
implementation 'org.apache.logging.log4j:log4j-slf4j-impl'
3232
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl'
33-
implementation 'org.apache.logging.log4j:log4j-layout-template-json:2.17.2'
34-
implementation 'org.bouncycastle:bcprov-jdk18on:1.77'
33+
implementation 'org.apache.logging.log4j:log4j-layout-template-json:2.24.0'
34+
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
3535
implementation 'org.openapi4j:openapi-schema-validator:1.0.7'
3636

37-
runtimeOnly 'com.google.guava:guava:33.2.0-jre'
38-
runtimeOnly 'org.apache.commons:commons-compress:1.26.1'
37+
// this is only needed because of exclusions in airbyte-protocol
38+
runtimeOnly 'com.google.guava:guava:33.3.0-jre'
39+
runtimeOnly 'org.apache.commons:commons-compress:1.27.1'
3940

4041
testFixturesApi 'org.jetbrains.kotlin:kotlin-test-junit'
4142
testFixturesApi 'org.jetbrains.kotlin:kotlin-reflect'
@@ -47,5 +48,5 @@ dependencies {
4748
}
4849
testFixturesApi 'io.micronaut.test:micronaut-test-core:4.5.0'
4950
testFixturesApi 'io.micronaut.test:micronaut-test-junit5:4.5.0'
50-
testFixturesApi 'io.github.deblockt:json-diff:1.0.1'
51+
testFixturesApi 'io.github.deblockt:json-diff:1.1.0'
5152
}

airbyte-cdk/bulk/core/extract/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies {
22
implementation project(':airbyte-cdk:bulk:core:bulk-cdk-core-base')
3-
implementation 'org.apache.commons:commons-lang3:3.14.0'
3+
implementation 'org.apache.commons:commons-lang3:3.17.0'
44
implementation 'hu.webarticum:tree-printer:3.2.1'
55

66
testFixturesApi testFixtures(project(':airbyte-cdk:bulk:core:bulk-cdk-core-base'))
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
dependencies {
22
implementation project(':airbyte-cdk:bulk:core:bulk-cdk-core-base')
3-
implementation 'org.apache.commons:commons-lang3:3.14.0'
3+
implementation 'org.apache.commons:commons-lang3:3.17.0'
44

55
// For ranges and rangesets
66
implementation("com.google.guava:guava:33.3.0-jre")
77

88
testFixturesApi testFixtures(project(':airbyte-cdk:bulk:core:bulk-cdk-core-base'))
99

10-
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1")
11-
implementation "org.jetbrains.kotlin:kotlin-reflect:2.0.0"
10+
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.1")
11+
implementation "org.jetbrains.kotlin:kotlin-reflect:2.0.20"
1212
}

airbyte-cdk/java/airbyte-cdk/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ corresponds to that version.
174174

175175
| Version | Date | Pull Request | Subject |
176176
|:-----------|:-----------|:------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
177+
| 0.46.0 | 2024-09-18 | [\#45432](https://github.com/airbytehq/airbyte/pull/45432) | upgrade all libraries to latest version |
177178
| 0.45.1 | 2024-09-17 | [\#45638](https://github.com/airbytehq/airbyte/pull/45638) | upgrade apache mina sshd to 2.13.2 to handle openssh tcpkeepalive requests |
178179
| 0.45.0 | 2024-09-16 | [\#45469](https://github.com/airbytehq/airbyte/pull/45469) | Fix some race conditions, improve thread filtering, improve test logging |
179180
| 0.44.22 | 2024-09-10 | [\#45368](https://github.com/airbytehq/airbyte/pull/45368) | Remove excessive debezium logging |

airbyte-cdk/java/airbyte-cdk/azure-destinations/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dependencies {
22
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
33
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')
44

5-
implementation 'com.azure:azure-storage-blob:12.12.0'
5+
implementation 'com.azure:azure-storage-blob:12.27.1'
66

77
testFixturesApi testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core'))
88
}

airbyte-cdk/java/airbyte-cdk/core/build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,37 +29,37 @@ compileTestKotlin {
2929

3030
dependencies {
3131

32-
api 'com.datadoghq:dd-trace-api:1.28.0'
33-
api 'com.datadoghq:dd-trace-ot:1.28.0'
32+
api 'com.datadoghq:dd-trace-api:1.39.0'
33+
api 'com.datadoghq:dd-trace-ot:1.39.0'
3434
api 'com.zaxxer:HikariCP:5.1.0'
35-
api 'org.jooq:jooq:3.16.23'
36-
api 'org.apache.commons:commons-csv:1.10.0'
35+
api 'org.jooq:jooq:3.19.11'
36+
api 'org.apache.commons:commons-csv:1.11.0'
3737

3838
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
3939

40-
implementation 'commons-cli:commons-cli:1.4'
40+
implementation 'commons-cli:commons-cli:1.9.0'
4141
implementation 'io.aesy:datasize:1.0.0'
4242
implementation 'net.i2p.crypto:eddsa:0.3.0'
4343
implementation 'org.apache.httpcomponents:httpcore:4.4.16'
44-
implementation 'org.apache.logging.log4j:log4j-layout-template-json:2.17.2'
44+
implementation 'org.apache.logging.log4j:log4j-layout-template-json:2.24.0'
4545
implementation 'org.apache.sshd:sshd-mina:2.13.2'
4646
// bouncycastle is pinned to version-match the transitive dependency from kubernetes client-java
4747
// because a version conflict causes "parameter object not a ECParameterSpec" on ssh tunnel initiation
48-
implementation 'org.bouncycastle:bcpkix-jdk15on:1.66'
49-
implementation 'org.bouncycastle:bcprov-jdk15on:1.66'
50-
implementation 'org.bouncycastle:bctls-jdk15on:1.66'
48+
implementation 'org.bouncycastle:bcpkix-jdk18on:1.78.1'
49+
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
50+
implementation 'org.bouncycastle:bctls-jdk18on:1.78.1'
5151

52-
testFixturesApi 'org.testcontainers:testcontainers:1.19.0'
53-
testFixturesApi 'org.testcontainers:jdbc:1.19.0'
52+
testFixturesApi 'org.testcontainers:testcontainers:1.20.1'
53+
testFixturesApi 'org.testcontainers:jdbc:1.20.1'
5454

5555
testImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
5656
testImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-db-sources'))
5757
testImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-datastore-postgres'))
5858

5959
testImplementation 'mysql:mysql-connector-java:8.0.33'
6060
testImplementation 'org.postgresql:postgresql:42.7.3'
61-
testImplementation 'org.testcontainers:mysql:1.19.0'
62-
testImplementation 'org.testcontainers:postgresql:1.19.0'
61+
testImplementation 'org.testcontainers:mysql:1.20.1'
62+
testImplementation 'org.testcontainers:postgresql:1.20.1'
6363
testImplementation 'org.xbib.elasticsearch:joptsimple:6.3.2.1'
64-
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.2.1'
64+
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
6565
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=0.45.1
1+
version=0.46.0

airbyte-cdk/java/airbyte-cdk/datastore-bigquery/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies {
1717
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
1818
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')
1919

20-
api 'com.google.cloud:google-cloud-bigquery:2.37.0'
20+
api 'com.google.cloud:google-cloud-bigquery:2.42.2'
2121

2222
testFixturesApi testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core'))
2323
}

airbyte-cdk/java/airbyte-cdk/datastore-bigquery/src/main/kotlin/io/airbyte/cdk/db/bigquery/BigQueryDatabase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ constructor(
115115
val result = executeQuery(bigQuery, getQueryConfig(sql, params))
116116

117117
if (result.getLeft() != null) {
118-
val fieldList = result.getLeft()!!.getQueryResults().schema.fields
118+
val fieldList = result.getLeft()!!.getQueryResults().schema!!.fields
119119
return Streams.stream(result.getLeft()!!.getQueryResults().iterateAll()).map {
120120
fieldValues: FieldValueList ->
121121
sourceOperations!!.rowToJson(BigQueryResultSet(fieldValues, fieldList))

airbyte-cdk/java/airbyte-cdk/datastore-mongo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ dependencies {
2828

2929
testFixturesApi testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core'))
3030

31-
testFixturesApi 'org.testcontainers:mongodb:1.19.0'
31+
testFixturesApi 'org.testcontainers:mongodb:1.20.1'
3232
}

airbyte-cdk/java/airbyte-cdk/datastore-postgres/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ dependencies {
22
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
33
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')
44

5-
api 'org.postgresql:postgresql:42.6.2'
5+
api 'org.postgresql:postgresql:42.7.4'
66

77
testFixturesApi testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core'))
88

9-
testFixturesApi 'org.testcontainers:postgresql:1.19.0'
9+
testFixturesApi 'org.testcontainers:postgresql:1.20.1'
1010
}

airbyte-cdk/java/airbyte-cdk/datastore-postgres/src/main/kotlin/io/airbyte/cdk/integrations/util/PostgresSslConnectionUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ object PostgresSslConnectionUtils {
6262
if (encryption.has(PARAM_CLIENT_KEY_PASSWORD))
6363
encryption[PARAM_CLIENT_KEY_PASSWORD].asText()
6464
else ""
65-
var keyStorePassword = RandomStringUtils.randomAlphanumeric(10)
65+
var keyStorePassword = RandomStringUtils.insecure().nextAlphanumeric(10)
6666
if (sslPassword.isEmpty()) {
6767
val file = File(ENCRYPT_FILE_NAME)
6868
if (file.exists()) {

airbyte-cdk/java/airbyte-cdk/db-destinations/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ compileTestFixturesKotlin.compilerOptions.allWarningsAsErrors = false
22
compileTestKotlin.compilerOptions.allWarningsAsErrors = false
33

44
dependencies {
5-
api 'org.apache.commons:commons-csv:1.10.0'
5+
api 'org.apache.commons:commons-csv:1.11.0'
66

77
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
88
implementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')
99
compileOnly project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-typing-deduping')
1010

1111
implementation 'io.aesy:datasize:1.0.0'
1212

13-
testFixturesCompileOnly 'org.projectlombok:lombok:1.18.30'
14-
testFixturesAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
13+
testFixturesCompileOnly 'org.projectlombok:lombok:1.18.34'
14+
testFixturesAnnotationProcessor 'org.projectlombok:lombok:1.18.34'
1515
testFixturesImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
1616
testFixturesImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies'))
1717
testFixturesImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')
@@ -20,6 +20,6 @@ dependencies {
2020
testFixturesImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-typing-deduping'))
2121

2222
testImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-typing-deduping')
23-
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.2.1'
23+
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
2424

2525
}

airbyte-cdk/java/airbyte-cdk/db-destinations/src/main/kotlin/io/airbyte/cdk/integrations/destination/jdbc/typing_deduping/JdbcSqlGenerator.kt

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,7 @@ import java.time.Instant
1717
import java.util.Locale
1818
import java.util.Optional
1919
import kotlin.Int
20-
import org.jooq.Condition
21-
import org.jooq.CreateTableColumnStep
22-
import org.jooq.DSLContext
23-
import org.jooq.DataType
24-
import org.jooq.Field
25-
import org.jooq.InsertValuesStepN
26-
import org.jooq.Name
27-
import org.jooq.Record
28-
import org.jooq.SQLDialect
29-
import org.jooq.SelectConditionStep
30-
import org.jooq.SelectFieldOrAsterisk
20+
import org.jooq.*
3121
import org.jooq.conf.ParamType
3222
import org.jooq.impl.DSL
3323
import org.jooq.impl.SQLDataType
@@ -331,7 +321,7 @@ constructor(
331321
): String {
332322
val hasGenerationId = columns == DestinationColumns.V2_WITH_GENERATION
333323

334-
val createTable: CreateTableColumnStep =
324+
val createTable: CreateTableElementListStep =
335325
dslContext
336326
.createTable(rawTableName)
337327
.column(

airbyte-cdk/java/airbyte-cdk/db-sources/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ dependencies {
3434

3535
implementation 'io.debezium:debezium-api:2.4.0.Final'
3636
implementation 'io.debezium:debezium-embedded:2.4.0.Final'
37-
implementation 'org.codehaus.plexus:plexus-utils:4.0.0'
37+
implementation 'org.codehaus.plexus:plexus-utils:4.0.1'
3838

3939
testFixturesImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies')
4040
testFixturesImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-dependencies'))
4141
testFixturesImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core')
4242
testFixturesApi testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core'))
4343

4444
testFixturesImplementation 'net.sourceforge.argparse4j:argparse4j:0.9.0'
45-
testFixturesImplementation 'io.swagger:swagger-annotations:1.6.13'
45+
testFixturesImplementation 'io.swagger:swagger-annotations:1.6.14'
4646
testFixturesImplementation 'org.hamcrest:hamcrest-all:1.3'
47-
testFixturesImplementation 'org.junit.platform:junit-platform-launcher:1.10.1'
47+
testFixturesImplementation 'org.junit.platform:junit-platform-launcher:1.11.0'
4848

4949
testImplementation project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-datastore-postgres')
5050
testImplementation testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-datastore-postgres'))
5151

52-
testImplementation 'uk.org.webcompere:system-stubs-jupiter:2.0.1'
53-
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.2.1'
52+
testImplementation 'uk.org.webcompere:system-stubs-jupiter:2.1.6'
53+
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
5454
}

airbyte-cdk/java/airbyte-cdk/db-sources/src/main/kotlin/io/airbyte/cdk/integrations/source/jdbc/JdbcSSLConnectionUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class JdbcSSLConnectionUtils {
195195
) {
196196
sslModeConfig[PARAM_CLIENT_KEY_PASSWORD].asText()
197197
} else {
198-
RandomStringUtils.randomAlphanumeric(10)
198+
RandomStringUtils.insecure().nextAlphanumeric(10)
199199
}
200200
return clientKeyPassword
201201
}

airbyte-cdk/java/airbyte-cdk/dependencies/build.gradle

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,48 +10,48 @@ compileTestKotlin.compilerOptions.allWarningsAsErrors = false
1010
def generate = tasks.register('generate')
1111

1212
dependencies {
13-
api platform('com.fasterxml.jackson:jackson-bom:2.15.2')
13+
api platform('com.fasterxml.jackson:jackson-bom:2.17.2')
1414
api 'com.fasterxml.jackson.core:jackson-annotations'
1515
api 'com.fasterxml.jackson.core:jackson-databind'
1616
api 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
1717
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
1818
api 'com.fasterxml.jackson.module:jackson-module-kotlin'
19-
api 'com.google.guava:guava:33.0.0-jre'
20-
api 'commons-io:commons-io:2.15.1'
19+
api 'com.google.guava:guava:33.3.0-jre'
20+
api 'commons-io:commons-io:2.16.1'
2121
api ('io.airbyte.airbyte-protocol:protocol-models:0.11.0') { exclude group: 'com.google.api-client', module: 'google-api-client' }
2222
api 'javax.annotation:javax.annotation-api:1.3.2'
23-
api 'org.apache.commons:commons-compress:1.25.0'
24-
api 'org.apache.commons:commons-lang3:3.14.0'
25-
api 'org.apache.logging.log4j:log4j-api:2.21.1'
26-
api 'org.apache.logging.log4j:log4j-core:2.21.1'
27-
api 'org.apache.logging.log4j:log4j-slf4j-impl:2.21.1'
28-
api 'org.apache.logging.log4j:log4j-slf4j2-impl:2.21.1'
29-
api 'org.slf4j:log4j-over-slf4j:2.0.11'
30-
api 'org.slf4j:slf4j-api:2.0.11'
31-
api 'io.github.oshai:kotlin-logging-jvm:6.0.9'
32-
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0'
33-
34-
35-
implementation 'com.jayway.jsonpath:json-path:2.7.0'
36-
implementation 'com.networknt:json-schema-validator:1.0.72'
37-
implementation 'commons-cli:commons-cli:1.4'
38-
implementation 'io.swagger:swagger-annotations:1.6.2'
23+
api 'org.apache.commons:commons-compress:1.27.1'
24+
api 'org.apache.commons:commons-lang3:3.17.0'
25+
api 'org.apache.logging.log4j:log4j-api:2.24.0'
26+
api 'org.apache.logging.log4j:log4j-core:2.24.0'
27+
api 'org.apache.logging.log4j:log4j-slf4j-impl:2.24.0'
28+
api 'org.apache.logging.log4j:log4j-slf4j2-impl:2.24.0'
29+
api 'org.slf4j:log4j-over-slf4j:2.0.16'
30+
api 'org.slf4j:slf4j-api:2.0.16'
31+
api 'io.github.oshai:kotlin-logging-jvm:7.0.0'
32+
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1'
33+
34+
35+
implementation 'com.jayway.jsonpath:json-path:2.9.0'
36+
implementation 'com.networknt:json-schema-validator:1.5.1'
37+
implementation 'commons-cli:commons-cli:1.9.0'
38+
implementation 'io.swagger:swagger-annotations:1.6.14'
3939
implementation 'javax.validation:validation-api:2.0.1.Final'
4040
implementation 'javax.ws.rs:javax.ws.rs-api:2.1.1'
4141
implementation 'me.andrz.jackson:jackson-json-reference-core:0.3.2' // needed so that we can follow $ref when parsing json
42-
implementation 'org.openapitools:jackson-databind-nullable:0.2.1'
43-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0'
42+
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
43+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1'
4444

4545
testFixturesApi testFixtures(project(':airbyte-cdk:java:airbyte-cdk:airbyte-cdk-core'))
4646

4747
testFixturesApi ('io.airbyte:airbyte-api:0.55.2') { transitive = false }
4848
testFixturesApi 'org.jetbrains.kotlin:kotlin-test'
4949

50-
testFixturesImplementation 'io.swagger:swagger-annotations:1.6.2'
51-
testFixturesImplementation 'org.apache.ant:ant:1.10.11'
50+
testFixturesImplementation 'io.swagger:swagger-annotations:1.6.14'
51+
testFixturesImplementation 'org.apache.ant:ant:1.10.15'
5252

53-
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.1'
54-
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.2.1'
53+
testImplementation 'com.squareup.okhttp3:mockwebserver:4.12.0'
54+
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
5555
}
5656

5757

airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/commons/string/Strings.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ object Strings {
1616
fun addRandomSuffix(base: String, separator: String, suffixLength: Int): String {
1717
return base +
1818
separator +
19-
RandomStringUtils.randomAlphabetic(suffixLength).lowercase(Locale.getDefault())
19+
RandomStringUtils.insecure()
20+
.nextAlphanumeric(suffixLength)
21+
.lowercase(Locale.getDefault())
2022
}
2123

2224
@JvmStatic

0 commit comments

Comments
 (0)