A simpler ActorRefProvider config #20649 (#20767)

* Provide shorter aliases for the ActorRefProviders #20649
* Use the new actorefprovider aliases throughout code and docs
* Cleaner alias replacement logic
This commit is contained in:
Johan Andrén 2016-06-10 15:04:13 +02:00 committed by Patrik Nordwall
parent 3f72e7dad1
commit d6c048f59a
127 changed files with 148 additions and 137 deletions

View file

@ -24,7 +24,7 @@ object JepsenInspiredInsertSpec extends MultiNodeConfig {
commonConfig(ConfigFactory.parseString("""
akka.loglevel = INFO
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.log-dead-letters = off
akka.log-dead-letters-during-shutdown = off
akka.remote.log-remote-lifecycle-events = ERROR

View file

@ -26,7 +26,7 @@ object PerformanceSpec extends MultiNodeConfig {
commonConfig(ConfigFactory.parseString("""
akka.loglevel = ERROR
akka.stdout-loglevel = ERROR
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.log-dead-letters = off
akka.log-dead-letters-during-shutdown = off
akka.remote.log-remote-lifecycle-events = ERROR

View file

@ -22,7 +22,7 @@ object ReplicatorChaosSpec extends MultiNodeConfig {
commonConfig(ConfigFactory.parseString("""
akka.loglevel = INFO
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.cluster.roles = ["backend"]
akka.log-dead-letters-during-shutdown = off
"""))

View file

@ -21,7 +21,7 @@ object ReplicatorPruningSpec extends MultiNodeConfig {
commonConfig(ConfigFactory.parseString("""
akka.loglevel = INFO
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.log-dead-letters-during-shutdown = off
"""))

View file

@ -20,7 +20,7 @@ object ReplicatorSpec extends MultiNodeConfig {
commonConfig(ConfigFactory.parseString("""
akka.loglevel = INFO
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.log-dead-letters-during-shutdown = off
"""))

View file

@ -44,7 +44,7 @@ class LocalConcurrencySpec(_system: ActorSystem) extends TestKit(_system)
this(ActorSystem(
"LocalConcurrencySpec",
ConfigFactory.parseString("""
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.remote.netty.tcp.port=0
""")))
}

View file

@ -40,7 +40,7 @@ object LotsOfDataBot {
ConfigFactory.parseString("""
passive = off
max-entries = 100000
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.remote {
netty.tcp {
hostname = "127.0.0.1"

View file

@ -50,7 +50,7 @@ object WriteAggregatorSpec {
}
class WriteAggregatorSpec extends AkkaSpec("""
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"
akka.actor.provider = "cluster"
akka.remote.netty.tcp.port=0
""")
with ImplicitSender {

View file

@ -28,7 +28,7 @@ import com.typesafe.config.ConfigFactory
class ReplicatedDataSerializerSpec extends TestKit(ActorSystem(
"ReplicatedDataSerializerSpec",
ConfigFactory.parseString("""
akka.actor.provider=akka.cluster.ClusterActorRefProvider
akka.actor.provider=cluster
akka.remote.netty.tcp.port=0
"""))) with WordSpecLike with Matchers with BeforeAndAfterAll {

View file

@ -26,7 +26,7 @@ import com.typesafe.config.ConfigFactory
class ReplicatorMessageSerializerSpec extends TestKit(ActorSystem(
"ReplicatorMessageSerializerSpec",
ConfigFactory.parseString("""
akka.actor.provider=akka.cluster.ClusterActorRefProvider
akka.actor.provider=cluster
akka.remote.netty.tcp.port=0
"""))) with WordSpecLike with Matchers with BeforeAndAfterAll {