Skip to content

Commit 6faccae

Browse files
committed
update dependencies
1 parent 2b23792 commit 6faccae

File tree

11 files changed

+33
-36
lines changed

11 files changed

+33
-36
lines changed

bot/admin/server/src/main/kotlin/BotAdminService.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,7 @@ object BotAdminService {
210210
)
211211
}
212212
)
213-
}
214-
215-
// Add nlp stats
216-
searchResult.copy(
213+
}.copy(
217214
nlpStats = dialogReportDAO.getNlpStats(searchResult.dialogs.map { it.id }, query.namespace)
218215
)
219216
}

bot/connector-teams/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
<properties>
3232
<microsoft.bot>4.14.3</microsoft.bot>
33-
<nimbus-jose-jwt>9.48</nimbus-jose-jwt>
34-
<gson>2.11.0</gson>
33+
<nimbus-jose-jwt>10.0.1</nimbus-jose-jwt>
34+
<gson>2.12.1</gson>
3535
<minidev>2.5.1</minidev>
3636
</properties>
3737

gen-ai/orchestrator-client/src/main/kotlin/ai/tock/genai/orchestratorclient/retrofit/GenAIOrchestratorInterceptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class GenAIOrchestratorInterceptor(private val jsonObjectMapper: ObjectMapper =
4444
}
4545

