2019-09-09 05:25:33 -07:00
import akka.{ AutomaticModuleName, CopyrightHeaderForBuild, Paradox, ParadoxSupport, ScalafixIgnoreFilePlugin }
2019-04-19 07:53:27 +01:00
enablePlugins(
UnidocRoot,
UnidocWithPrValidation,
NoPublish,
CopyrightHeader,
2019-01-12 01:41:54 +08:00
CopyrightHeaderInPr,
ScalafixIgnoreFilePlugin,
JavaFormatterPlugin)
2016-03-10 10:45:35 +02:00
disablePlugins(MimaPlugin)
2018-12-05 16:30:21 +08:00
addCommandAlias(
2019-03-28 13:24:46 +01:00
name = "fixall",
2018-12-10 05:13:50 +08:00
value = ";scalafixEnable;compile:scalafix;test:scalafix;multi-jvm:scalafix;test:compile;reload")
2019-03-28 13:24:46 +01:00
2017-05-16 22:03:18 +02:00
import akka.AkkaBuild._
2019-04-19 07:53:27 +01:00
import akka.{ AkkaBuild, Dependencies, GitHub, OSGi, Protobuf, SigarLoader, VersionGenerator }
2019-01-12 01:41:54 +08:00
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
import com.typesafe.tools.mima.plugin.MimaPlugin
2019-04-19 07:53:27 +01:00
import sbt.Keys.{ initialCommands, parallelExecution }
2019-01-12 01:41:54 +08:00
import spray.boilerplate.BoilerplatePlugin
2017-05-16 22:03:18 +02:00
initialize := {
// Load system properties from a file to make configuration from Jenkins easier
loadSystemProperties("project/akka-build.properties")
initialize.value
}
2019-04-02 15:16:01 +02:00
akka.AkkaBuild.buildSettings
2019-04-19 07:53:27 +01:00
shellPrompt := { s =>
Project.extract(s).currentProject.id + " > "
}
2017-05-16 22:03:18 +02:00
resolverSettings
2018-02-11 19:56:52 +01:00
def isScala213: Boolean = System.getProperty("akka.build.scalaVersion", "").startsWith("2.13")
2018-09-03 12:42:13 +02:00
// When this is updated the set of modules in ActorSystem.allModules should also be updated
2019-04-02 15:16:01 +02:00
lazy val aggregatedProjects: Seq[ProjectReference] = List[ProjectReference](
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
actor,
actorTests,
actorTestkitTyped,
actorTyped,
actorTypedTests,
benchJmh,
cluster,
clusterMetrics,
clusterSharding,
clusterShardingTyped,
clusterTools,
clusterTyped,
coordination,
discovery,
distributedData,
docs,
jackson,
multiNodeTestkit,
osgi,
persistence,
persistenceQuery,
persistenceShared,
persistenceTck,
persistenceTyped,
protobuf,
2019-08-15 16:43:19 +01:00
protobufV3,
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
remote,
remoteTests,
slf4j,
stream,
streamTestkit,
streamTests,
streamTestsTck,
streamTyped,
testkit)
2019-04-19 07:53:27 +01:00
lazy val root = Project(id = "akka", base = file("."))
.aggregate(aggregatedProjects: _*)
.settings(rootSettings: _*)
2019-11-05 19:34:03 +01:00
.settings(unidocRootIgnoreProjects := Seq(remoteTests, benchJmh, protobuf, protobufV3, akkaScalaNightly, docs))
2019-04-19 07:53:27 +01:00
.settings(unmanagedSources in (Compile, headerCreate) := (baseDirectory.value / "project").**("*.scala").get)
.enablePlugins(CopyrightHeaderForBuild)
2017-05-16 22:03:18 +02:00
lazy val actor = akkaModule("akka-actor")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.actor)
.settings(OSGi.actor)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.actor"))
2019-04-19 07:53:27 +01:00
.settings(unmanagedSourceDirectories in Compile += {
val ver = scalaVersion.value.take(4)
(scalaSource in Compile).value.getParentFile / s"scala-$ver"
})
2017-10-30 03:13:14 +02:00
.settings(VersionGenerator.settings)
.enablePlugins(BoilerplatePlugin)
2017-05-16 22:03:18 +02:00
2017-05-22 15:56:57 +02:00
lazy val actorTests = akkaModule("akka-actor-tests")
2017-05-16 22:03:18 +02:00
.dependsOn(testkit % "compile->compile;test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.actorTests)
.enablePlugins(NoPublish)
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
2017-05-16 22:03:18 +02:00
2017-05-22 15:56:57 +02:00
lazy val akkaScalaNightly = akkaModule("akka-scala-nightly")
2019-04-18 15:41:02 +02:00
.aggregate(aggregatedProjects: _*)
2017-10-30 03:13:14 +02:00
.disablePlugins(MimaPlugin)
2018-03-13 23:45:55 +09:00
.disablePlugins(ValidatePullRequest, MimaPlugin, CopyrightHeaderInPr)
2017-05-16 22:03:18 +02:00
lazy val benchJmh = akkaModule("akka-bench-jmh")
2019-12-05 16:40:05 +01:00
.enablePlugins(Jdk9)
.dependsOn(Seq(actor, actorTyped, stream, streamTestkit, persistence, distributedData, jackson, testkit).map(
2019-04-19 07:53:27 +01:00
_ % "compile->compile;compile->test"): _*)
2017-10-30 03:13:14 +02:00
.settings(Dependencies.benchJmh)
2019-06-13 21:53:21 +02:00
.settings(javacOptions += "-parameters") // for Jackson
2018-03-13 23:45:55 +09:00
.enablePlugins(JmhPlugin, ScaladocNoVerificationOfDiagrams, NoPublish, CopyrightHeader)
.disablePlugins(MimaPlugin, WhiteSourcePlugin, ValidatePullRequest, CopyrightHeaderInPr)
2017-05-16 22:03:18 +02:00
lazy val cluster = akkaModule("akka-cluster")
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
.dependsOn(remote, remoteTests % "test->test", testkit % "test->test", jackson % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.cluster)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.cluster"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.cluster)
.settings(Protobuf.settings)
2019-04-19 07:53:27 +01:00
.settings(parallelExecution in Test := false)
2017-05-16 22:03:18 +02:00
.configs(MultiJvm)
2017-10-30 03:13:14 +02:00
.enablePlugins(MultiNodeScalaTest)
2017-05-16 22:03:18 +02:00
lazy val clusterMetrics = akkaModule("akka-cluster-metrics")
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
.dependsOn(
cluster % "compile->compile;test->test;multi-jvm->multi-jvm",
slf4j % "test->compile",
jackson % "test->test")
2017-10-30 03:13:14 +02:00
.settings(OSGi.clusterMetrics)
.settings(Dependencies.clusterMetrics)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.cluster.metrics"))
2017-10-30 03:13:14 +02:00
.settings(Protobuf.settings)
.settings(SigarLoader.sigarSettings)
2019-04-19 07:53:27 +01:00
.settings(parallelExecution in Test := false)
2017-05-16 22:03:18 +02:00
.configs(MultiJvm)
2017-10-30 03:13:14 +02:00
.enablePlugins(MultiNodeScalaTest)
2017-05-16 22:03:18 +02:00
lazy val clusterSharding = akkaModule("akka-cluster-sharding")
2019-04-19 07:53:27 +01:00
// TODO akka-persistence dependency should be provided in pom.xml artifact.
// If I only use "provided" here it works, but then we can't run tests.
// Scope "test" is alright in the pom.xml, but would have been nicer with
// provided.
2017-05-16 22:03:18 +02:00
.dependsOn(
2017-10-30 03:13:14 +02:00
cluster % "compile->compile;test->test;multi-jvm->multi-jvm",
distributedData,
2018-04-11 03:45:26 +02:00
persistence % "compile->compile",
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
clusterTools % "compile->compile;test->test",
jackson % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.clusterSharding)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.cluster.sharding"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.clusterSharding)
.settings(Protobuf.settings)
2017-05-22 15:56:57 +02:00
.configs(MultiJvm)
2017-10-30 03:13:14 +02:00
.enablePlugins(MultiNode, ScaladocNoVerificationOfDiagrams)
2017-05-22 15:56:57 +02:00
lazy val clusterTools = akkaModule("akka-cluster-tools")
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
.dependsOn(cluster % "compile->compile;test->test;multi-jvm->multi-jvm", coordination, jackson % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.clusterTools)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.cluster.tools"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.clusterTools)
.settings(Protobuf.settings)
2017-05-22 15:56:57 +02:00
.configs(MultiJvm)
2017-10-30 03:13:14 +02:00
.enablePlugins(MultiNode, ScaladocNoVerificationOfDiagrams)
2017-05-22 15:56:57 +02:00
2017-05-16 22:03:18 +02:00
lazy val distributedData = akkaModule("akka-distributed-data")
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
.dependsOn(cluster % "compile->compile;test->test;multi-jvm->multi-jvm", jackson % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.distributedData)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.cluster.ddata"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.distributedData)
.settings(Protobuf.settings)
2017-05-16 22:03:18 +02:00
.configs(MultiJvm)
2017-10-30 03:13:14 +02:00
.enablePlugins(MultiNodeScalaTest)
2017-05-16 22:03:18 +02:00
2017-05-22 15:56:57 +02:00
lazy val docs = akkaModule("akka-docs")
2019-12-05 16:40:05 +01:00
.configs(akka.Jdk9.TestJdk9)
2017-05-22 15:56:57 +02:00
.dependsOn(
2019-04-19 07:53:27 +01:00
actor,
cluster,
clusterMetrics,
slf4j,
osgi,
persistenceTck,
persistenceQuery,
distributedData,
stream,
2019-12-05 16:40:05 +01:00
stream % "TestJdk9->CompileJdk9",
2019-04-19 07:53:27 +01:00
actorTyped,
2017-05-22 15:56:57 +02:00
clusterTools % "compile->compile;test->test",
2017-07-06 08:05:48 -07:00
clusterSharding % "compile->compile;test->test",
2017-05-22 15:56:57 +02:00
testkit % "compile->compile;test->test",
remote % "compile->compile;test->test",
2018-04-11 03:45:26 +02:00
persistence % "compile->compile;test->test",
2017-12-18 14:50:46 +00:00
actorTyped % "compile->compile;test->test",
persistenceTyped % "compile->compile;test->test",
clusterTyped % "compile->compile;test->test",
clusterShardingTyped % "compile->compile;test->test",
actorTypedTests % "compile->compile;test->test",
2019-04-19 07:53:27 +01:00
streamTestkit % "compile->compile;test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.docs)
2019-09-09 05:25:33 -07:00
.settings(Paradox.settings)
.settings(ParadoxSupport.paradoxWithCustomDirectives)
2018-04-18 11:44:37 +02:00
.enablePlugins(
2019-04-19 07:53:27 +01:00
AkkaParadoxPlugin,
DeployRsync,
NoPublish,
ParadoxBrowse,
2018-04-18 11:44:37 +02:00
ScaladocNoVerificationOfDiagrams,
2019-12-05 16:40:05 +01:00
StreamOperatorsIndexGenerator,
Jdk9)
2017-10-30 03:13:14 +02:00
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
2018-12-05 16:30:21 +08:00
.disablePlugins(ScalafixPlugin)
2017-05-16 22:03:18 +02:00
2018-02-11 19:56:52 +01:00
lazy val jackson = akkaModule("akka-serialization-jackson")
2019-08-15 16:43:19 +01:00
.dependsOn(
actor,
actorTyped % "optional->compile",
stream % "optional->compile",
actorTests % "test->test",
testkit % "test->test")
2018-02-11 19:56:52 +01:00
.settings(Dependencies.jackson)
.settings(AutomaticModuleName.settings("akka.serialization.jackson"))
.settings(OSGi.jackson)
.settings(javacOptions += "-parameters")
.enablePlugins(ScaladocNoVerificationOfDiagrams)
2017-05-22 15:56:57 +02:00
lazy val multiNodeTestkit = akkaModule("akka-multi-node-testkit")
.dependsOn(remote, testkit)
2019-05-29 09:50:28 +01:00
.settings(Dependencies.multiNodeTestkit)
2017-10-30 03:13:14 +02:00
.settings(Protobuf.settings)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.remote.testkit"))
2017-10-30 03:13:14 +02:00
.settings(AkkaBuild.mayChangeSettings)
2017-05-22 15:56:57 +02:00
lazy val osgi = akkaModule("akka-osgi")
.dependsOn(actor)
2017-10-30 03:13:14 +02:00
.settings(Dependencies.osgi)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.osgi"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.osgi)
2019-04-19 07:53:27 +01:00
.settings(parallelExecution in Test := false)
2017-05-16 22:03:18 +02:00
lazy val persistence = akkaModule("akka-persistence")
2019-10-07 11:02:08 +02:00
.dependsOn(actor, stream, testkit % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.persistence)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.persistence"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.persistence)
.settings(Protobuf.settings)
2019-04-19 07:53:27 +01:00
.settings(fork in Test := true)
2017-05-16 22:03:18 +02:00
lazy val persistenceQuery = akkaModule("akka-persistence-query")
2019-04-19 07:53:27 +01:00
.dependsOn(stream, persistence % "compile->compile;test->test", streamTestkit % "test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.persistenceQuery)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.persistence.query"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.persistenceQuery)
2019-04-19 07:53:27 +01:00
.settings(fork in Test := true)
2017-10-30 03:13:14 +02:00
.enablePlugins(ScaladocNoVerificationOfDiagrams)
2017-05-16 22:03:18 +02:00
2017-05-22 15:56:57 +02:00
lazy val persistenceShared = akkaModule("akka-persistence-shared")
2019-10-07 11:02:08 +02:00
.dependsOn(persistence % "test->test", testkit % "test->test", remote % "test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.persistenceShared)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.persistence.shared"))
2019-04-19 07:53:27 +01:00
.settings(fork in Test := true)
2017-10-30 03:13:14 +02:00
.enablePlugins(NoPublish)
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
2017-05-22 15:56:57 +02:00
2017-05-16 22:03:18 +02:00
lazy val persistenceTck = akkaModule("akka-persistence-tck")
2018-04-11 03:45:26 +02:00
.dependsOn(persistence % "compile->compile;test->test", testkit % "compile->compile;test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.persistenceTck)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.persistence.tck"))
2019-03-28 13:24:46 +01:00
//.settings(OSGi.persistenceTck) TODO: we do need to export this as OSGi bundle too?
2019-04-19 07:53:27 +01:00
.settings(fork in Test := true)
2017-10-30 03:13:14 +02:00
.disablePlugins(MimaPlugin)
2017-05-16 22:03:18 +02:00
2017-05-22 15:56:57 +02:00
lazy val protobuf = akkaModule("akka-protobuf")
2017-10-30 03:13:14 +02:00
.settings(OSGi.protobuf)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.protobuf"))
2017-10-30 03:13:14 +02:00
.enablePlugins(ScaladocNoVerificationOfDiagrams)
.disablePlugins(MimaPlugin)
2017-05-22 15:56:57 +02:00
2019-08-15 16:43:19 +01:00
lazy val protobufV3 = akkaModule("akka-protobuf-v3")
.settings(AutomaticModuleName.settings("akka.protobuf.v3"))
.enablePlugins(ScaladocNoVerificationOfDiagrams)
.disablePlugins(MimaPlugin)
.settings(
libraryDependencies += Dependencies.Compile.protobufRuntime,
assemblyShadeRules in assembly := Seq(
ShadeRule
.rename("com.google.protobuf.**" -> "akka.protobufv3.internal.@1")
.inLibrary(Dependencies.Compile.protobufRuntime)),
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false, includeBin = false),
2019-10-08 10:55:28 +02:00
crossPaths := false,
2019-08-15 16:43:19 +01:00
autoScalaLibrary := false, // do not include scala dependency in pom
exportJars := true, // in dependent projects, use assembled and shaded jar
makePomConfiguration := makePomConfiguration.value
.withConfigurations(Vector(Compile)), // prevent original dependency to be added to pom as runtime dep
2019-11-26 11:02:06 +01:00
packageBin in Compile := ReproducibleBuildsPlugin.postProcessJar((assembly in Compile).value), // package by running assembly
2019-08-15 16:43:19 +01:00
// Prevent cyclic task dependencies, see https://github.com/sbt/sbt-assembly/issues/365
fullClasspath in assembly := (managedClasspath in Runtime).value, // otherwise, there's a cyclic dependency between packageBin and assembly
test in assembly := {}, // assembly runs tests for unknown reason which introduces another cyclic dependency to packageBin via exportedJars
description := "Akka Protobuf V3 is a shaded version of the protobuf runtime. Original POM: https://github.com/protocolbuffers/protobuf/blob/v3.9.0/java/pom.xml")
lazy val remote =
akkaModule("akka-remote")
.dependsOn(
actor,
stream,
protobuf % "test",
actorTests % "test->test",
testkit % "test->test",
streamTestkit % "test",
jackson % "test->test")
.settings(Dependencies.remote)
.settings(AutomaticModuleName.settings("akka.remote"))
.settings(OSGi.remote)
.settings(Protobuf.settings)
.settings(parallelExecution in Test := false)
2017-05-22 15:56:57 +02:00
lazy val remoteTests = akkaModule("akka-remote-tests")
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
.dependsOn(
actorTests % "test->test",
remote % "test->test",
streamTestkit % "test",
multiNodeTestkit,
jackson % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.remoteTests)
.settings(Protobuf.settings)
2019-04-19 07:53:27 +01:00
.settings(parallelExecution in Test := false)
2017-05-22 15:56:57 +02:00
.configs(MultiJvm)
2017-10-30 03:13:14 +02:00
.enablePlugins(MultiNodeScalaTest, NoPublish)
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
2017-05-22 15:56:57 +02:00
lazy val slf4j = akkaModule("akka-slf4j")
.dependsOn(actor, testkit % "test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.slf4j)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.slf4j"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.slf4j)
2017-05-16 22:03:18 +02:00
lazy val stream = akkaModule("akka-stream")
2019-08-15 16:43:19 +01:00
.dependsOn(actor, protobufV3)
2017-10-30 03:13:14 +02:00
.settings(Dependencies.stream)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.stream"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.stream)
2018-01-02 18:43:27 +01:00
.settings(Protobuf.settings)
2018-07-02 16:38:07 +02:00
.enablePlugins(BoilerplatePlugin, Jdk9)
2017-05-16 22:03:18 +02:00
lazy val streamTestkit = akkaModule("akka-stream-testkit")
.dependsOn(stream, testkit % "compile->compile;test->test")
2017-10-30 03:13:14 +02:00
.settings(Dependencies.streamTestkit)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.stream.testkit"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.streamTestkit)
2017-11-09 09:12:58 +01:00
.disablePlugins(MimaPlugin)
2017-05-16 22:03:18 +02:00
lazy val streamTests = akkaModule("akka-stream-tests")
2019-12-05 16:40:05 +01:00
.configs(akka.Jdk9.TestJdk9)
.dependsOn(
streamTestkit % "test->test",
remote % "test->test",
stream % "TestJdk9->CompileJdk9"
)
2017-10-30 03:13:14 +02:00
.settings(Dependencies.streamTests)
2019-12-05 16:40:05 +01:00
.enablePlugins(NoPublish, Jdk9)
2017-10-30 03:13:14 +02:00
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
2017-05-16 22:03:18 +02:00
lazy val streamTestsTck = akkaModule("akka-stream-tests-tck")
.dependsOn(streamTestkit % "test->test", stream)
2017-10-30 03:13:14 +02:00
.settings(Dependencies.streamTestsTck)
.settings(
// These TCK tests are using System.gc(), which
// is causing long GC pauses when running with G1 on
// the CI build servers. Therefore we fork these tests
// to run with small heap without G1.
2019-04-19 07:53:27 +01:00
fork in Test := true)
2017-10-30 03:13:14 +02:00
.enablePlugins(NoPublish)
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
lazy val testkit = akkaModule("akka-testkit")
.dependsOn(actor)
.settings(Dependencies.testkit)
2017-11-14 11:41:37 +09:00
.settings(AutomaticModuleName.settings("akka.actor.testkit"))
2017-10-30 03:13:14 +02:00
.settings(OSGi.testkit)
2019-04-19 07:53:27 +01:00
.settings(initialCommands += "import akka.testkit._")
2017-05-16 22:03:18 +02:00
2017-12-18 14:50:46 +00:00
lazy val actorTyped = akkaModule("akka-actor-typed")
2019-11-05 19:34:03 +01:00
.dependsOn(actor, slf4j)
.settings(AutomaticModuleName.settings("akka.actor.typed"))
2019-08-23 13:00:00 +01:00
.settings(Dependencies.actorTyped)
2018-11-12 20:10:20 +01:00
.settings(OSGi.actorTyped)
2019-04-19 07:53:27 +01:00
.settings(initialCommands :=
"""
2018-01-22 16:28:16 +00:00
import akka.actor.typed._
import akka.actor.typed.scaladsl.Behaviors
2017-10-30 03:13:14 +02:00
import scala.concurrent._
import scala.concurrent.duration._
import akka.util.Timeout
implicit val timeout = Timeout(5.seconds)
2019-04-19 07:53:27 +01:00
""")
2017-10-30 03:13:14 +02:00
2017-12-18 14:50:46 +00:00
lazy val persistenceTyped = akkaModule("akka-persistence-typed")
.dependsOn(
actorTyped,
2018-05-25 10:23:04 +01:00
persistence % "compile->compile;test->test",
persistenceQuery % "test",
actorTypedTests % "test->test",
2019-09-30 19:03:22 +02:00
actorTestkitTyped % "test->test",
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
jackson % "test->test")
.settings(javacOptions += "-parameters") // for Jackson
2018-05-03 06:30:00 -05:00
.settings(Dependencies.persistenceShared)
2017-12-18 14:50:46 +00:00
.settings(AutomaticModuleName.settings("akka.persistence.typed"))
2018-11-12 20:10:20 +01:00
.settings(OSGi.persistenceTyped)
2017-09-22 12:17:04 +02:00
2017-12-18 14:50:46 +00:00
lazy val clusterTyped = akkaModule("akka-cluster-typed")
2017-09-22 12:17:04 +02:00
.dependsOn(
2017-12-18 14:50:46 +00:00
actorTyped,
2018-07-03 09:03:13 +01:00
cluster % "compile->compile;test->test;multi-jvm->multi-jvm",
2017-09-21 17:58:29 +02:00
clusterTools,
2017-12-18 14:50:46 +00:00
distributedData,
2018-04-11 03:45:26 +02:00
persistence % "test->test",
persistenceTyped % "test->test",
2018-05-15 19:38:43 +02:00
actorTestkitTyped % "test->test",
2018-04-27 12:44:44 +01:00
actorTypedTests % "test->test",
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
remoteTests % "test->test",
jackson % "test->test")
2017-12-18 14:50:46 +00:00
.settings(AutomaticModuleName.settings("akka.cluster.typed"))
2018-04-27 12:44:44 +01:00
.configs(MultiJvm)
.enablePlugins(MultiNodeScalaTest)
2017-12-18 14:50:46 +00:00
lazy val clusterShardingTyped = akkaModule("akka-cluster-sharding-typed")
.dependsOn(
2018-04-27 12:44:44 +01:00
clusterTyped % "compile->compile;test->test;multi-jvm->multi-jvm",
2017-09-21 17:58:29 +02:00
clusterSharding,
2018-05-15 19:38:43 +02:00
actorTestkitTyped % "test->test",
2018-01-22 13:47:18 +00:00
actorTypedTests % "test->test",
2018-04-27 12:44:44 +01:00
persistenceTyped % "test->test",
Disable Java serialization by default, #22333 (#27285)
* akka.actor.allow-java-serialization = off
* Moved primitive (Long, Int, String, ByteString) serializers
from akka-remote to akka-actor since they had no dependency
and are useful also in local systems, e.g. persistence.
* e.g. needed for persistence-tck
* less allow-java-serialization=on in tests
* CborSerializable in Jackson/test module for ease of use
* JavaSerializable for Java serialization in tests, already in akka-testkit,
but misconfigured
* Made tests pass
* allow-java-serialization=on in akka-persistence
* allow-java-serialization=on in classic remoting tests
* JavaSerializable and CborSerializable in other remoting tests
* Added serialization for
* Boolean
* java.util.concurrent.TimeoutException, AskTimeoutException
* support for testing serialization with the inmem journal
* utility to verifySerialization, in SerializationTestKit
* remove AccountExampleWithCommandHandlersInState becuase not possible to serialize State when it's not static
* Effect() is factory in EventSourcedBehavior class
* test the account examples
* SharedLeveldbJournal.configToEnableJavaSerializationForTest
* support for exceptions from remote deployed child actors
* fallback to akka.remote.serialization.ThrowableNotSerializableException
if exception is not serializable when wrapped in system messages from
remote deployed child actors and Status.Failure messages
* it's implemented in `WrappedPayloadSupport.payloadBuilder`
* update reference documentation
* serialize-messages=off in most places, separate ticket for
improving or removing that feature
* migration guide, including description of rolling update
* fix 2.13 compiler error
* minor review feedback
2019-07-11 14:04:24 +02:00
remoteTests % "test->test",
jackson % "test->test")
.settings(javacOptions += "-parameters") // for Jackson
2017-12-18 14:50:46 +00:00
.settings(AutomaticModuleName.settings("akka.cluster.sharding.typed"))
// To be able to import ContainerFormats.proto
2019-03-28 13:24:46 +01:00
.settings(Protobuf.importPath := Some(baseDirectory.value / ".." / "akka-remote" / "src" / "main" / "protobuf"))
2018-04-27 12:44:44 +01:00
.configs(MultiJvm)
.enablePlugins(MultiNodeScalaTest)
2017-12-18 14:50:46 +00:00
2017-09-07 21:07:41 +02:00
lazy val streamTyped = akkaModule("akka-stream-typed")
.dependsOn(
actorTyped,
stream,
2018-05-07 19:23:30 +09:00
streamTestkit % "test->test",
2018-05-15 19:38:43 +02:00
actorTestkitTyped % "test->test",
2019-04-19 07:53:27 +01:00
actorTypedTests % "test->test")
2017-09-07 21:07:41 +02:00
.settings(AutomaticModuleName.settings("akka.stream.typed"))
2018-01-19 19:22:40 +07:00
.enablePlugins(ScaladocNoVerificationOfDiagrams)
2017-12-18 14:50:46 +00:00
2018-05-15 19:38:43 +02:00
lazy val actorTestkitTyped = akkaModule("akka-actor-testkit-typed")
2019-09-09 05:25:33 -07:00
.dependsOn(actorTyped, slf4j, testkit % "compile->compile;test->test")
2018-05-15 19:38:43 +02:00
.settings(AutomaticModuleName.settings("akka.actor.testkit.typed"))
.settings(Dependencies.actorTestkitTyped)
2017-12-18 14:50:46 +00:00
lazy val actorTypedTests = akkaModule("akka-actor-typed-tests")
2019-04-19 07:53:27 +01:00
.dependsOn(actorTyped, actorTestkitTyped % "compile->compile;test->test")
2017-10-30 03:13:14 +02:00
.settings(AkkaBuild.mayChangeSettings)
.disablePlugins(MimaPlugin)
2017-12-11 11:18:43 +01:00
.enablePlugins(NoPublish)
2017-05-22 15:56:57 +02:00
2018-12-05 13:01:24 +00:00
lazy val discovery = akkaModule("akka-discovery")
2019-04-19 07:53:27 +01:00
.dependsOn(actor, testkit % "test->test", actorTests % "test->test")
2018-12-05 13:01:24 +00:00
.settings(Dependencies.discovery)
.settings(AutomaticModuleName.settings("akka.discovery"))
.settings(OSGi.discovery)
2017-05-16 22:03:18 +02:00
2019-03-28 13:24:46 +01:00
lazy val coordination = akkaModule("akka-coordination")
2019-04-19 07:53:27 +01:00
.dependsOn(actor, testkit % "test->test", actorTests % "test->test", cluster % "test->test")
2019-03-28 13:24:46 +01:00
.settings(Dependencies.coordination)
.settings(AutomaticModuleName.settings("akka.coordination"))
.settings(OSGi.coordination)
2017-05-16 22:03:18 +02:00
def akkaModule(name: String): Project =
Project(id = name, base = file(name))
2019-03-18 17:12:21 +01:00
.enablePlugins(ReproducibleBuildsPlugin)
2017-06-29 11:01:23 +01:00
.settings(akka.AkkaBuild.buildSettings)
2017-10-30 03:13:14 +02:00
.settings(akka.AkkaBuild.defaultSettings)
.enablePlugins(BootstrapGenjavadoc)
2019-02-15 10:44:03 -08:00
/* Command aliases one can run locally against a module
- where three or more tasks should be checked for faster turnaround
- to avoid another push and CI cycle should mima or paradox fail.
- the assumption is the user has already run tests, hence the test:compile. */
def commandValue(p: Project, externalTest: Option[Project] = None) = {
val test = externalTest.getOrElse(p)
val optionalMima = if (p.id.endsWith("-typed")) "" else s";${p.id}/mimaReportBinaryIssues"
2019-02-09 14:21:16 +01:00
val optionalExternalTestFormat = externalTest.map(t => s";${t.id}/scalafmtAll").getOrElse("")
2019-03-12 11:43:02 +00:00
s";${p.id}/scalafmtAll$optionalExternalTestFormat;${test.id}/test:compile$optionalMima;${docs.id}/paradox;${test.id}:validateCompile"
2019-02-15 10:44:03 -08:00
}
addCommandAlias("allActor", commandValue(actor, Some(actorTests)))
addCommandAlias("allRemote", commandValue(remote, Some(remoteTests)))
2019-02-21 14:12:55 +00:00
addCommandAlias("allClusterCore", commandValue(cluster))
addCommandAlias("allClusterMetrics", commandValue(clusterMetrics))
2019-02-15 10:44:03 -08:00
addCommandAlias("allClusterSharding", commandValue(clusterSharding))
2019-02-21 14:12:55 +00:00
addCommandAlias("allClusterTools", commandValue(clusterTools))
2019-04-19 07:53:27 +01:00
addCommandAlias(
"allCluster",
Seq(commandValue(cluster), commandValue(distributedData), commandValue(clusterSharding), commandValue(clusterTools)).mkString)
2019-03-28 13:24:46 +01:00
addCommandAlias("allCoordination", commandValue(coordination))
addCommandAlias("allDistributedData", commandValue(distributedData))
2019-02-15 10:44:03 -08:00
addCommandAlias("allPersistence", commandValue(persistence))
addCommandAlias("allStream", commandValue(stream, Some(streamTests)))
addCommandAlias("allDiscovery", commandValue(discovery))
2019-04-19 07:53:27 +01:00
addCommandAlias(
"allTyped",
Seq(
commandValue(actorTyped, Some(actorTypedTests)),
commandValue(actorTestkitTyped),
commandValue(clusterTyped),
commandValue(clusterShardingTyped),
commandValue(persistenceTyped),
commandValue(streamTyped)).mkString)