Skip to content

Commit 1fe0597

Browse files
committed
Bump versions
1 parent 3bc7c1d commit 1fe0597

File tree

3 files changed

+29
-24
lines changed

3 files changed

+29
-24
lines changed

build.sbt

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ version := "1.0"
66

77
scalaVersion := "2.13.16"
88

9-
val pekkoVersion = "1.1.5"
10-
val pekkoHTTPVersion = "1.1.0"
9+
val pekkoVersion = "1.2.0"
10+
val pekkoHTTPVersion = "1.2.0"
1111
val pekkoConnectorVersion = "1.1.0"
1212
val pekkoConnectorKafkaVersion = "1.1.0"
1313

@@ -17,14 +17,13 @@ val artemisVersion = "2.39.0"
1717
val testContainersVersion = "1.21.3"
1818
val keycloakVersion = "26.3.2"
1919
val keycloakClientVersion = "26.0.6"
20-
val sttpVersion = "3.10.1"
20+
val sttpVersion = "3.11.0"
2121
val influxdbVersion = "7.1.0"
2222
val awsClientVersion = "2.25.32"
2323
val gatlingVersion = "3.13.5"
24-
val circeVersion = "0.14.8"
24+
val circeVersion = "0.14.14"
2525

26-
// https://github.com/langchain4j/langchain4j/issues/2955
27-
val langchain4jVersion = "1.2.0"
26+
val langchain4jVersion = "1.4.0"
2827

2928
libraryDependencies ++= Seq(
3029
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.2.0",
@@ -58,7 +57,7 @@ libraryDependencies ++= Seq(
5857
"org.apache.activemq" % "artemis-protocols" % artemisVersion pomOnly(),
5958
"org.apache.activemq" % "artemis-openwire-protocol" % artemisVersion,
6059

61-
"org.bouncycastle" % "bcprov-jdk18on" % "1.80",
60+
"org.bouncycastle" % "bcprov-jdk18on" % "1.81",
6261

6362
"org.apache.pekko" %% "pekko-connectors-kafka" % pekkoConnectorKafkaVersion,
6463
"org.apache.kafka" %% "kafka" % kafkaVersion,
@@ -93,27 +92,27 @@ libraryDependencies ++= Seq(
9392
"com.influxdb" % "flux-dsl" % influxdbVersion,
9493
"org.influxdb" % "influxdb-java" % "2.24",
9594

96-
"ca.uhn.hapi" % "hapi-base" % "2.3",
97-
"ca.uhn.hapi" % "hapi-structures-v23" % "2.3",
98-
"ca.uhn.hapi" % "hapi-structures-v24" % "2.3",
99-
"ca.uhn.hapi" % "hapi-structures-v25" % "2.3",
100-
"ca.uhn.hapi" % "hapi-structures-v281" % "2.3",
95+
"ca.uhn.hapi" % "hapi-base" % "2.6.0",
96+
"ca.uhn.hapi" % "hapi-structures-v23" % "2.6.0",
97+
"ca.uhn.hapi" % "hapi-structures-v24" % "2.6.0",
98+
"ca.uhn.hapi" % "hapi-structures-v25" % "2.6.0",
99+
"ca.uhn.hapi" % "hapi-structures-v281" % "2.6.0",
101100

102101
"org.apache.opennlp" % "opennlp-tools" % "2.5.5",
103102

104-
"org.apache.httpcomponents.client5" % "httpclient5" % "5.4",
105-
"org.apache.httpcomponents.core5" % "httpcore5" % "5.3",
106-
"commons-io" % "commons-io" % "2.16.1",
107-
"org.apache.commons" % "commons-lang3" % "3.12.0",
103+
"org.apache.httpcomponents.client5" % "httpclient5" % "5.5",
104+
"org.apache.httpcomponents.core5" % "httpcore5" % "5.3.5",
105+
"commons-io" % "commons-io" % "2.20.0",
106+
"org.apache.commons" % "commons-lang3" % "3.18.0",
108107
"com.sksamuel.avro4s" %% "avro4s-core" % "4.1.2", // 5.x for Scala 3
109108

110109
"org.apache.camel" % "camel-core" % "3.20.2",
111110
"org.apache.camel" % "camel-reactive-streams" % "3.20.2",
112-
"io.projectreactor" % "reactor-core" % "3.5.4",
113-
"io.reactivex.rxjava3" % "rxjava" % "3.1.6",
111+
"io.projectreactor" % "reactor-core" % "3.7.11",
112+
"io.reactivex.rxjava3" % "rxjava" % "3.1.11",
114113

115114
"com.github.blemale" %% "scaffeine" % "5.3.0",
116-
"ch.qos.logback" % "logback-classic" % "1.4.12",
115+
"ch.qos.logback" % "logback-classic" % "1.5.18",
117116

118117
"org.testcontainers" % "testcontainers" % testContainersVersion,
119118
"org.testcontainers" % "elasticsearch" % testContainersVersion,
@@ -161,7 +160,7 @@ libraryDependencies ++= Seq(
161160
"dev.langchain4j" % "langchain4j-embeddings-all-minilm-l6-v2-q" % "1.4.0-beta10",
162161

163162
// Beautiful CLI output formatting
164-
"xyz.matthieucourt" %% "layoutz" % "0.1.0",
163+
"xyz.matthieucourt" %% "layoutz" % "0.3.0",
165164

166165
// https://docs.gatling.io/reference/integrations/build-tools/sbt-plugin
167166
"io.gatling" % "gatling-core" % gatlingVersion,

src/main/scala/alpakka/sse_to_elasticsearch/WikipediaEditsAnalyser.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ object WikipediaEditsAnalyser extends App {
292292
}
293293

294294
private def findPersonsLocalNER(ctx: Ctx): Future[Ctx] = {
295-
logger.info(s"[${ctx.traceId}] Local NER: About to find person names in: ${ctx.change.title}")
295+
logger.info(s"[${ctx.traceId}] Local Java NLP NER: About to find person names in: ${ctx.change.title}")
296296
val content = ctx.content
297297

298298
// We need a new instance, because TokenizerME is not thread safe
@@ -311,7 +311,7 @@ object WikipediaEditsAnalyser extends App {
311311
} else {
312312
val personsFoundCleaned = sanitizePersonNames(personsFound)
313313

314-
logger.debug(s"[${ctx.traceId}] Local NER found persons: $personsFoundCleaned from content: $content")
314+
logger.info(s"[${ctx.traceId}] Local Java NLP NER found persons: $personsFoundCleaned from content: $content")
315315
Future(ctx.copy(personsFoundLocal = personsFoundCleaned))
316316
}
317317
}

src/main/scala/alpakka/tcp_to_websockets/hl7mllp/Hl7TcpClientClassic.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ public class Hl7TcpClientClassic {
2727
private static final int PORT_NUMBER = 6160;
2828

2929
public static void main(String[] args) {
30-
IntStream.range(0, 100).forEach(each -> processMessages());
30+
IntStream.range(0, 100).forEach(each -> {
31+
try {
32+
processMessages();
33+
} catch (IOException e) {
34+
throw new RuntimeException(e);
35+
}
36+
});
3137
}
3238

33-
private static void processMessages() {
39+
private static void processMessages() throws IOException {
3440
Connection connectionWithServer = null;
3541
try {
3642
FileReader reader = new FileReader("src/main/resources/ADT_ORM_Hl7Messages.txt");

0 commit comments

Comments
 (0)