4646
private fun handleApiError(response: Response) {
47-
val errorBody = response.body?.string()
47+
val errorBody = response.body.string()
4848
when (response.code) {
4949
400 -> {
5050
val errorResponse = jsonObjectMapper.readValue(errorBody, ErrorResponse::class.java)

nlp/api/client/src/main/kotlin/TockNlpClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class TockNlpClient(baseUrl: String = System.getenv("tock_nlp_service_url") ?: "
103103
body()
104104
?: run {
105105
logger.error { "nlp error : ${errorBody()?.string()}" }
106-
null as Nothing?
106+
null
107107
}
108108

109109
override fun parse(query: NlpQuery): NlpResult? {

nlp/entity-evaluator/duckling/service/src/main/kotlin/startServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ import ai.tock.shared.vertx.vertx
2121
/**
2222
* Server start class.
2323
*/
24-
fun main(args: Array<String>) {
24+
fun main() {
2525
vertx.deployVerticle(DucklingVerticle())
2626
}

nlp/model/opennlp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<description>OpenNlp implementation of Tock NLP Model</description>
3030

3131
<properties>
32-
<opennlp>2.5.2</opennlp>
32+
<opennlp>2.5.3</opennlp>
3333
</properties>
3434

3535
<dependencies>

nlp/model/sagemaker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<description>Sagemaker client for Tock NLP Model</description>
2929

3030
<properties>
31-
<aws.version>2.29.43</aws.version>
31+
<aws.version>2.30.16</aws.version>
3232
</properties>
3333

3434
<dependencies>

pom.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
3232
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
3333

34-
<kotlin>2.0.21</kotlin>
35-
<coroutine>1.9.0</coroutine>
34+
<kotlin>2.1.10</kotlin>
35+
<coroutine>1.10.1</coroutine>
3636

3737
<slf4j>2.0.16</slf4j>
38-
<logback>1.5.15</logback>
38+
<logback>1.5.16</logback>
3939

4040
<kotlin-logging>3.0.5</kotlin-logging>
4141

@@ -48,27 +48,27 @@
4848
<jackson-data>0.4.0</jackson-data>
4949
<jackson-generator>0.4.0</jackson-generator>
5050
<klaxon>5.6</klaxon>
51-
<vertx>4.5.11</vertx>
51+
<vertx>4.5.12</vertx>
5252
<retrofit>2.11.0</retrofit>
53-
<okhttp>4.12.0</okhttp>
53+
<okhttp>5.0.0-alpha.14</okhttp>
5454
<okhttp-signpost>1.1.0</okhttp-signpost>
5555
<signpost-core>1.2.1.2</signpost-core>
5656
<circuitbreaker>1.7.1</circuitbreaker>
5757
<guava>33.4.0-jre</guava>
5858
<google-auth>1.37.0</google-auth>
59-
<google-http-client>1.45.3</google-http-client>
59+
<google-http-client>1.46.1</google-http-client>
6060
<jasypt>1.9.3</jasypt>
61-
<commons-csv>1.12.0</commons-csv>
61+
<commons-csv>1.13.0</commons-csv>
6262
<commons-text>1.13.0</commons-text>
6363
<emoji>5.1.1</emoji>
64-
<commons-codec>1.17.1</commons-codec>
64+
<commons-codec>1.18.0</commons-codec>
6565
<commons-lang>3.17.0</commons-lang>
6666
<commonmark>0.24.0</commonmark>
67-
<json>20241224</json>
67+
<json>20250107</json>
6868
<httpclient>4.5.14</httpclient>
6969
<simmetrics>4.1.1</simmetrics>
7070
<batik>1.12</batik>
71-
<google>26.52.0</google>
71+
<google>26.54.0</google>
7272
<aws-sdk>1.12.780</aws-sdk>
7373
<pac4j>5.7.7</pac4j>
7474
<okhttp-eventsource>4.1.1</okhttp-eventsource>
@@ -78,18 +78,18 @@
7878
<junit-jupiter>5.11.4</junit-jupiter>
7979
<testcontainer>1.20.4</testcontainer>
8080

81-
<mockk>1.13.14</mockk>
81+
<mockk>1.13.16</mockk>
8282
<assertj>3.22.0</assertj>
83-
<byte-buddy>1.15.11</byte-buddy>
83+
<byte-buddy>1.17.0</byte-buddy>
8484
<atrium>0.15.0</atrium>
8585
<serialization>1.6.2</serialization>
8686

87-
<plugin.surefire>3.5.0</plugin.surefire>
87+
<plugin.surefire>3.5.2</plugin.surefire>
8888
<plugin.source>3.3.1</plugin.source>
8989
<plugin.release>3.1.1</plugin.release>
90-
<plugin.gpg>3.2.6</plugin.gpg>
90+
<plugin.gpg>3.2.7</plugin.gpg>
9191
<plugin.nexus-staging>1.6.13</plugin.nexus-staging>
92-
<plugin.dokka>1.9.20</plugin.dokka>
92+
<plugin.dokka>2.0.0</plugin.dokka>
9393
<plugin.assembly>3.4.2</plugin.assembly>
9494
<plugin.frontend>1.12.1</plugin.frontend>
9595
<plugin.clean>3.2.0</plugin.clean>

shared/src/main/kotlin/Retrofits.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ private class LoggingInterceptor(val logger: KLogger, val level: Level) : Interc
375375
val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
376376

377377
val responseBody = response.body
378-
val contentLength = responseBody?.contentLength()
379-
val bodySize = if (contentLength != -1L) contentLength.toString() + "-byte" else "unknown-length"
378+
val contentLength = responseBody.contentLength()
379+
val bodySize = if (contentLength != -1L) "$contentLength-byte" else "unknown-length"
380380
logger.info(
381381
"<-- " + response.code + ' ' + response.message + ' ' +
382382
response.request.url + " (" + tookMs + "ms" + (
@@ -402,17 +402,17 @@ private class LoggingInterceptor(val logger: KLogger, val level: Level) : Interc
402402
} else if (bodyEncoded(response.headers)) {
403403
logger.info("<-- END HTTP (encoded body omitted)")
404404
} else {
405-
val source = responseBody?.source()
406-
source?.request(java.lang.Long.MAX_VALUE) // Buffer the entire body.
407-
val buffer = source?.buffer
405+
val source = responseBody.source()
406+
source.request(java.lang.Long.MAX_VALUE) // Buffer the entire body.
407+
val buffer = source.buffer
408408

409409
var charset = UTF_8
410-
val contentType = responseBody?.contentType()
410+
val contentType = responseBody.contentType()
411411
if (contentType != null) {
412412
charset = contentType.charset(UTF_8)
413413
}
414414

415-
if (buffer != null && !isPlaintext(buffer)) {
415+
if (!isPlaintext(buffer)) {
416416
logger.info("")
417417
logger.info("<-- END HTTP (binary " + buffer.size + "-byte body omitted)")
418418
return response

shared/src/test/kotlin/TockProxyAuthenticatorTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import okhttp3.OkHttpClient
2323
import okhttp3.Protocol
2424
import okhttp3.Request
2525
import okhttp3.Response
26-
import okhttp3.internal.EMPTY_RESPONSE
26+
import okhttp3.internal.commonEmptyResponse
2727
import org.junit.jupiter.api.AfterEach
2828
import org.junit.jupiter.api.Test
2929
import org.junit.jupiter.params.ParameterizedTest
@@ -61,7 +61,7 @@ class TockProxyAuthenticatorTest {
6161
.protocol(Protocol.HTTP_1_1)
6262
.code(HttpURLConnection.HTTP_PROXY_AUTH)
6363
.message("Preemptive Authenticate")
64-
.body(EMPTY_RESPONSE)
64+
.body(commonEmptyResponse)
6565
.sentRequestAtMillis(-1L)
6666
.receivedResponseAtMillis(-1L)
6767
.header("Proxy-Authenticate", challenge)

0 commit comments

Comments
 (0)