Skip to content

Commit 5c6e10a

Browse files
committed
Updated dependencies, scala version
1 parent c12efe1 commit 5c6e10a

File tree

12 files changed

+34
-38
lines changed

12 files changed

+34
-38
lines changed

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/upload-artifact@v4
5757
with:
5858
name: Coverage Report
59-
path: target/scala-3.6.2/scoverage-report
59+
path: target/scala-3.6.4/scoverage-report
6060

6161
- name: Multi-Jvm Tests
6262
run: sbt -Dsbt.log.noformat=true -DgenerateStoryReport=true esw-integration-test/MultiJvm/test

.github/workflows/masterLinkCheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
jvm: temurin:1.21
1717
- uses: coursier/cache-action@v6
1818

19-
# - name: Paradox Validate Links
20-
# run: sbtn docs/paradoxValidateLinks
19+
- name: Paradox Validate Links
20+
run: sbtn docs/paradoxValidateLinks
2121

2222
- name: Notify slack
2323
if: always()

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
env:
12-
CSW_VERSION: "5726045"
13-
ESW_OCS_ENG_UI_VERSION: "0.3.1.TODO"
12+
CSW_VERSION: "f3455fc"
13+
ESW_OCS_ENG_UI_VERSION: "1cc4bac"
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: coursier/setup-action@v1.2.0
@@ -62,7 +62,7 @@ jobs:
6262
uses: actions/upload-artifact@v4
6363
with:
6464
name: Coverage Report
65-
path: target/scala-3.6.2/scoverage-report
65+
path: target/scala-3.6.4/scoverage-report
6666

6767
- name: Delete js targets
6868
continue-on-error: true

.scalafmt.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
version = 3.7.10
2-
runner.dialect = scala3
1+
version = 3.9.4
2+
runner.dialect = Scala36
33

44
project.excludeFilters = ["BuildInfo.scala", "target/"]
55

