use pekko: in urls and fix other branding issues (#184)

* use pekko: in urls and fix other branding issues

* update comments

* fix artery test

* test changes

* scalafmt

* try to fix some tests and fixing more akka refs

* more akka refs

* more changes

* more akka refs

* Update LeaseMajoritySpec.scala

* Update docs/src/main/paradox/testing.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update docs/src/main/paradox/project/migration-guides.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update actor/src/main/scala/org/apache/pekko/serialization/Serialization.scala

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* Update scripts/release-train-issue-template.md

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>

* revert link-validation change

* Update JacksonModule.scala

* revert key name changes to fix 2 tests

* fix one test

* more test trouble

* more test issues

* fix hashing test

* Update RouterTest.java

* update code comment

---------

Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
This commit is contained in:
PJ Fanning 2023-02-22 12:48:15 +01:00 committed by GitHub
parent 5691328e02
commit 7e653454a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
157 changed files with 606 additions and 601 deletions

View file

@ -259,7 +259,7 @@ class DeprecatedLeastShardAllocationStrategySpec extends PekkoSpec {
val member1 = newUpMember("127.0.0.1")
val member2 =
Member(
UniqueAddress(Address("akka", "myapp", "127.0.0.2", 252525), 1L),
UniqueAddress(Address("pekko", "myapp", "127.0.0.2", 252525), 1L),
Set(ClusterSettings.DcRolePrefix + ClusterSettings.DefaultDataCenter),
member1.appVersion)

View file

@ -40,7 +40,7 @@ import scala.collection.immutable.SortedSet
object LeastShardAllocationStrategySpec {
private object DummyActorRef extends MinimalActorRef {
override val path: ActorPath = RootActorPath(Address("akka", "myapp")) / "system" / "fake"
override val path: ActorPath = RootActorPath(Address("pekko", "myapp")) / "system" / "fake"
override def provider: ActorRefProvider = ???
}
@ -81,7 +81,7 @@ object LeastShardAllocationStrategySpec {
def newUpMember(host: String, port: Int = 252525, version: Version = Version("1.0.0")) =
Member(
UniqueAddress(Address("akka", "myapp", host, port), 1L),
UniqueAddress(Address("pekko", "myapp", host, port), 1L),
Set(ClusterSettings.DcRolePrefix + ClusterSettings.DefaultDataCenter),
version).copy(MemberStatus.Up)
@ -314,7 +314,7 @@ class LeastShardAllocationStrategySpec extends PekkoSpec {
val member1 = newUpMember("127.0.0.1")
val member2 =
Member(
UniqueAddress(Address("akka", "myapp", "127.0.0.2", 252525), 1L),
UniqueAddress(Address("pekko", "myapp", "127.0.0.2", 252525), 1L),
Set(ClusterSettings.DcRolePrefix + ClusterSettings.DefaultDataCenter),
member1.appVersion)

View file

@ -60,7 +60,7 @@ class ProxyShardingSpec extends PekkoSpec(ProxyShardingSpec.config) with WithLog
"Proxy should be found" in {
val proxyActor: ActorRef = Await.result(
system
.actorSelection("akka://ProxyShardingSpec/system/sharding/myTypeProxy")
.actorSelection("pekko://ProxyShardingSpec/system/sharding/myTypeProxy")
.resolveOne(FiniteDuration(5, SECONDS)),
3.seconds)
@ -80,7 +80,7 @@ class ProxyShardingSpec extends PekkoSpec(ProxyShardingSpec.config) with WithLog
val shardCoordinator: ActorRef =
Await.result(
system
.actorSelection("akka://ProxyShardingSpec/system/sharding/myTypeCoordinator")
.actorSelection("pekko://ProxyShardingSpec/system/sharding/myTypeCoordinator")
.resolveOne(FiniteDuration(5, SECONDS)),
3.seconds)

View file

@ -124,8 +124,8 @@ class RememberEntitiesShardIdExtractorChangeSpec
withSystem("ThirdIncarnation", secondExtractShardId) { (system, region) =>
val probe = TestProbe()(system)
// Only way to verify that they were "normal"-remember-started here is to look at debug logs, will show
// [akka://ThirdIncarnation@127.0.0.1:51533/system/sharding/ShardIdExtractorChange/1/RememberEntitiesStore] Recovery completed for shard [1] with [0] entities
// [akka://ThirdIncarnation@127.0.0.1:51533/system/sharding/ShardIdExtractorChange/2/RememberEntitiesStore] Recovery completed for shard [2] with [3] entities
// [pekko://ThirdIncarnation@127.0.0.1:51533/system/sharding/ShardIdExtractorChange/1/RememberEntitiesStore] Recovery completed for shard [1] with [0] entities
// [pekko://ThirdIncarnation@127.0.0.1:51533/system/sharding/ShardIdExtractorChange/2/RememberEntitiesStore] Recovery completed for shard [2] with [3] entities
awaitAssert {
region.tell(ShardRegion.GetShardRegionState, probe.ref)
val state = probe.expectMsgType[ShardRegion.CurrentShardRegionState]

View file

@ -121,15 +121,15 @@ class ClusterShardingMessageSerializerSpec extends PekkoSpec {
"be able to serialize GetCurrentRegions" in {
checkSerialization(ShardRegion.GetCurrentRegions)
checkSerialization(
ShardRegion.CurrentRegions(Set(Address("akka", "sys", "a", 2552), Address("akka", "sys", "b", 2552))))
ShardRegion.CurrentRegions(Set(Address("pekko", "sys", "a", 2552), Address("pekko", "sys", "b", 2552))))
}
"be able to serialize GetClusterShardingStats" in {
checkSerialization(ShardRegion.GetClusterShardingStats(3.seconds))
checkSerialization(
ShardRegion.ClusterShardingStats(Map(
Address("akka", "sys", "a", 2552) -> ShardRegion.ShardRegionStats(Map[ShardId, Int]("a" -> 23), Set("b")),
Address("akka", "sys", "b", 2552) -> ShardRegion.ShardRegionStats(Map[ShardId, Int]("a" -> 23), Set("b")))))
Address("pekko", "sys", "a", 2552) -> ShardRegion.ShardRegionStats(Map[ShardId, Int]("a" -> 23), Set("b")),
Address("pekko", "sys", "b", 2552) -> ShardRegion.ShardRegionStats(Map[ShardId, Int]("a" -> 23), Set("b")))))
}
}
}