Skip to content

Commit c95ac63

Browse files
committed
Bump versions and minor improvements
1 parent beec0d0 commit c95ac63

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

build.sbt

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

77
scalaVersion := "2.13.14"
88

9-
val pekkoVersion = "1.1.0"
9+
val pekkoVersion = "1.1.1"
1010
val pekkoHTTPVersion = "1.1.0-M1"
1111
val pekkoConnectorVersion = "1.0.2"
1212
val pekkoConnectorKafkaVersion = "1.0.0"
1313

1414
val kafkaVersion = "3.7.0"
1515
val activemqVersion = "5.18.5" // We are stuck with 5.x
16-
val artemisVersion = "2.36.0"
16+
val artemisVersion = "2.37.0"
1717
val testContainersVersion = "1.20.1"
1818
val keycloakVersion = "24.0.4"
1919
val sttpVersion = "3.9.0"
@@ -67,7 +67,7 @@ libraryDependencies ++= Seq(
6767
"org.apache.pekko" %% "pekko-connectors-sse" % pekkoConnectorVersion,
6868
"org.apache.pekko" %% "pekko-connectors-file" % pekkoConnectorVersion,
6969
// With the latest sshj lib explicitly included, we get a more robust behaviour on "large" data sets in SftpEcho
70-
"com.hierynomus" % "sshj" % "0.38.0",
70+
"com.hierynomus" % "sshj" % "0.39.0",
7171
"org.apache.pekko" %% "pekko-connectors-xml" % pekkoConnectorVersion,
7272
"org.apache.pekko" %% "pekko-connectors-ftp" % pekkoConnectorVersion,
7373
"org.apache.pekko" %% "pekko-connectors-elasticsearch" % pekkoConnectorVersion,

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.10.1
1+
sbt.version=1.10.2

src/main/scala/alpakka/env/JMSServerArtemis.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ object JMSServerArtemis extends App {
8383
try {
8484
val session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE)
8585
val producer = session.createProducer(queue)
86-
val message = session.createTextMessage("Test msg JNDI sent at:" + LocalDateTime.now())
86+
val message = session.createTextMessage("Test msg JNDI sent at: " + LocalDateTime.now())
8787
logger.info("About to send: " + message.getText)
8888
producer.send(message)
8989
val messageConsumer = session.createConsumer(queue)
9090

9191
val messageReceived = messageConsumer.receive(1000).asInstanceOf[TextMessage]
92-
logger.info("Received message JNDI:" + messageReceived.getText)
92+
logger.info("Received message JNDI: " + messageReceived.getText)
9393
} finally {
9494
connection.close()
9595
}

src/main/scala/alpakka/sftp/SftpEcho.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ object SftpEcho extends App {
226226
val sshClient = new SSHClient(new DefaultConfig)
227227
sshClient.addHostKeyVerifier(new PromiscuousVerifier) // to skip host verification
228228

229-
sshClient.loadKnownHosts()
230229
sshClient.connect(hostname, port)
231230
sshClient.authPassword(username, password)
232231
sshClient

src/test/scala/ReverseProxySimulation.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import scala.concurrent.duration.*
66

77
/**
88
* Start [[akkahttp.ReverseProxy]]
9-
* Run this simulation from cmd shell with:
9+
* Run this simulation from cmd shell:
1010
* sbt 'Gatling/testOnly ReverseProxySimulation'
11+
* or from sbt shell:
12+
* Gatling/testOnly ReverseProxySimulation
1113
*/
1214
class ReverseProxySimulation extends Simulation {
1315
val baseUrl = "http://127.0.0.1:8080"
@@ -24,7 +26,7 @@ class ReverseProxySimulation extends Simulation {
2426
http("Local Mode Request")
2527
.get("/")
2628
.header("Host", "local")
27-
.header("X-Correlation-ID", session => s"1-${session("correlationId").as[Int]}")
29+
.header("X-Correlation-ID", session => s"load-${session.userId}-${session("correlationId").as[Int]}")
2830
.check(status.is(200))
2931
.check(status.saveAs("responseStatus"))
3032
.check(header("X-Correlation-ID").saveAs("responseCorrelationId"))

0 commit comments

Comments
 (0)