esw-agent-pekko/esw-agent-pekko-app/src/main/scala/esw/agent/pekko/app/process/ProcessManager.scala

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ class ProcessManager(
3636
verifyComponentIsNotAlreadyRegistered(command.connection)
3737
.flatMapE(_ => startComponent(command))
3838
.flatMapE(process =>
39-
waitForRegistration(command.connection, AgentTimeouts.DurationToWaitForComponentRegistration).flatMapE(_ =>
40-
reconcile(process, command.connection)
41-
)
39+
waitForRegistration(command.connection, AgentTimeouts.DurationToWaitForComponentRegistration)
40+
.flatMapE(_ => reconcile(process, command.connection))
4241
)
4342

4443
// un-registration is done as a part of process.onComplete callback
@@ -95,9 +94,8 @@ class ProcessManager(
9594
// in case process is still alive it just returns process as a Future
9695
private def reconcile(process: Process, connection: Connection): Future[Either[String, Process]] =
9796
if (!process.isAlive)
98-
unregisterComponent(connection).transform(_ =>
99-
Try(Left("Process terminated before registration was successful".tap(log.warn(_))))
100-
)
97+
unregisterComponent(connection)
98+
.transform(_ => Try(Left("Process terminated before registration was successful".tap(log.warn(_)))))
10199
else Future.successful(Right(process))
102100

103101
// it checks if the component of the given connection is registered in the location service within the given timeout

esw-gateway/esw-gateway-impl/src/test/scala/esw/gateway/impl/AdminImplTest.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ class AdminImplTest extends BaseTestSuite {
260260
val adminService: AdminImpl = new AdminImpl(locationService)
261261
val lifecycleState = randomFrom(SupervisorLifecycleState.values.toList)
262262

263-
val probe = actorTestKit.spawn(Behaviors.receiveMessage[GetSupervisorLifecycleState] {
264-
case GetSupervisorLifecycleState(replyTo) =>
263+
val probe =
264+
actorTestKit.spawn(Behaviors.receiveMessage[GetSupervisorLifecycleState] { case GetSupervisorLifecycleState(replyTo) =>
265265
replyTo ! lifecycleState
266266
Behaviors.same
267-
})
267+
})
268268

269269
when(locationService.find(PekkoConnection(componentId))).thenReturn(
270270
Future.successful(
@@ -296,11 +296,11 @@ class AdminImplTest extends BaseTestSuite {
296296
val adminService: AdminImpl = new AdminImpl(locationService)
297297
val lifecycleState = randomFrom(ContainerLifecycleState.values.toList)
298298

299-
val probe = actorTestKit.spawn(Behaviors.receiveMessage[GetContainerLifecycleState] {
300-
case GetContainerLifecycleState(replyTo) =>
299+
val probe =
300+
actorTestKit.spawn(Behaviors.receiveMessage[GetContainerLifecycleState] { case GetContainerLifecycleState(replyTo) =>
301301
replyTo ! lifecycleState
302302
Behaviors.same
303-
})
303+
})
304304

305305
when(locationService.find(PekkoConnection(componentId))).thenReturn(
306306
Future.successful(

esw-gateway/esw-gateway-server/src/main/scala/esw/gateway/server/GatewayMain.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ object GatewayMain extends CommandsEntryPoint {
2323

2424
override def commands: Seq[Command[?]] = List(StartCommand)
2525

26-
class Runner[T <: ServerCommand: Parser: Help] extends EswCommand[T] {
26+
class Runner[T <: ServerCommand: {Parser, Help}] extends EswCommand[T] {
2727
override def run(command: T, args: RemainingArgs): Unit = {
2828
command match {
2929
case StartOptions(port, local, commandRoleConfigPath, metricsEnabled) =>

jenkins/stil-nightly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pipeline {
4949
allowMissing : true,
5050
alwaysLinkToLastBuild: false,
5151
keepAll : true,
52-
reportDir : './target/scala-3.6.2/scoverage-report',
52+
reportDir : './target/scala-3.6.4/scoverage-report',
5353
reportFiles : 'index.html',
5454
reportName : "Scoverage Report"
5555
])

project/EswKeys.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
object EswKeys {
22
val homepageValue: String = "https://github.com/tmtsoftware/esw"
3-
// val scalaVersion: String = "3.4.2"
4-
val scalaVersion: String = "3.6.2" // Needs to match ammonite scala version
5-
val kotlinVersion: String = "2.1.0"
3+
val scalaVersion: String = "3.6.4" // Needs to match ammonite scala version
4+
val kotlinVersion: String = "2.1.10"
65
val projectName = "esw"
76
val projectVersion = "0.1.0-SNAPSHOT"
87
}

project/Libs.scala

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,28 @@ import scala.util.Using
99

1010
object Libs {
1111

12-
val `case-app` = "com.github.alexarchambault" %% "case-app" % "2.1.0-M29"
12+
val `case-app` = "com.github.alexarchambault" %% "case-app" % "2.1.0-M30"
1313
val `enumeratum` = dep("com.beachape" %%% "enumeratum" % "1.7.5") // MIT License
1414
val `mockito` = "org.scalatestplus" %% "mockito-3-4" % "3.2.10.0"
1515
val `dotty-cps-async` = dep("com.github.rssh" %%% "dotty-cps-async" % "0.9.23")
1616
val `scalatest` = dep("org.scalatest" %%% "scalatest" % "3.2.19") // Apache License 2.0
1717
val `caffeine` = "com.github.ben-manes.caffeine" % "caffeine" % "3.1.8"
1818
val `jupiter-interface` = "net.aichler" % "jupiter-interface" % "0.11.1"
19-
val `tmt-test-reporter` = "com.github.tmtsoftware.rtm" %% "rtm" % "b7997a9"
19+
val `tmt-test-reporter` = "com.github.tmtsoftware.rtm" %% "rtm" % "d45709a"
2020

21-
val blockhound = "io.projectreactor.tools" % "blockhound" % "1.0.10.RELEASE"
22-
val `embedded-keycloak` = "com.github.tmtsoftware.embedded-keycloak" %% "embedded-keycloak" % "8285bb5" // Apache 2.0
21+
val blockhound = "io.projectreactor.tools" % "blockhound" % "1.0.11.RELEASE"
22+
val `embedded-keycloak` = "com.github.tmtsoftware.embedded-keycloak" %% "embedded-keycloak" % "2268e39" // Apache 2.0
2323

2424
// Note: CrossVersion.full: version has to match exact scala version (_3.3.0 instead of _3)
25-
val `ammonite` = ("com.lihaoyi" % "ammonite_3.4.3" % "3.0.0-2-6342755f")
25+
val `ammonite` = ("com.lihaoyi" % "ammonite_3.6.3" % "3.0.2")
2626

2727
val `hdr-histogram` = "org.hdrhistogram" % "HdrHistogram" % "2.2.2"
2828
// val `slf4j-api` = "org.slf4j" % "slf4j-api" % "2.0.7"
2929
val `play-json` = "org.playframework" %% "play-json" % "3.0.3" // Apache 2.0
3030
}
3131

3232
object MSocket {
33-
// val Version = "0.6.0"
34-
val Version = "f35e6ea"
33+
val Version = "0.7.0"
3534

3635
val `msocket-api` = dep("com.github.tmtsoftware.msocket" %%% "msocket-api" % Version)
3736
val `msocket-http` = "com.github.tmtsoftware.msocket" %% "msocket-http" % Version
@@ -68,7 +67,7 @@ object Csw {
6867
}
6968

7069
object Pekko {
71-
val Version = "1.1.2" // all pekko is Apache License 2.0
70+
val Version = "1.1.3" // all pekko is Apache License 2.0
7271
val Org = "org.apache.pekko"
7372

7473
val `pekko-actor-typed` = Org %% "pekko-actor-typed" % Version

0 commit comments

Comments
 (0)