Cluster documentation
* 2 Sample applications with main programs to play with, and multi-node tests to illustrate testing, and code snippets for inclusion in rst docs * TransformationSample illustratates subscription to cluster events * StatsSample illustrates usage of cluster aware routers, both lookup and deploy
This commit is contained in:
parent
adeb4fc8b8
commit
0524ba0a65
10 changed files with 913 additions and 22 deletions
|
|
@ -326,11 +326,19 @@ object AkkaBuild extends Build {
|
|||
)
|
||||
|
||||
lazy val clusterSample = Project(
|
||||
id = "akka-sample-cluster",
|
||||
id = "akka-sample-cluster-experimental",
|
||||
base = file("akka-samples/akka-sample-cluster"),
|
||||
dependencies = Seq(cluster),
|
||||
settings = defaultSettings
|
||||
)
|
||||
dependencies = Seq(cluster, remoteTests % "compile;test->test;multi-jvm->multi-jvm", testkit % "test->test"),
|
||||
settings = defaultSettings ++ multiJvmSettings ++ Seq(
|
||||
// disable parallel tests
|
||||
parallelExecution in Test := false,
|
||||
extraOptions in MultiJvm <<= (sourceDirectory in MultiJvm) { src =>
|
||||
(name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq
|
||||
},
|
||||
scalatestOptions in MultiJvm := defaultMultiJvmScalatestOptions,
|
||||
jvmOptions in MultiJvm := defaultMultiJvmOptions
|
||||
)
|
||||
) configs (MultiJvm)
|
||||
|
||||
lazy val docs = Project(
|
||||
id = "akka-docs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue