Moved ClusterNode interface, NodeAddress and ChangeListener into akka-actor as real Trait instead of using structural typing.
Refactored boot dependency in Cluster/Actor/Deployer. Added multi-jvm test for testing clustered actor deployment, check out as LocalActorRef and ClusterActorRef. Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
This commit is contained in:
parent
7778c93c1c
commit
ddb2a69c19
23 changed files with 709 additions and 265 deletions
|
|
@ -39,12 +39,6 @@ class ClusterDeployerSpec extends WordSpec with MustMatchers with BeforeAndAfter
|
|||
oldDeployment must equal(newDeployment.get)
|
||||
}
|
||||
}
|
||||
|
||||
"be able to create an actor deployed using ClusterDeployer, add it to ZooKeeper and then check the actor out for use" in {
|
||||
val pi = Actor.actorOf[HelloWorld]("service-hello")
|
||||
pi must not equal (null)
|
||||
pi.address must equal("service-hello")
|
||||
}
|
||||
}
|
||||
|
||||
override def beforeAll() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue