Migrate to Apache Pekko 58/111858/33
authorIvan Hrasko <ivan.hrasko@pantheon.tech>
Mon, 27 May 2024 07:44:26 +0000 (09:44 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Oct 2024 12:06:54 +0000 (14:06 +0200)
Migrate to Apache Pekko 1.0.2 according to:
https://pekko.apache.org/docs/pekko/current/project/migration-guides.html

To make the transition smooth we have replaced Akka with Pekko
in repackaged-akka package and renamed it to repackaged-pekko.

Pekko is changing configuration files as well, mostly
akka is changed to pekko. Thus we have introduced updated files
under new names - pekko.conf, factory-pekko.conf, etc.
See also: https://github.com/apache/pekko

We have copy-pasted *_reference.conf files from Pekko, they are
changing akka to pekko naming mostly except of:
- some Pekko ports are different that akka's
- 2552 has changed to 7355
- 25520 has changed to 17355
We do not expect this would have impact on end-users.

The only change we have made in reference files is that we have
allow-java-serialization = on enabled by default.

Apache akka licence has been changed to Apache pekko licence.

JIRA: CONTROLLER-2120
Change-Id: I2c71d939dbf7fb277e03a85de4ca04b9333ff211
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Signed-off-by: Samuel Schneider <samuel.schneider@pantheon.tech>
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
473 files changed:
akka/repackaged-akka-jar/src/main/resources/LICENSE [deleted file]
artifacts/pom.xml
benchmark/segjournal-benchmark/pom.xml
benchmark/segjournal-benchmark/src/main/java/org/opendaylight/controller/akka/segjournal/BenchmarkMain.java
benchmark/segjournal-benchmark/src/main/java/org/opendaylight/controller/akka/segjournal/BenchmarkUtils.java
bundle-parent/pom.xml
features/odl-controller-akka/pom.xml
features/odl-controller-akka/src/main/history/dependencies.xml
features/odl-mdsal-distributed-datastore/pom.xml
features/odl-mdsal-distributed-datastore/src/main/feature/feature.xml
opendaylight/md-sal/cds-access-api/pom.xml
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/AbortLocalTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/AbstractLocalTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/AbstractReadPathTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/AbstractReadTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/CommitLocalTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/ConnectClientRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/ConnectClientSuccess.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/CreateLocalHistoryRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/DestroyLocalHistoryRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/ExistsTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/IncrementTransactionSequenceRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/LocalHistoryRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/ModifyTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/ModifyTransactionRequestBuilder.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/NotLeaderException.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/PurgeLocalHistoryRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/ReadTransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/SkipTransactionsRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/TransactionAbortRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/TransactionDoCommitRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/TransactionPreCommitRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/TransactionPurgeRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/commands/TransactionRequest.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/concepts/Request.java
opendaylight/md-sal/cds-access-api/src/main/java/org/opendaylight/controller/cluster/access/concepts/RequestEnvelope.java
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/commands/ConnectClientSuccessTest.java
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/commands/ModifyTransactionRequestBuilderTest.java
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/commands/NotLeaderExceptionTest.java
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/concepts/AbstractRequestTest.java
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/concepts/RequestEnvelopeTest.java
opendaylight/md-sal/cds-access-api/src/test/java/org/opendaylight/controller/cluster/access/concepts/UnsupportedRequestExceptionTest.java
opendaylight/md-sal/cds-access-client/pom.xml
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/AbstractClientActor.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/AbstractClientActorBehavior.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/AbstractClientActorContext.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/AbstractClientConnection.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/BackendInfo.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/BackendInfoResolver.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/ClientActorContext.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/InitialClientActorContext.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/InternalCommand.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/RecoveringClientActorBehavior.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/SavingClientActorBehavior.java
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/TransmitQueue.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/AbstractClientActorTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/AbstractClientConnectionTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/AbstractTransmitQueueTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/AccessClientUtil.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ActorBehaviorTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ClientActorContextTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ConnectingClientConnectionTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/ConnectionEntryTest.java
opendaylight/md-sal/cds-access-client/src/test/java/org/opendaylight/controller/cluster/access/client/MockedSnapshotStore.java
opendaylight/md-sal/cds-access-client/src/test/resources/application.conf
opendaylight/md-sal/eos-dom-akka/pom.xml
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/AkkaEntityOwnershipService.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/bootstrap/EOSMain.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/bootstrap/command/GetRunningContext.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/bootstrap/command/RunningContext.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/bootstrap/command/Terminate.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/EntityRpcHandler.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/OwnerStateChecker.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/AbstractEntityRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetCandidates.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetCandidatesForEntity.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetEntitiesRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetEntityOwnerRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetEntityRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetOwnerForEntity.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/GetOwnershipState.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/InternalGetReply.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/OwnerDataResponse.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/SingleEntityOwnerDataResponse.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/checker/command/StateCheckerRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/AbstractSupervisor.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/CandidateCleaner.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/IdleSupervisor.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/OwnerSupervisor.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/OwnerSyncer.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/AbstractEntityRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/ActivateDataCenter.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/CandidatesChanged.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/ClearCandidates.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/ClearCandidatesForMember.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/ClearCandidatesUpdateResponse.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/DeactivateDataCenter.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/GetEntitiesBackendRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/GetEntityBackendRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/GetEntityOwnerBackendRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/InitialCandidateSync.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/InitialOwnerSync.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/InternalClusterEvent.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/MemberDownEvent.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/MemberReachableEvent.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/MemberUnreachableEvent.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/MemberUpEvent.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/OwnerChanged.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/owner/supervisor/command/OwnerSupervisorRequest.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/candidate/CandidateRegistry.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/candidate/CandidateRegistryInit.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/candidate/command/InternalUpdateResponse.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/listener/owner/SingleEntityListenerActor.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/listener/owner/command/InitialOwnerSync.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/listener/owner/command/OwnerChanged.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/listener/type/EntityTypeListenerActor.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/listener/type/EntityTypeListenerRegistry.java
opendaylight/md-sal/eos-dom-akka/src/main/java/org/opendaylight/controller/eos/akka/registry/listener/type/command/CandidatesChanged.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/AbstractNativeEosTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/AkkaEntityOwnershipServiceTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/DataCentersTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/EntityRpcHandlerTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/SingleNodeTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/ThreeNodeBaseTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/ThreeNodeReachabilityTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/owner/supervisor/OwnerSupervisorTest.java
opendaylight/md-sal/eos-dom-akka/src/test/java/org/opendaylight/controller/eos/akka/service/ClusterSingletonIntegrationTest.java
opendaylight/md-sal/eos-dom-akka/src/test/resources/application.conf
opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ClientActor.java
opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleActor.java
opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/ExampleRoleChangeListener.java
opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/LogGenerator.java
opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/Main.java
opendaylight/md-sal/sal-akka-raft-example/src/main/java/org/opendaylight/controller/cluster/example/TestDriver.java
opendaylight/md-sal/sal-akka-raft-example/src/main/resources/application.conf
opendaylight/md-sal/sal-akka-raft/pom.xml
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ClientRequestTracker.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/GetSnapshotReplyActor.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/NoopProcedure.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/NoopRaftActorSnapshotCohort.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActor.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorContext.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorContextImpl.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorDelegatingPersistentDataProvider.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorLeadershipTransferCohort.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorRecoverySupport.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorServerConfigurationSupport.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorSnapshotCohort.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorSnapshotMessageSupport.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/SnapshotManager.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/TimedRunnable.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/ApplySnapshot.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/ApplyState.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/CaptureSnapshot.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/CaptureSnapshotReply.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/ElectionTimeout.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/Replicate.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/SendHeartBeat.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/SnapshotComplete.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/base/messages/TimeoutNow.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractLeader.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractRaftActorBehavior.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Candidate.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Follower.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/IsolatedLeader.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Leader.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/PreLeader.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/RaftActorBehavior.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/SyncStatusTracker.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetOnDemandRaftState.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetSnapshot.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/Shutdown.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RaftRPC.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RequestLeadership.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/UnInitializedFollowerSnapshotReply.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/ApplyJournalEntries.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/NoopPayload.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/SimpleReplicatedLogEntrySerializer.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/AbstractActorTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/AbstractRaftActorIntegrationTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/ElectionTermImplTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/IsolationScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/LeadershipTransferIntegrationTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/MigratedMessagesTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/MockRaftActor.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/MockRaftActorContext.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/NonVotingFollowerIntegrationTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/PreLeaderScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorContextImplTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorDelegatingPersistentDataProviderTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorLeadershipTransferCohortTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorRecoverySupportTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorServerConfigurationSupportTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorSnapshotMessageSupportTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorTestKit.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RecoveryIntegrationSingleNodeTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RecoveryIntegrationTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/ReplicatedLogImplTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/ReplicationAndSnapshotsIntegrationTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/SnapshotManagerTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/TestActorFactory.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractLeaderElectionScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractLeaderTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/AbstractRaftActorBehaviorTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/CandidateTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/DelayedMessagesElectionScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/FollowerTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/IsolatedLeaderTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/LeaderTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/PartitionedCandidateOnStartupElectionScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/PartitionedLeadersElectionScenarioTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SyncStatusTrackerTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/persisted/SimpleReplicatedLogEntrySerializerTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/DoNothingActor.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/EchoActor.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/ForwardMessageToBehaviorActor.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/InMemoryJournal.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/InMemorySnapshotStore.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/utils/MessageCollectorActor.java
opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf
opendaylight/md-sal/sal-akka-segmented-journal/pom.xml
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/DataJournalEntry.java
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/DataJournalEntrySerdes.java
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/DataJournalV0.java
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/SegmentedFileJournal.java
opendaylight/md-sal/sal-akka-segmented-journal/src/main/java/org/opendaylight/controller/akka/segjournal/SegmentedJournalActor.java
opendaylight/md-sal/sal-akka-segmented-journal/src/test/java/org/opendaylight/controller/akka/segjournal/SegmentedFileJournalSpecTest.java
opendaylight/md-sal/sal-akka-segmented-journal/src/test/java/org/opendaylight/controller/akka/segjournal/SegmentedFileJournalTest.java
opendaylight/md-sal/sal-akka-segmented-journal/src/test/resources/SegmentedFileJournalTest.conf
opendaylight/md-sal/sal-cluster-admin-impl/pom.xml
opendaylight/md-sal/sal-cluster-admin-impl/src/main/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcService.java
opendaylight/md-sal/sal-cluster-admin-impl/src/test/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcServiceTest.java
opendaylight/md-sal/sal-clustering-commons/pom.xml
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/ActorSystemProvider.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/ActorSystemProviderListener.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/DataPersistenceProvider.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/DelegatingPersistentDataProvider.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/NonPersistentDataProvider.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/PersistentDataProvider.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/AbstractUntypedActor.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/AbstractUntypedPersistentActor.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/Dispatchers.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/ExecuteInSelfActor.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/ExecuteInSelfMessage.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/ExplicitAsk.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/FileAkkaConfigurationReader.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteredBoundedMailbox.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/MeteringBehavior.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/Monitor.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/QuarantinedMonitorActor.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/MessageAssembler.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/MessageSlice.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/MessageSliceReply.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/MessageSlicer.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/SliceOptions.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/notifications/RoleChangeNotifier.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStore.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/schema/provider/impl/RemoteSchemaProvider.java
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/schema/provider/impl/RemoteYangTextSourceProviderImpl.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/MeteredBoundedMailboxTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/QuarantinedMonitorActorTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/messaging/AbstractMessagingTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/messaging/MessageAssemblerTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/messaging/MessageSliceReplyTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/messaging/MessageSliceTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/messaging/MessageSlicerTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/messaging/MessageSlicingIntegrationTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/notifications/RoleChangeNotifierTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStoreSpecTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/persistence/LocalSnapshotStoreTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/schema/provider/impl/RemoteSchemaProviderTest.java
opendaylight/md-sal/sal-clustering-commons/src/test/resources/LocalSnapshotStoreTest.conf
opendaylight/md-sal/sal-clustering-config/pom.xml
opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-pekko.conf [moved from opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf with 92% similarity]
opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/pekko.conf [moved from opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf with 93% similarity]
opendaylight/md-sal/sal-distributed-datastore/pom.xml
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/impl/ActorSystemProviderImpl.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/osgi/impl/BundleClassLoaderFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/osgi/impl/OSGiActorSystemProvider.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/osgi/impl/QuarantinedMonitorActorPropsFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStore.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractDataStoreClientActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractDataStoreClientBehavior.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractProxyTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractShardBackendResolver.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/DistributedDataStoreClientActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/GetClientRequest.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/ModuleShardBackendResolver.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/ProxyHistory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/ShardBackendInfo.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/SimpleDataStoreClientActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/AbstractDataStore.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/AbstractShardDataTreeNotificationPublisherActorProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ClusterWrapper.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ClusterWrapperImpl.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CohortEntry.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/CompositeDataTreeCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerSupport.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActorRegistry.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortRegistrationProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DatastoreContext.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DelayedDataTreeChangeListenerRegistration.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ForwardingDataTreeChangeListener.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/LeaderLocalDelegateFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/OnDemandShardStateCache.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/RootDataTreeChangeListenerActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/RootDataTreeChangeListenerProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinator.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeChangeListenerPublisherActorProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeChangePublisherActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTreeListenerInfoMXBeanImpl.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardReadTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardReadWriteTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardSnapshotCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardStats.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardTransactionActorFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardTransactionMessageRetrySupport.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardWriteTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TerminationMonitor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/actors/DataTreeNotificationListenerRegistrationActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/actors/JsonExportActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/actors/ShardSnapshotActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ActorInitialized.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/LocalShardFound.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/MakeLeaderLocal.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/OnDemandShardState.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/PrimaryShardInfo.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/ReadyLocalTransactionSerializer.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterDataTreeChangeListener.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterDataTreeNotificationListenerReply.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/AbstractShardManagerCreator.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/RegisterForShardAvailabilityChanges.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardInformation.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManager.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManagerGetSnapshotReplyActor.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManagerInfo.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardPeerAddressResolver.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ActorUtils.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/CompositeOnComplete.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/PrimaryShardInfoFutureCache.java
opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/ClientBackedDataStoreTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/TestClientBackedDataStore.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractClientHandleTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractClientHistoryTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractDataStoreClientBehaviorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractProxyTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/ClientLocalHistoryTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/ClientTransactionCommitCohortTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/DirectTransactionCommitCohortTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/LocalProxyTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/LocalReadOnlyProxyTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/LocalReadWriteProxyTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/ModuleShardBackendResolverTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/RemoteProxyTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/SingleClientHistoryTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/databroker/actors/dds/TransactionTester.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractClusterRefActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractDistributedDataStoreIntegrationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractShardTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerProxyTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeChangeListenerSupportTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortIntegrationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreIntegrationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreRemotingIntegrationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DistributedDataStoreWithSegmentedJournalIntegrationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ForwardingDataTreeChangeListenerTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/FrontendReadWriteTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/IntegrationTestKit.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/MemberNode.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/RoleChangeNotifierTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/RootDataTreeChangeListenerProxyTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardCommitCoordinationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTestKit.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTransactionFailureTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTransactionTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxyTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/actors/DataTreeNotificationListenerRegistrationActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/actors/ShardSnapshotActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/ReadyLocalTransactionSerializerTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManagerGetSnapshotReplyActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManagerTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardPeerAddressResolverTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/shardmanager/TestShardManager.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ActorUtilsTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/DispatchersTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ForwardingActor.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/MockClusterWrapper.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/PrimaryShardInfoFutureCacheTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/resources/application-with-custom-dispatchers.conf
opendaylight/md-sal/sal-distributed-datastore/src/test/resources/application.conf
opendaylight/md-sal/sal-distributed-datastore/src/test/resources/segmented.conf
opendaylight/md-sal/sal-dummy-distributed-datastore/pom.xml
opendaylight/md-sal/sal-dummy-distributed-datastore/src/main/java/org/opendaylight/controller/dummy/datastore/DummyShard.java
opendaylight/md-sal/sal-dummy-distributed-datastore/src/main/java/org/opendaylight/controller/dummy/datastore/DummyShardManager.java
opendaylight/md-sal/sal-dummy-distributed-datastore/src/main/java/org/opendaylight/controller/dummy/datastore/Main.java
opendaylight/md-sal/sal-dummy-distributed-datastore/src/main/resources/member-2.conf
opendaylight/md-sal/sal-dummy-distributed-datastore/src/main/resources/member-3.conf
opendaylight/md-sal/sal-remoterpc-connector/pom.xml
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/AbstractRemoteFuture.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/AbstractRemoteImplementation.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/OSGiRemoteOpsProvider.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/OpsInvoker.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/OpsListener.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/OpsManager.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/OpsRegistrar.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteActionImplementation.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteOpsProvider.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteOpsProviderConfig.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteOpsProviderFactory.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/TerminationMonitor.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/AbstractRoutingTable.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/ActionRegistry.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/ActionRoutingTable.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/RoutingTable.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistry.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/Bucket.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketData.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreAccess.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreActor.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossipEnvelope.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossipStatus.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/Gossiper.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/mbeans/AbstractRegistryMXBean.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/mbeans/RemoteActionRegistryMXBeanImpl.java
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/mbeans/RemoteRpcRegistryMXBeanImpl.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/AbstractOpsTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/OpsBrokerTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/OpsListenerTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/OpsRegistrarTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RemoteOpsProviderConfigTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RemoteOpsProviderFactoryTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/RemoteOpsProviderTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/ActionRegistryTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/RpcRegistryTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/gossip/GossiperTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/mbeans/RemoteActionRegistryMXBeanImplTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/java/org/opendaylight/controller/remote/rpc/registry/mbeans/RemoteRpcRegistryMXBeanImplTest.java
opendaylight/md-sal/sal-remoterpc-connector/src/test/resources/application.conf
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java
pekko/pom.xml [moved from akka/pom.xml with 88% similarity]
pekko/repackaged-pekko-jar/pom.xml [moved from akka/repackaged-akka-jar/pom.xml with 70% similarity]
pekko/repackaged-pekko-jar/src/main/resources/LICENSE [new file with mode: 0644]
pekko/repackaged-pekko-jar/src/main/resources/actor_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/actor_reference.conf with 83% similarity]
pekko/repackaged-pekko-jar/src/main/resources/actor_typed_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/actor_typed_reference.conf with 65% similarity]
pekko/repackaged-pekko-jar/src/main/resources/cluster_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/cluster_reference.conf with 88% similarity]
pekko/repackaged-pekko-jar/src/main/resources/cluster_tools_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/cluster_tools_reference.conf with 80% similarity]
pekko/repackaged-pekko-jar/src/main/resources/cluster_typed_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/cluster_typed_reference.conf with 65% similarity]
pekko/repackaged-pekko-jar/src/main/resources/distributed_data_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/distributed_data_reference.conf with 79% similarity]
pekko/repackaged-pekko-jar/src/main/resources/persistence_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/persistence_reference.conf with 80% similarity]
pekko/repackaged-pekko-jar/src/main/resources/reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/reference.conf with 100% similarity]
pekko/repackaged-pekko-jar/src/main/resources/remote_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/remote_reference.conf with 79% similarity]
pekko/repackaged-pekko-jar/src/main/resources/stream_reference.conf [moved from akka/repackaged-akka-jar/src/main/resources/stream_reference.conf with 84% similarity]
pekko/repackaged-pekko/pom.xml [moved from akka/repackaged-akka/pom.xml with 94% similarity]
pom.xml

diff --git a/akka/repackaged-akka-jar/src/main/resources/LICENSE b/akka/repackaged-akka-jar/src/main/resources/LICENSE
deleted file mode 100644 (file)
index c7d5a56..0000000
+++ /dev/null
@@ -1,212 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-
----------------
-
-Licenses for dependency projects can be found here:
-[http://akka.io/docs/akka/snapshot/project/licenses.html]
-
----------------
-
-akka-protobuf contains the sources of Google protobuf 2.5.0 runtime support,
-moved into the source package `akka.protobuf` so as to avoid version conflicts.
-For license information see COPYING.protobuf
index fa37ecb8e6f7268705ce2975f5c1ee49c740709e..b2eff42bd98ab4c4c53c1bc3454b2b14e660a52d 100644 (file)
@@ -28,7 +28,7 @@
             <!-- Repackaged Akka -->
             <dependency>
                 <groupId>${project.groupId}</groupId>
-                <artifactId>repackaged-akka</artifactId>
+                <artifactId>repackaged-pekko</artifactId>
                 <version>${project.version}</version>
             </dependency>
 
 
             <!-- Config files -->
             <dependency>
-                <!-- finalname="configuration/initial/akka.conf" -->
+                <!-- finalname="configuration/initial/pekko.conf" -->
                 <groupId>${project.groupId}</groupId>
                 <artifactId>sal-clustering-config</artifactId>
                 <version>${project.version}</version>
                 <type>xml</type>
-                <classifier>akkaconf</classifier>
+                <classifier>pekkoconf</classifier>
             </dependency>
             <dependency>
-                <!-- finalname="configuration/factory/akka.conf" override="true" -->
+                <!-- finalname="configuration/factory/pekko.conf" override="true" -->
                 <groupId>${project.groupId}</groupId>
                 <artifactId>sal-clustering-config</artifactId>
                 <version>${project.version}</version>
                 <type>xml</type>
-                <classifier>factoryakkaconf</classifier>
+                <classifier>factorypekkoconf</classifier>
             </dependency>
             <dependency>
                 <!-- finalname="configuration/initial/module-shards.conf" -->
index e421502007b93f091e15a27db672605db3dc6534..bd9861a6c13ea1b328ed4543aff9cd61a4fe6a02 100644 (file)
@@ -59,7 +59,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
                                 <!-- includes all dependencies to class path -->
                                 <classpath/>
                                 <argument>org.opendaylight.controller.akka.segjournal.BenchmarkMain</argument>
-                                <!-- configuration taken from factory-akka.conf of sal-clustering-config -->
+                                <!-- configuration taken from factory-pekko.conf of sal-clustering-config -->
                                 <argument>--current</argument>
                                 <!-- 100_000 messages to write -->
                                 <argument>-n100000</argument>
index 5c711088e32b5b35dce2c73044803a842d9fe8e3..59a38042ba56bb8a276e12f57aa393d7949b384f 100644 (file)
@@ -12,10 +12,6 @@ import static org.opendaylight.controller.akka.segjournal.BenchmarkUtils.formatB
 import static org.opendaylight.controller.akka.segjournal.BenchmarkUtils.formatNanos;
 import static org.opendaylight.controller.akka.segjournal.BenchmarkUtils.toMetricId;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.persistence.AtomicWrite;
-import akka.persistence.PersistentRepr;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.ThreadFactoryBuilder;
 import java.io.Serializable;
@@ -28,6 +24,10 @@ import java.util.concurrent.ScheduledExecutorService;
 import java.util.concurrent.ThreadLocalRandom;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.io.FileUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.persistence.AtomicWrite;
+import org.apache.pekko.persistence.PersistentRepr;
 import org.opendaylight.controller.akka.segjournal.BenchmarkUtils.BenchmarkConfig;
 import org.opendaylight.controller.akka.segjournal.SegmentedJournalActor.WriteMessages;
 import org.opendaylight.controller.cluster.common.actor.MeteringBehavior;
index 30ff871a51ec4f10ad3abaa1cfed4bed6f4f012c..c6b4b68aacfab7d8d0630f3b3371fa336367e9f2 100644 (file)
@@ -40,7 +40,7 @@ final class BenchmarkUtils {
     static final String BENCHMARK_PAYLOAD_SIZE = "payload-size";
     static final String BENCHMARK_PAYLOAD_SIZE_DEFAULT = "10K";
 
-    static final String CURRENT_CONFIG_RESOURCE = "/initial/factory-akka.conf";
+    static final String CURRENT_CONFIG_RESOURCE = "/initial/factory-pekko.conf";
     static final String CURRENT_CONFIG_PATH = "odl-cluster-data.akka.persistence.journal.segmented-file";
 
     private static final String[] BYTE_SFX = {"G", "M", "K"};
index d2635aebe4504fac73d664ed0442fb06345dd2ae..0f7f5ef79af6ba105291a47d6ea2e32eed609952 100644 (file)
             </dependency>
 
             <!-- Configuration library -->
-            <!-- This needs to be kept in sync with the version used by akka -->
+            <!-- This needs to be kept in sync with the version used by pekko -->
             <dependency>
                 <groupId>com.typesafe</groupId>
                 <artifactId>config</artifactId>
-                <version>1.4.2</version>
+                <version>1.4.3</version>
             </dependency>
             <dependency>
                 <groupId>com.typesafe</groupId>
                 <artifactId>ssl-config-core_2.13</artifactId>
-                <version>0.4.3</version>
+                <version>0.6.1</version>
             </dependency>
 
-            <!-- Akka testkit -->
+            <!-- Pekko testkit -->
             <dependency>
-                <groupId>com.typesafe.akka</groupId>
-                <artifactId>akka-testkit_2.13</artifactId>
-                <version>2.6.21</version>
+                <groupId>org.apache.pekko</groupId>
+                <artifactId>pekko-testkit_2.13</artifactId>
+                <version>1.0.2</version>
                 <scope>test</scope>
                 <exclusions>
                     <exclusion>
-                        <groupId>com.typesafe.akka</groupId>
-                        <artifactId>akka-actor_2.13</artifactId>
+                        <groupId>org.apache.pekko</groupId>
+                        <artifactId>pekko-actor_2.13</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
-                <groupId>com.typesafe.akka</groupId>
-                <artifactId>akka-actor-testkit-typed_2.13</artifactId>
-                <version>2.6.21</version>
+                <groupId>org.apache.pekko</groupId>
+                <artifactId>pekko-actor-testkit-typed_2.13</artifactId>
+                <version>1.0.2</version>
                 <scope>test</scope>
                 <exclusions>
                     <exclusion>
-                        <groupId>com.typesafe.akka</groupId>
-                        <artifactId>akka-actor-typed_2.13</artifactId>
+                        <groupId>org.apache.pekko</groupId>
+                        <artifactId>pekko-actor-typed_2.13</artifactId>
                     </exclusion>
                     <exclusion>
-                        <groupId>com.typesafe.akka</groupId>
-                        <artifactId>akka-slf4j_2.13</artifactId>
+                        <groupId>org.apache.pekko</groupId>
+                        <artifactId>pekko-slf4j_2.13</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
-                <groupId>com.typesafe.akka</groupId>
-                <artifactId>akka-persistence-tck_2.13</artifactId>
-                <version>2.6.21</version>
+                <groupId>org.apache.pekko</groupId>
+                <artifactId>pekko-persistence-tck_2.13</artifactId>
+                <version>1.0.2</version>
                 <scope>test</scope>
                 <exclusions>
                     <exclusion>
-                        <groupId>com.typesafe.akka</groupId>
-                        <artifactId>akka-persistence_2.13</artifactId>
+                        <groupId>org.apache.pekko</groupId>
+                        <artifactId>pekko-persistence_2.13</artifactId>
                     </exclusion>
                 </exclusions>
             </dependency>
 
-            <!-- Reactive Streams, used by Akka -->
+            <!-- Reactive Streams, used by Pekko -->
             <dependency>
                 <groupId>org.reactivestreams</groupId>
                 <artifactId>reactive-streams</artifactId>
index b6818ac25d8bedef0ef765cbfc7177489927cfcb..2fbb2934e1385ca4cb6235936e1bfdf751d153c7 100644 (file)
@@ -38,7 +38,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
     </dependencies>
 </project>
index 05a9908e3544816c57add48abe29585ce87a94b6..d878c801b4190bbb2914eefdedb2ea7f6ad45f80 100644 (file)
@@ -2,12 +2,12 @@
 <features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="odl-controller-akka">
     <feature version="0.0.0">
         <feature>odl-controller-scala</feature>
-        <bundle>mvn:com.typesafe/config/1.4.2</bundle>
-        <bundle>mvn:com.typesafe/ssl-config-core_2.13/0.4.3</bundle>
+        <bundle>mvn:com.typesafe/config/1.4.3</bundle>
+        <bundle>mvn:com.typesafe/ssl-config-core_2.13/0.6.1</bundle>
         <bundle>mvn:io.aeron/aeron-client/1.38.1</bundle>
         <bundle>mvn:io.aeron/aeron-driver/1.38.1</bundle>
         <bundle>mvn:org.agrona/agrona/1.15.2</bundle>
-        <bundle>mvn:org.opendaylight.controller/repackaged-akka/${project.version}</bundle>
+        <bundle>mvn:org.opendaylight.controller/repackaged-pekko/${project.version}</bundle>
         <bundle>mvn:org.reactivestreams/reactive-streams/1.0.4</bundle>
         <feature>wrap</feature>
         <bundle>wrap:mvn:org.lmdbjava/lmdbjava/0.7.0</bundle>
index c8519c3c9f28f4e288275ca9e2d18e4d710c7319..97a7861a1f5b98c5e77f6d8fe37b9156b76d3377 100644 (file)
         </dependency>
 
         <dependency>
-            <!-- finalname="configuration/initial/akka.conf" -->
+            <!-- finalname="configuration/initial/pekko.conf" -->
             <groupId>org.opendaylight.controller</groupId>
             <artifactId>sal-clustering-config</artifactId>
             <type>xml</type>
-            <classifier>akkaconf</classifier>
+            <classifier>pekkoconf</classifier>
         </dependency>
         <dependency>
-            <!-- finalname="configuration/factory/akka.conf" override="true" -->
+            <!-- finalname="configuration/factory/pekko.conf" override="true" -->
             <groupId>org.opendaylight.controller</groupId>
             <artifactId>sal-clustering-config</artifactId>
             <type>xml</type>
-            <classifier>factoryakkaconf</classifier>
+            <classifier>factorypekkoconf</classifier>
         </dependency>
         <dependency>
             <!-- finalname="configuration/initial/module-shards.conf" -->
index d56884d7c49cd13993b53c8e84af6e10f8b0a6d7..26d3731feb849b9f5b1db067e425545a7bc697f1 100644 (file)
         <feature version="[14,15)">odl-mdsal-eos-dom</feature>
         <feature version="[14,15)">odl-mdsal-dom-broker</feature>
         <feature version="[14,15)">odl-mdsal-binding-dom-adapter</feature>
-        <configfile finalname="configuration/initial/akka.conf">
-            mvn:org.opendaylight.controller/sal-clustering-config/${project.version}/xml/akkaconf
+        <configfile finalname="configuration/initial/pekko.conf">
+            mvn:org.opendaylight.controller/sal-clustering-config/${project.version}/xml/pekkoconf
         </configfile>
-        <configfile finalname="configuration/factory/akka.conf" override="true">
-            mvn:org.opendaylight.controller/sal-clustering-config/${project.version}/xml/factoryakkaconf
+        <configfile finalname="configuration/factory/pekko.conf" override="true">
+            mvn:org.opendaylight.controller/sal-clustering-config/${project.version}/xml/factorypekkoconf
         </configfile>
         <configfile finalname="configuration/initial/module-shards.conf">
             mvn:org.opendaylight.controller/sal-clustering-config/${project.version}/xml/moduleshardconf
index 420d745111271aceafe1460a2cbb7cfc081a110d..64f780e11d81f4655626e5ad143070c951f279c9 100644 (file)
@@ -55,7 +55,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
         <dependency>
             <groupId>org.scala-lang</groupId>
@@ -78,8 +78,8 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-testkit_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-testkit_2.13</artifactId>
         </dependency>
     </dependencies>
 
index 9e2998c5b2536a8ef3d406de7e5c5f90c203dab2..df3b31355e1c72fb1ddafb25caf9c78a06933b1a 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 
index 5831e65c11a88aabea03d78ee595635a4490097e..c2c9e548e026adf06b5855b22fd3e21bca356793 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.Request;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index 3d5d45e1b3310af20e7a053d110bee6aebaedce4..ff58b84b2595c083233953cad920e60dd4342506 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.cluster.access.commands;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index 44533eb36e06180ec7aeccc88ad1b1eea1970bdd..9adec4ae8f8bea3167f914a6c28381d92565adc1 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index 7a3f771b474789bfe576a9a7465a9eacd4e55ad6..7be8dc6dfc2aee33fd5e5047985174720f7e5ecf 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster.access.commands;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
 import java.io.ObjectStreamException;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index c5f3153c3794d7b91b0c32f4448fbb70fc0cc6f5..a07a324e39224a24c762350a7a6e0316d3de7032 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.access.commands;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import java.io.DataInput;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.Request;
index ad0e3624e1f1aa05969fa850c8b5b4f897316458..b9181ff6b8d4c75ee90225333e25552f0894779e 100644 (file)
@@ -10,10 +10,6 @@ package org.opendaylight.controller.cluster.access.commands;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import com.google.common.collect.ImmutableList;
 import java.io.DataInput;
@@ -26,6 +22,10 @@ import java.io.ObjectStreamException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
index b627bafa438cf005f723146fb316c91a3a0b1e90..5ce5f5db939c9a28f43054d39cf4985def34c352 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
 
index 5add5eb05451e9df6002b82772576780b3476abe..1859240b0e17a95d0e8fb147d10a558a9b4aed87 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
 
index 06c2797ca41d8d7bd6f4e745902aa7e553859e55..ee92f9d455ce472ca06700235bdd77a2636b2773 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.IOException;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index 5695860e17cd7b0ba48d3dada038baf63c7620d8..c151690a2f0b86d670e3120bbc3546c3170d6a7c 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.cluster.access.commands;
 
 import static com.google.common.base.Preconditions.checkArgument;
 
-import akka.actor.ActorRef;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.yangtools.concepts.WritableObjects;
index c304384fd8b7089729c03ba8108aee1ba86c67f3..ff65150eb1f5c98bda1ca40edbc62d6d298d9a2b 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import com.google.common.base.Preconditions;
 import java.io.DataInput;
 import java.io.IOException;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.Request;
index b1ddd389306ac9ad5e38f8abbcd155dd91a1dec7..e325afcf01dbf7f3319326c8ff455444b5650863 100644 (file)
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import com.google.common.collect.ImmutableList;
 import java.io.IOException;
@@ -19,6 +18,7 @@ import java.io.ObjectStreamException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.SliceableMessage;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index 0e99942c1ee9655bb32ac996d9462ec346cefa8d..324baa22c13bfce22d53a34dc8ef735dc9ad6b6b 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.controller.cluster.access.commands;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import java.util.ArrayList;
 import java.util.List;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.yangtools.concepts.Identifiable;
index c4353c37fd6bf74a74e4186b9968bac5b6972cc7..07534d9236010e6f9c579035b3a9a5f979125eeb 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.concepts.RequestException;
 
 /**
index c9dc5dc1e7c3a8343c99eae7918b76b9e80670e9..75ea76e1b0dcafa80eed2f65ea63c848a92aac5f 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
 
index 292496b7b43667f217177f4aa253f16206c039a9..2b2051cb274b096e50686d0e9270d58d803aa18e 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.IOException;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index 63e5cc43b6267c25b02e80c40ead98aa3d983e46..2a2b7d0e86ee4f1902613366122d38aff08f79a7 100644 (file)
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import com.google.common.collect.ImmutableList;
 import com.google.common.primitives.UnsignedLong;
@@ -16,6 +15,7 @@ import java.io.ObjectInput;
 import java.io.ObjectOutput;
 import java.util.Collection;
 import java.util.List;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index c9238ab9af80bcac87185aab1082e33bd8078290..4f37c5d08cd797a6c5796e98444ad30c83c04823 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 
index ad7ffad146a0f5a05215cd21a3af0b9655acd1f8..73a86fa510a5bc2aae1fb50c4fe5475f5b07fc0d 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 
index 3172842f7667551502f8248ca30374081895a562..a94329b739497fc9bd0428ee9b0e5735db690ef6 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 
index 757c8134a24d2dda1c8cfccc07f7b6cc119290b1..d826fe0870d5d8681a92f9e3f81d8df19fb8ade6 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.ObjectInput;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 
index 15d98f91507990ddbcd499d28934a4330f93fb9d..4f334aaf1c0f12855aed334f4aa521a369a7107c 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.access.commands;
 
-import akka.actor.ActorRef;
 import java.io.DataInput;
 import java.io.IOException;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.concepts.Request;
 import org.opendaylight.controller.cluster.access.concepts.RequestException;
index c4f1468501e47cc8be637096debfc3a91e91dd72..a7e55a37f8d32147219a67d97dcd0ebdd5089e55 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster.access.concepts;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.yangtools.concepts.WritableIdentifier;
index e8983697cf659e56ad99fa347278d8c0df58e596..4115233a6703f7825e6a1664ddf432739c69fbce 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.access.concepts;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 
 public final class RequestEnvelope extends Envelope<Request<?, ?>> {
     @java.io.Serial
index 0267b8eb273191155f499920700ab2b90523db06..220ab3dcae96e720cda94f8d817b377223eba95a 100644 (file)
@@ -10,16 +10,16 @@ package org.opendaylight.controller.cluster.access.commands;
 import static org.junit.Assert.assertArrayEquals;
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JavaSerializer;
-import akka.testkit.TestProbe;
 import com.google.common.base.MoreObjects;
 import com.google.common.collect.ImmutableList;
 import java.util.List;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.ABIVersion;
@@ -40,7 +40,7 @@ public class ConnectClientSuccessTest extends AbstractRequestSuccessTest<Connect
         ALTERNATES, TREE, MAX_MESSAGES);
 
     public ConnectClientSuccessTest() {
-        super(OBJECT, 146 + ACTOR_REF.path().toSerializationFormat().length());
+        super(OBJECT, 147 + ACTOR_REF.path().toSerializationFormat().length());
     }
 
     @Before
index e424f37cf69061e26c85d1a6fa1bba067316f7b9..a70d06a6d6b7c79453ef07ca506e53b7bef02921 100644 (file)
@@ -10,10 +10,10 @@ package org.opendaylight.controller.cluster.access.commands;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.testkit.TestActors;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.TestActors;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
index c018f00fd64c00b330a555818a02e7497023ddfd..a513406bbb51993293e7769d5003fbef0d97a179 100644 (file)
@@ -10,8 +10,8 @@ package org.opendaylight.controller.cluster.access.commands;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
 import org.junit.Assert;
 import org.opendaylight.controller.cluster.access.concepts.RequestException;
 import org.opendaylight.controller.cluster.access.concepts.RequestExceptionTest;
@@ -19,7 +19,7 @@ import org.opendaylight.controller.cluster.access.concepts.RequestExceptionTest;
 public class NotLeaderExceptionTest extends RequestExceptionTest<NotLeaderException> {
 
     private static final ActorSystem ACTOR_SYSTEM = ActorSystem.apply();
-    private static final ActorRef ACTOR = new akka.testkit.TestProbe(ACTOR_SYSTEM).testActor();
+    private static final ActorRef ACTOR = new org.apache.pekko.testkit.TestProbe(ACTOR_SYSTEM).testActor();
     private static final RequestException OBJECT = new NotLeaderException(ACTOR);
 
     @Override
index 48ceabef81cd87259df989c49ac9cf917350c6cb..7d909132f6b91b413392b083827592fe87344589 100644 (file)
@@ -12,13 +12,13 @@ import static org.hamcrest.CoreMatchers.containsString;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JavaSerializer;
-import akka.testkit.TestProbe;
 import com.google.common.base.MoreObjects;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.Before;
 import org.junit.Test;
 
index 30366c99f1a52a9e1167eb24e93e68e9de58c796..e51fc1a3196c575c3fc23540402a9a887243edfa 100644 (file)
@@ -11,11 +11,11 @@ import static org.hamcrest.CoreMatchers.instanceOf;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JavaSerializer;
-import akka.testkit.TestProbe;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.After;
 import org.junit.Before;
 import org.opendaylight.controller.cluster.access.commands.TransactionPurgeRequest;
index f054c8d9bce5cc4ef23a6fc585f5bd6c739be40e..e8b98a9e85a9ed234ac22db1df7411764a8cf087 100644 (file)
@@ -11,9 +11,9 @@ import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
 import org.opendaylight.controller.cluster.access.commands.CreateLocalHistoryRequest;
 
 public class UnsupportedRequestExceptionTest extends RequestExceptionTest<UnsupportedRequestException> {
index 94f6d3c284ba228b4d66920afb146163634154ff..d3fe3f555a3de3b9c4f9c5eb19bce0ae31fb2328 100644 (file)
@@ -31,7 +31,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
@@ -57,8 +57,8 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-testkit_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-testkit_2.13</artifactId>
         </dependency>
         <dependency>
             <groupId>com.google.guava</groupId>
index 56c5dbf3d82a05fa9abd04934b1f13d37e0994f4..2e66c7e6706b3ce66d135869c95664c2475bc99b 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.access.client;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.persistence.AbstractPersistentActor;
 import com.google.common.annotations.VisibleForTesting;
 import java.nio.file.Path;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.persistence.AbstractPersistentActor;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.FrontendIdentifier;
 import org.slf4j.Logger;
index 39ae396cff714c088c7a8405ee64480a4f9124b5..961cf8df89a4f3f79040e13eebc9694bd559db6a 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 
index a09d06c61f17e21977fd49566ba9430375fcfb6f..1f86af6f08dc66ead755a9592ed4d0599bfa6a6b 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.Mutable;
 
index 4c875c1acb597bc2deafdaadb0327761d858b8cf..604ea953565007526eab141c0ece2b6d62a5a4b6 100644 (file)
@@ -9,7 +9,6 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.MoreObjects;
 import com.google.common.base.MoreObjects.ToStringHelper;
@@ -23,6 +22,7 @@ import java.util.concurrent.TimeoutException;
 import java.util.concurrent.locks.Lock;
 import java.util.concurrent.locks.ReentrantLock;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.checkerframework.checker.lock.qual.Holding;
 import org.eclipse.jdt.annotation.NonNull;
index 2264a8d25d50f2a4bef4b11d5272c306f1df2fa6..851e47e8425d124ecec54aed9e13ae71e8eb6423 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.controller.cluster.access.client;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects;
 import com.google.common.base.MoreObjects.ToStringHelper;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 
 /**
index 1f53bf361d97de30f1085e56bbb04b552814b044..2a52957c081fd0eb11e3d5c02b4dffaf92962bd8 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.access.client;
 
-import akka.actor.ActorRef;
 import java.util.concurrent.CompletionStage;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.Registration;
 
index f35f5efd2ddb3537d3de25bcee76d7e68065fa2a..ce448affcce0fde208003561217ee67aad85681d 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Cancellable;
-import akka.actor.Scheduler;
 import com.google.common.base.Ticker;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.Scheduler;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.common.actor.Dispatchers;
index 0a2f01342c4618efa1786a9e286b3ed2491718b1..3f4fd631ef4bb2a3a42d80492138916908b70d0d 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 
 /**
index 08735529d8f3276f2f6996eb109adc3112422c07..e8415f9fa653ea47db7f9f069d2e90fac3ca453d 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.access.client;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 
index 6fc4a56dce110ea589f739c9f701a7a25e8ef93b..7e86a4bc69c133c833dd4338e42c980e6caf4f8c 100644 (file)
@@ -9,14 +9,14 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.persistence.RecoveryCompleted;
-import akka.persistence.SnapshotOffer;
 import java.io.IOException;
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.StandardCopyOption;
 import java.nio.file.StandardOpenOption;
 import java.util.Properties;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.persistence.SnapshotOffer;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.FrontendIdentifier;
index bf0713cef6e3c661cb3ab8ac9df7212f08a40954..36d3c3750bf0efe13ff1b98db4af3722027734b3 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.persistence.DeleteSnapshotsFailure;
-import akka.persistence.DeleteSnapshotsSuccess;
-import akka.persistence.SaveSnapshotFailure;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.persistence.DeleteSnapshotsFailure;
+import org.apache.pekko.persistence.DeleteSnapshotsSuccess;
+import org.apache.pekko.persistence.SaveSnapshotFailure;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 1a811406915c76d8f40b6d3265ba19c71a541c5d..de7975050ebad7b362fc2737f48cc92378ec5644 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.controller.cluster.access.client;
 import static com.google.common.base.Verify.verify;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.annotations.VisibleForTesting;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.ArrayDeque;
@@ -21,6 +20,7 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.Optional;
 import java.util.Queue;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.concepts.Request;
 import org.opendaylight.controller.cluster.access.concepts.RequestEnvelope;
 import org.opendaylight.controller.cluster.access.concepts.Response;
index 699e62191f9e2f69ef1dc3709bfad2eb0c19237f..10806f59e9602f13a37292f83bfce76965f8069d 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static org.mockito.Mockito.doReturn;
 
-import akka.actor.ActorRef;
 import com.google.common.testing.FakeTicker;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Before;
 import org.mockito.Mock;
 import org.mockito.MockitoAnnotations;
index 403ecbd6cc4d864e2595b6b231ace3cd4a09befe..c4daf8cf9af88043cf88c15a7ef02ed35fc80217 100644 (file)
@@ -18,13 +18,13 @@ import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 import static org.opendaylight.controller.cluster.access.client.ConnectionEntryMatcher.entryWithRequest;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.Iterables;
 import java.util.OptionalLong;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 6e59daa4b3bdf5db997e447d5f3d18e0dffd85b0..257cfdf8630b1824c7484cf80912d870b5b6acf8 100644 (file)
@@ -15,13 +15,13 @@ import static org.junit.Assert.assertTrue;
 import static org.mockito.Mockito.mock;
 import static org.opendaylight.controller.cluster.access.client.ConnectionEntryMatcher.entryWithRequest;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Ticker;
 import java.util.Collection;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index a19fbfee9fb8578e3aed51b33874f5f1e0c15c65..223cbc5beca11649284c2addf3b6009c7245f37e 100644 (file)
@@ -12,9 +12,9 @@ import static org.mockito.Mockito.lenient;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.spy;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.Request;
 import org.opendaylight.controller.cluster.access.concepts.Response;
index 68891a90df8b03ad2bc42ceb7fd195e49319fde0..83cef9172363c48275f2ef91331c0c372c24cb97 100644 (file)
@@ -15,14 +15,6 @@ import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.persistence.Persistence;
-import akka.persistence.SelectedSnapshot;
-import akka.persistence.SnapshotMetadata;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.io.File;
 import java.io.IOException;
@@ -33,6 +25,14 @@ import java.util.Comparator;
 import java.util.List;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.persistence.Persistence;
+import org.apache.pekko.persistence.SelectedSnapshot;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
index 1eca0b563d2c47a240a6fd8a620c7f195c5d2568..855d038008ed7acc8705f63c7df86b6ab4231e2f 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static org.junit.Assert.assertSame;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Ticker;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index f77500328d06a01ae1482c1a0fb39ebd1085e2d9..efe73913f0f00c5f3c9ae7eafb18d451dcb94234 100644 (file)
@@ -20,14 +20,14 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
 import com.google.common.testing.FakeTicker;
 import java.util.OptionalLong;
 import java.util.concurrent.ThreadLocalRandom;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index b3bfdec66e9b0c184daeb7e4127495e59c66006d..6baf1b0846fbc8bb07aba3df5b185a4dfdb684b7 100644 (file)
@@ -11,12 +11,12 @@ import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.Mockito.doNothing;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
 import com.google.common.testing.FakeTicker;
 import java.util.concurrent.ThreadLocalRandom;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index e0dd69ed432125c2322a819ae2dc93e39fb00d3b..6e6a8bc080e8be7eae3aad7f43e0d717d8cdd4ea 100644 (file)
@@ -9,14 +9,14 @@ package org.opendaylight.controller.cluster.access.client;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.dispatch.OnComplete;
-import akka.pattern.Patterns;
-import akka.persistence.SelectedSnapshot;
-import akka.persistence.SnapshotMetadata;
-import akka.persistence.SnapshotSelectionCriteria;
-import akka.persistence.snapshot.japi.SnapshotStore;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.persistence.SelectedSnapshot;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.persistence.snapshot.japi.SnapshotStore;
 import scala.concurrent.Future;
 import scala.concurrent.Promise;
 
index b651f6a2b941229707c3b9b25aac1d376ea1a9e0..db1d55e4f39275b16a29365f996acf9820aeb773 100644 (file)
@@ -1,17 +1,17 @@
-akka {
+pekko {
   persistence.snapshot-store.plugin = "in-memory-snapshot-store"
   persistence.journal.plugin = "in-memory-journal"
 
-  loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
+  loggers = ["org.apache.pekko.testkit.TestEventListener", "org.apache.pekko.event.slf4j.Slf4jLogger"]
 }
 
 in-memory-journal {
-  class = "akka.persistence.journal.inmem.InmemJournal"
+  class = "org.apache.pekko.persistence.journal.inmem.InmemJournal"
 }
 
 in-memory-snapshot-store {
   # Class name of the plugin.
   class = "org.opendaylight.controller.cluster.access.client.MockedSnapshotStore"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+  plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 }
\ No newline at end of file
index e5495056da2b4779e50e0200d09feee64f30c6cd..67f63a894dc551b35ee9ba09bdfd18f4e50bda8a 100644 (file)
@@ -44,7 +44,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
         </dependency>
 
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-testkit_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-testkit_2.13</artifactId>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-actor-testkit-typed_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-actor-testkit-typed_2.13</artifactId>
         </dependency>
         <dependency>
             <groupId>org.awaitility</groupId>
index bf4bc5a033cd4d1d33e293920c4a4139761ee67c..fbc6c41445e8c96c3c11b429d13175d73adc92da 100644 (file)
@@ -7,13 +7,6 @@
  */
 package org.opendaylight.controller.eos.akka;
 
-import akka.actor.ActorSystem;
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Scheduler;
-import akka.actor.typed.javadsl.Adapter;
-import akka.actor.typed.javadsl.AskPattern;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.cluster.typed.Cluster;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.SettableFuture;
@@ -28,6 +21,13 @@ import java.util.function.Function;
 import javax.annotation.PreDestroy;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Scheduler;
+import org.apache.pekko.actor.typed.javadsl.Adapter;
+import org.apache.pekko.actor.typed.javadsl.AskPattern;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.cluster.typed.Cluster;
 import org.opendaylight.controller.cluster.ActorSystemProvider;
 import org.opendaylight.controller.eos.akka.bootstrap.EOSMain;
 import org.opendaylight.controller.eos.akka.bootstrap.command.BootstrapCommand;
@@ -82,7 +82,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * DOMEntityOwnershipService implementation backed by native Akka clustering constructs. We use distributed-data
+ * DOMEntityOwnershipService implementation backed by native Pekko clustering constructs. We use distributed-data
  * to track all registered candidates and cluster-singleton to maintain a single cluster-wide authority which selects
  * the appropriate owners.
  */
index 1d66deb72ff802b89bc9ff1bd959e5df1a863642..d1981092dd7fdad81c041bdb3f016decf9efc407 100644 (file)
@@ -7,16 +7,16 @@
  */
 package org.opendaylight.controller.eos.akka.bootstrap;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.SupervisorStrategy;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.typed.Cluster;
-import akka.cluster.typed.ClusterSingleton;
-import akka.cluster.typed.SingletonActor;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.SupervisorStrategy;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.typed.Cluster;
+import org.apache.pekko.cluster.typed.ClusterSingleton;
+import org.apache.pekko.cluster.typed.SingletonActor;
 import org.opendaylight.controller.eos.akka.bootstrap.command.BootstrapCommand;
 import org.opendaylight.controller.eos.akka.bootstrap.command.GetRunningContext;
 import org.opendaylight.controller.eos.akka.bootstrap.command.RunningContext;
index 6804dcb99867b4c94413e62de234223d655f4538..82256c844bb603625530f08ccb9cb6fb4efc292a 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.eos.akka.bootstrap.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 
 public final class GetRunningContext extends BootstrapCommand {
     private final ActorRef<RunningContext> replyTo;
index 6bbffca5564e23ebe69c4a41863f8e3b8335ab3c..490e2a5c4fd28e9dd0cbd02d0e8dbe937ffe7e61 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.eos.akka.bootstrap.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.eos.akka.owner.checker.command.StateCheckerCommand;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.OwnerSupervisorCommand;
index 116b5e411c6be9ef9b7afdbb901101b6374fc163..c0fe18785e0f4cb8f317b69c8060f3fb7b0aeba5 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.eos.akka.bootstrap.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.common.Empty;
 
index 2a952e4466c95970b5eab468f1064634ba0025dd..fed411e9dc102ed231b90151ac634dae47538281 100644 (file)
@@ -9,20 +9,6 @@ package org.opendaylight.controller.eos.akka.owner.checker;
 
 import static com.google.common.base.Verify.verifyNotNull;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.AskPattern;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.LWWRegisterKey;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import java.time.Duration;
 import java.util.Collections;
 import java.util.HashMap;
@@ -30,6 +16,20 @@ import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.CompletionStage;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.AskPattern;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.LWWRegisterKey;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.owner.checker.command.AbstractEntityRequest;
 import org.opendaylight.controller.eos.akka.owner.checker.command.GetCandidates;
 import org.opendaylight.controller.eos.akka.owner.checker.command.GetCandidatesForEntity;
index fb33618dfcc3de7c42ec237dc973723c3e296de8..90ed6f639f1affac86079ddb89b328d39db6beb3 100644 (file)
@@ -9,24 +9,24 @@ package org.opendaylight.controller.eos.akka.owner.checker;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.LWWRegisterKey;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.Replicator.Get;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetFailure;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetSuccess;
-import akka.cluster.ddata.typed.javadsl.Replicator.NotFound;
-import akka.cluster.ddata.typed.javadsl.Replicator.ReadMajority;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import java.time.Duration;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.LWWRegisterKey;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.Get;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetFailure;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetSuccess;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.NotFound;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.ReadMajority;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.owner.checker.command.GetEntitiesRequest;
 import org.opendaylight.controller.eos.akka.owner.checker.command.GetEntityOwnerRequest;
 import org.opendaylight.controller.eos.akka.owner.checker.command.GetEntityRequest;
index ae1dfc2110e65d18eb5036716a2c0ab7a457136c..5780f82a71d8256f4450c3773638920e09e6d728 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.checker.command;
 
-import akka.actor.typed.ActorRef;
 import com.google.common.base.MoreObjects;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityId;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityName;
index 50dddb3977bf5b4a6a77984661064f93a2706696..7e7dd496df7f7872a691198240b9f12094fdf033 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
index 14a545be0c3719dbe144695363796788bca09866..eff608b91237a7a6c6a1c391ae7b1741ed30c419 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
index 8894c27e531348189a0aaa2f9c8fa39b7dd187e3..46b5160be48f763839d7a29fadba60566a388a42 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.eos.akka.owner.checker.command;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 
 public final class GetEntitiesRequest extends StateCheckerRequest<GetEntitiesReply> {
     private static final long serialVersionUID = 1L;
index dedccee8f1d95470502ad08415c7cb013680c11c..d4eb90fe60a5bf48bec9ac3af2d602b4217ce417 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.eos.akka.owner.checker.command;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityId;
 
 public final class GetEntityOwnerRequest extends AbstractEntityRequest<GetEntityOwnerReply> {
index 2d9d46b49a1a4e509829a22dee1ba15fa80bee7d..b314d2c0c55b8564f6f1aa8c220beb83c4f06d79 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.eos.akka.owner.checker.command;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityId;
 
 public final class GetEntityRequest extends AbstractEntityRequest<GetEntityReply> {
index 71105cd7d59242ebe8eaf22f6bccf1f0672a9d47..06c15b8fd836ed8c48923f85af6b66f7dd3cd326 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.eos.akka.owner.checker.command;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index 617b65e1856b464f1263769f16433786fa7edeed..1e2432f9fa1ea05e1bc3475019eac782c1117fc2 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index 1a8f3058f6d34724f80771bf80b9ee551fd3ebfc..a587bdb5c6bb91ce048a79d7cf5916c65c7fdc77 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index b7b612f94182cfab65a452b814996c47eee6f131..cccae2754c87fa9d7d59fde6c7e2c4a95ec3d094 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 
 public class OwnerDataResponse extends StateCheckerCommand {
index 94539957ef1745a11305bbfc9439ad45b9796cdb..6c58a6e5b230318728869a2ff7219f88c6b455f3 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index 62be328891ca69ea1ec930f868bcd8d220f3af43..749110998f1970190d52574b4fc42aa51bb132a1 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.eos.akka.owner.checker.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 
 public abstract class StateCheckerRequest<T extends StateCheckerReply> extends StateCheckerCommand
index a4366b5736a0b654317feb4f72d4f383321c24e6..9024c12b9d09e2f251d813f61e3fff6c22ce95cf 100644 (file)
@@ -7,17 +7,17 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.time.Duration;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidates;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesForMember;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesResponse;
index 8ce9adb1f96c175e61ed2cf7bbfcad89aa414e8b..02b8d0c6fc76674daa203e78e399c02746882ea9 100644 (file)
@@ -7,20 +7,20 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.SelfUniqueAddress;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import java.time.Duration;
 import java.util.Map;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.SelfUniqueAddress;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidates;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesResponse;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesUpdateResponse;
index c41a96620ce489d56327f90261d993becde59db1..6d4325f07543a58e9088af4ffb1c96497e7342c4 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.eos.akka.owner.supervisor;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.Member;
-import akka.cluster.typed.Cluster;
-import akka.pattern.StatusReply;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.typed.Cluster;
+import org.apache.pekko.pattern.StatusReply;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ActivateDataCenter;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidates;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesForMember;
index 4d85e3f9ce5a9fe927e0022c8cedf5365730837d..c433985b563aa586e1648ff26a92a40fd2969656 100644 (file)
@@ -10,25 +10,6 @@ package org.opendaylight.controller.eos.akka.owner.supervisor;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ClusterEvent;
-import akka.cluster.ClusterEvent.CurrentClusterState;
-import akka.cluster.Member;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.LWWRegisterKey;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.SelfUniqueAddress;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
-import akka.cluster.typed.Cluster;
-import akka.cluster.typed.Subscribe;
-import akka.pattern.StatusReply;
 import com.google.common.collect.HashMultimap;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSet;
@@ -44,6 +25,25 @@ import java.util.Set;
 import java.util.function.BiPredicate;
 import java.util.stream.Collectors;
 import java.util.stream.StreamSupport;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ClusterEvent;
+import org.apache.pekko.cluster.ClusterEvent.CurrentClusterState;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.LWWRegisterKey;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.SelfUniqueAddress;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
+import org.apache.pekko.cluster.typed.Cluster;
+import org.apache.pekko.cluster.typed.Subscribe;
+import org.apache.pekko.pattern.StatusReply;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.AbstractEntityRequest;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.CandidatesChanged;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidates;
index 7223c4783a6365b6f6ed8720e39f608e2714b2a1..419bf6047dc58e01ddce66833be45ecf69ca2d4f 100644 (file)
@@ -9,24 +9,24 @@ package org.opendaylight.controller.eos.akka.owner.supervisor;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.LWWRegisterKey;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
-import akka.pattern.StatusReply;
 import java.time.Duration;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.LWWRegisterKey;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
+import org.apache.pekko.pattern.StatusReply;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidates;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesForMember;
index 5919a6ee737abf7400fbfd1ed5af203b0ab2de3a..0dfc6fd245f0be39df166e1a149fa958d0bbdee5 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
-import akka.pattern.StatusReply;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.pattern.StatusReply;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityId;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityName;
index 29e850223850e2c7162abab8134fefc216902148..e19022420a30d3fd3e7e37fe18e370416389965d 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.Nullable;
 
 public final class ActivateDataCenter extends OwnerSupervisorCommand implements Serializable {
index 6334d977db37b0072e2ac2fb71b5a08a1d0d6f42..654ae53281682bd8f51228da379b3212c6941545 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
 import com.google.common.base.MoreObjects;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index 64971c80bc8ac9f571f5c459049da50a5a1e3cb8..13f924b0c758c9dce3be8f899743406103b21b7a 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
 public class ClearCandidates extends OwnerSupervisorCommand {
index 1e27cb51610baf1aaf7c686ac32568a67f7a9d47..8e15b6be4d90051e3e18ae60a338c51678bfa77e 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.typed.ActorRef;
 
 /**
  * Request sent from Candidate registration actors to clear the candidate from all entities. Issued at start to clear
index 9f48323028bf926c8fa84df34a3cf6216c793064..0a8461085fcf89378e95271859310c8d0814a3f7 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
 public class ClearCandidatesUpdateResponse extends OwnerSupervisorCommand {
index 039bfc51fb287762b4cdef18ac6661f3c8431cb9..3ce298a3065d1818ffa5a5de0095382bb1026fcb 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.typed.ActorRef;
 import org.eclipse.jdt.annotation.Nullable;
 
 public final class DeactivateDataCenter extends OwnerSupervisorCommand implements Serializable {
index 69ea7dff5ad1adbd0a0a9c7f3561ec1804413e68..9cd072f91cedaf31121e7c4a6be52db619029b61 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
-import akka.pattern.StatusReply;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.pattern.StatusReply;
 
 public final class GetEntitiesBackendRequest extends OwnerSupervisorRequest<GetEntitiesBackendReply> {
     private static final long serialVersionUID = 1L;
index 0fa7842287ac6f8db1d3e52f75d783561f825e9f..679c87fe4f07ecc3a1764280c9730e245c906584 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
-import akka.pattern.StatusReply;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.pattern.StatusReply;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityId;
 
 public final class GetEntityBackendRequest extends AbstractEntityRequest<GetEntityBackendReply> {
index 11802cee8fff1f4de9da9586013aab6a5775d234..12cd150f80e0c742095ac00fb7c486991a3dd9bd 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.typed.ActorRef;
-import akka.pattern.StatusReply;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.pattern.StatusReply;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.entity.owners.norev.EntityId;
 
 public final class GetEntityOwnerBackendRequest extends AbstractEntityRequest<GetEntityOwnerBackendReply> {
index 53bf10ae120941acff56a74072776fd688087bbf..4f1c741751e4309ff7e15cc3d054dd23f4a6da1c 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index e734c6664b7b448c4293e5f9cb3bb48a08df5918..0d28c03054b06b625ba8e18d63b5c3e0d7299401 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 
 public final class InitialOwnerSync extends OwnerSupervisorCommand {
index 0825c3246c7eba47e7db6a4d435b60adb3b0a01c..49cbfe04d7ed0273610743c09f602d62629d50f5 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Address;
 import com.google.common.base.MoreObjects;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
 import org.eclipse.jdt.annotation.NonNull;
 
 public abstract class InternalClusterEvent extends OwnerSupervisorCommand {
index 9ff778900d923cf3315e79ad362d81cc60a235de..e7a3b6ec85c25db0882d34fbaac01f0bd09640df 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.Address;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
 
 public final class MemberDownEvent extends InternalClusterEvent {
     public MemberDownEvent(final Address address, final Set<String> roles) {
index dc6d79838d1edb5d5ab94fad1f3514cb6f1469f7..f0eeaeae036b035358fa3a918fdaa83e79371161 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.Address;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
 
 public final class MemberReachableEvent extends InternalClusterEvent {
     public MemberReachableEvent(final Address address, final Set<String> roles) {
index 24999fb3bce8c0d03b3fbc670fe393f32951d152..80de7ce4e62236275bfeba91e887cd631bdb0c63 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.Address;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
 
 public final class MemberUnreachableEvent extends InternalClusterEvent {
     public MemberUnreachableEvent(final Address address, final Set<String> roles) {
index 18eb765d0f72d754a55d8ba320636a4e289aaee8..849b1c041aa52c58157d561e855d99445dde0d62 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
-import akka.actor.Address;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
 
 public final class MemberUpEvent extends InternalClusterEvent {
     public MemberUpEvent(final Address address, final Set<String> roles) {
index b7ce5b2d0ce0bc2dfbcfd0ec6a9416fe2d7202e7..d8fcf27edb7671f344569ecdcd01e8496e75b824 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.UpdateResponse;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.UpdateResponse;
 import org.eclipse.jdt.annotation.NonNull;
 
 public final class OwnerChanged extends OwnerSupervisorCommand {
index c451681610976eaca4bb1d9bc80758065e8b985b..2b5119091a9c7f54479bf846aa639b3678eb9ebb 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.eos.akka.owner.supervisor.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.pattern.StatusReply;
 import java.io.Serializable;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.pattern.StatusReply;
 import org.eclipse.jdt.annotation.NonNull;
 
 public abstract class OwnerSupervisorRequest<T extends OwnerSupervisorReply> extends OwnerSupervisorCommand
index 03ecbae10a7c418448eccaf3b7e00cd832e33c9d..51653b3616c70550e8a97531542c30e2905d0dac 100644 (file)
@@ -7,21 +7,21 @@
  */
 package org.opendaylight.controller.eos.akka.registry.candidate;
 
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.Cluster;
-import akka.cluster.ddata.Key;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORMapKey;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.SelfUniqueAddress;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import java.util.Set;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ddata.Key;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORMapKey;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.SelfUniqueAddress;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.registry.candidate.command.CandidateRegistryCommand;
 import org.opendaylight.controller.eos.akka.registry.candidate.command.InternalUpdateResponse;
 import org.opendaylight.controller.eos.akka.registry.candidate.command.RegisterCandidate;
index f9ca06896e67f3cd9e7418cec4aa3a2676d308c2..c25913d6905be388ac91de0c539f29f1330d8fe3 100644 (file)
@@ -7,16 +7,16 @@
  */
 package org.opendaylight.controller.eos.akka.registry.candidate;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.actor.typed.javadsl.StashBuffer;
-import akka.cluster.Cluster;
 import java.time.Duration;
 import java.util.Set;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.actor.typed.javadsl.StashBuffer;
+import org.apache.pekko.cluster.Cluster;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesForMember;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.ClearCandidatesResponse;
 import org.opendaylight.controller.eos.akka.owner.supervisor.command.OwnerSupervisorCommand;
index 1759615603be70c6f3757934971090d6de370ef4..30255cb7a237f7979663df94945aa124172f76da 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.eos.akka.registry.candidate.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator.UpdateResponse;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.UpdateResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index 4419fdf4db4b6e85fce9f5abe6338c759f7a5b28..f218a301eebbd613f65686e74eb6581317365fe5 100644 (file)
@@ -7,18 +7,18 @@
  */
 package org.opendaylight.controller.eos.akka.registry.listener.owner;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.LWWRegisterKey;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import java.time.Duration;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.LWWRegisterKey;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.registry.listener.owner.command.InitialOwnerSync;
 import org.opendaylight.controller.eos.akka.registry.listener.owner.command.ListenerCommand;
 import org.opendaylight.controller.eos.akka.registry.listener.owner.command.OwnerChanged;
index 402389d06480e442e10de656d9fd878010ec5160..49dc31f08947a7245e173219c175dbc445e61190 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.eos.akka.registry.listener.owner.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.GetResponse;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.GetResponse;
 import org.eclipse.jdt.annotation.NonNull;
 
 public final class InitialOwnerSync extends ListenerCommand {
index 4e1298ab3d4bb4a767e32f00f3ac19be3a4d0f69..d023e9b11ae1b974ea4281185548114c67334ecf 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.eos.akka.registry.listener.owner.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
 import org.eclipse.jdt.annotation.NonNull;
 
 /**
index 7e445c581c268f6adc544b11c2473c36bcae7f22..6ceac9636ea463f6f3f13184e19a59c73d4d6e59 100644 (file)
@@ -7,18 +7,6 @@
  */
 package org.opendaylight.controller.eos.akka.registry.listener.type;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator.Changed;
-import akka.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
-import akka.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import com.google.common.collect.ImmutableSet;
 import com.google.common.collect.Sets;
 import java.time.Duration;
@@ -28,6 +16,18 @@ import java.util.Map.Entry;
 import java.util.Set;
 import java.util.UUID;
 import java.util.stream.Collectors;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.Changed;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
+import org.apache.pekko.cluster.ddata.typed.javadsl.ReplicatorMessageAdapter;
 import org.opendaylight.controller.eos.akka.registry.candidate.CandidateRegistry;
 import org.opendaylight.controller.eos.akka.registry.listener.owner.SingleEntityListenerActor;
 import org.opendaylight.controller.eos.akka.registry.listener.owner.command.ListenerCommand;
index a6183a8f1c3e403ce7171df671912f35dbf75611..0b6810c82f35afaaa35ada3b201292afc046db95 100644 (file)
@@ -9,15 +9,15 @@ package org.opendaylight.controller.eos.akka.registry.listener.type;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.UUID;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
 import org.opendaylight.controller.eos.akka.registry.listener.type.command.RegisterListener;
 import org.opendaylight.controller.eos.akka.registry.listener.type.command.TerminateListener;
 import org.opendaylight.controller.eos.akka.registry.listener.type.command.TypeListenerCommand;
index 07a4994fdbb6bd8f79245cbbcfc25e41bc8a4e24..427886a2f142eb91bedebf1d55f5aff2c1a8b01e 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.eos.akka.registry.listener.type.command;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
 import com.google.common.base.MoreObjects;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.SubscribeResponse;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.mdsal.eos.dom.api.DOMEntity;
 
index 1b964d5f63ff8041057cb54d272f032fb469e381..dfd293241f6e3dec777ea61c2fbe3c65e5ab6dbb 100644 (file)
@@ -10,19 +10,6 @@ package org.opendaylight.controller.eos.akka;
 import static org.awaitility.Awaitility.await;
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.Adapter;
-import akka.actor.typed.javadsl.AskPattern;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.cluster.ddata.LWWRegister;
-import akka.cluster.ddata.LWWRegisterKey;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
 import com.typesafe.config.Config;
 import com.typesafe.config.ConfigFactory;
 import java.time.Duration;
@@ -36,6 +23,19 @@ import java.util.concurrent.CompletionStage;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Supplier;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.Adapter;
+import org.apache.pekko.actor.typed.javadsl.AskPattern;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.cluster.ddata.LWWRegister;
+import org.apache.pekko.cluster.ddata.LWWRegisterKey;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
 import org.opendaylight.controller.eos.akka.bootstrap.EOSMain;
 import org.opendaylight.controller.eos.akka.bootstrap.command.BootstrapCommand;
 import org.opendaylight.controller.eos.akka.bootstrap.command.GetRunningContext;
@@ -70,28 +70,28 @@ public abstract class AbstractNativeEosTest {
     protected static final String DEFAULT_DATACENTER = "dc-default";
 
     protected static final List<String> TWO_NODE_SEED_NODES =
-            List.of("akka://ClusterSystem@127.0.0.1:2550",
-                    "akka://ClusterSystem@127.0.0.1:2551");
+            List.of("pekko://ClusterSystem@127.0.0.1:2550",
+                    "pekko://ClusterSystem@127.0.0.1:2551");
 
     protected static final List<String> THREE_NODE_SEED_NODES =
-            List.of("akka://ClusterSystem@127.0.0.1:2550",
-                    "akka://ClusterSystem@127.0.0.1:2551",
-                    "akka://ClusterSystem@127.0.0.1:2552");
+            List.of("pekko://ClusterSystem@127.0.0.1:2550",
+                    "pekko://ClusterSystem@127.0.0.1:2551",
+                    "pekko://ClusterSystem@127.0.0.1:2552");
 
     protected static final List<String> DATACENTER_SEED_NODES =
-            List.of("akka://ClusterSystem@127.0.0.1:2550",
-                    "akka://ClusterSystem@127.0.0.1:2551",
-                    "akka://ClusterSystem@127.0.0.1:2552",
-                    "akka://ClusterSystem@127.0.0.1:2553");
+            List.of("pekko://ClusterSystem@127.0.0.1:2550",
+                    "pekko://ClusterSystem@127.0.0.1:2551",
+                    "pekko://ClusterSystem@127.0.0.1:2552",
+                    "pekko://ClusterSystem@127.0.0.1:2553");
 
     protected static final BindingDOMCodecServices CODEC_CONTEXT =
         new DefaultBindingDOMCodecFactory().createBindingDOMCodec(BindingRuntimeHelpers.createRuntimeContext());
 
-    private static final String REMOTE_PROTOCOL = "akka";
-    private static final String PORT_PARAM = "akka.remote.artery.canonical.port";
-    private static final String ROLE_PARAM = "akka.cluster.roles";
-    private static final String SEED_NODES_PARAM = "akka.cluster.seed-nodes";
-    private static final String DATA_CENTER_PARAM = "akka.cluster.multi-data-center.self-data-center";
+    private static final String REMOTE_PROTOCOL = "pekko";
+    private static final String PORT_PARAM = "pekko.remote.artery.canonical.port";
+    private static final String ROLE_PARAM = "pekko.cluster.roles";
+    private static final String SEED_NODES_PARAM = "pekko.cluster.seed-nodes";
+    private static final String DATA_CENTER_PARAM = "pekko.cluster.multi-data-center.self-data-center";
 
     protected static MockNativeEntityOwnershipService startupNativeService(final int port, final List<String> roles,
                                                                            final List<String> seedNodes)
@@ -106,8 +106,8 @@ public abstract class AbstractNativeEosTest {
         final Config config = ConfigFactory.parseMap(overrides)
                 .withFallback(ConfigFactory.load());
 
-        // Create a classic Akka system since thats what we will have in osgi
-        final akka.actor.ActorSystem system = akka.actor.ActorSystem.create("ClusterSystem", config);
+        // Create a classic Pekko system since thats what we will have in osgi
+        final var system = org.apache.pekko.actor.ActorSystem.create("ClusterSystem", config);
 
         return new MockNativeEntityOwnershipService(system);
     }
@@ -146,8 +146,8 @@ public abstract class AbstractNativeEosTest {
 
         final Config config = ConfigFactory.parseMap(overrides).withFallback(ConfigFactory.load());
 
-        // Create a classic Akka system since thats what we will have in osgi
-        final akka.actor.ActorSystem system = akka.actor.ActorSystem.create("ClusterSystem", config);
+        // Create a classic Pekko system since thats what we will have in osgi
+        final var system = org.apache.pekko.actor.ActorSystem.create("ClusterSystem", config);
         final ActorRef<BootstrapCommand> eosBootstrap =
                 Adapter.spawn(system, bootstrap.get(), "EOSBootstrap");
 
@@ -164,7 +164,7 @@ public abstract class AbstractNativeEosTest {
     protected static ClusterNode startupWithDatacenter(final int port, final List<String> roles,
                                                        final List<String> seedNodes, final String dataCenter)
             throws ExecutionException, InterruptedException {
-        final akka.actor.ActorSystem system = startupActorSystem(port, roles, seedNodes, dataCenter);
+        final org.apache.pekko.actor.ActorSystem system = startupActorSystem(port, roles, seedNodes, dataCenter);
         final ActorRef<BootstrapCommand> eosBootstrap =
                 Adapter.spawn(system, EOSMain.create(CODEC_CONTEXT.getInstanceIdentifierCodec()), "EOSBootstrap");
 
@@ -178,7 +178,7 @@ public abstract class AbstractNativeEosTest {
                 runningContext.getCandidateRegistry(), runningContext.getOwnerSupervisor());
     }
 
-    protected static akka.actor.ActorSystem startupActorSystem(final int port, final List<String> roles,
+    protected static org.apache.pekko.actor.ActorSystem startupActorSystem(final int port, final List<String> roles,
                                                                final List<String> seedNodes) {
         final Map<String, Object> overrides = new HashMap<>();
         overrides.put(PORT_PARAM, port);
@@ -190,11 +190,11 @@ public abstract class AbstractNativeEosTest {
         final Config config = ConfigFactory.parseMap(overrides)
                 .withFallback(ConfigFactory.load());
 
-        // Create a classic Akka system since thats what we will have in osgi
-        return akka.actor.ActorSystem.create("ClusterSystem", config);
+        // Create a classic Pekko system since thats what we will have in osgi
+        return org.apache.pekko.actor.ActorSystem.create("ClusterSystem", config);
     }
 
-    protected static akka.actor.ActorSystem startupActorSystem(final int port, final List<String> roles,
+    protected static org.apache.pekko.actor.ActorSystem startupActorSystem(final int port, final List<String> roles,
                                                                final List<String> seedNodes, final String dataCenter) {
         final Map<String, Object> overrides = new HashMap<>();
         overrides.put(PORT_PARAM, port);
@@ -207,8 +207,8 @@ public abstract class AbstractNativeEosTest {
         final Config config = ConfigFactory.parseMap(overrides)
                 .withFallback(ConfigFactory.load());
 
-        // Create a classic Akka system since thats what we will have in osgi
-        return akka.actor.ActorSystem.create("ClusterSystem", config);
+        // Create a classic Pekko system since thats what we will have in osgi
+        return org.apache.pekko.actor.ActorSystem.create("ClusterSystem", config);
     }
 
     private static Behavior<BootstrapCommand> rootBehavior() {
@@ -361,7 +361,7 @@ public abstract class AbstractNativeEosTest {
     protected static final class ClusterNode {
         private final int port;
         private final List<String> roles;
-        private final akka.actor.typed.ActorSystem<Void> actorSystem;
+        private final org.apache.pekko.actor.typed.ActorSystem<Void> actorSystem;
         private final ActorRef<BootstrapCommand> eosBootstrap;
         private final ActorRef<TypeListenerRegistryCommand> listenerRegistry;
         private final ActorRef<CandidateRegistryCommand> candidateRegistry;
@@ -387,7 +387,7 @@ public abstract class AbstractNativeEosTest {
             return port;
         }
 
-        public akka.actor.typed.ActorSystem<Void> getActorSystem() {
+        public org.apache.pekko.actor.typed.ActorSystem<Void> getActorSystem() {
             return actorSystem;
         }
 
index 0f4a38de016cc853e4ec8a8d4e35409913c4f27b..7adfaff727110e7ddefc7876c65927e5f49ee946 100644 (file)
@@ -15,15 +15,6 @@ import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import akka.actor.ActorSystem;
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.javadsl.Adapter;
-import akka.actor.typed.javadsl.AskPattern;
-import akka.cluster.ddata.ORMap;
-import akka.cluster.ddata.ORSet;
-import akka.cluster.ddata.typed.javadsl.DistributedData;
-import akka.cluster.ddata.typed.javadsl.Replicator;
 import com.typesafe.config.ConfigFactory;
 import java.time.Duration;
 import java.util.List;
@@ -31,6 +22,15 @@ import java.util.Map;
 import java.util.Optional;
 import java.util.concurrent.CompletionStage;
 import java.util.concurrent.ExecutionException;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.javadsl.Adapter;
+import org.apache.pekko.actor.typed.javadsl.AskPattern;
+import org.apache.pekko.cluster.ddata.ORMap;
+import org.apache.pekko.cluster.ddata.ORSet;
+import org.apache.pekko.cluster.ddata.typed.javadsl.DistributedData;
+import org.apache.pekko.cluster.ddata.typed.javadsl.Replicator;
 import org.awaitility.Durations;
 import org.junit.After;
 import org.junit.Before;
@@ -64,7 +64,7 @@ public class AkkaEntityOwnershipServiceTest extends AbstractNativeEosTest {
     static final QName QNAME = QName.create("test", "2015-08-11", "foo");
 
     private ActorSystem system;
-    private akka.actor.typed.ActorSystem<Void> typedSystem;
+    private org.apache.pekko.actor.typed.ActorSystem<Void> typedSystem;
     private AkkaEntityOwnershipService service;
     private ActorRef<Replicator.Command> replicator;
 
index e4927ca67b7e123c501161f77dd0baca8e38ce0f..002ce167307dc6e4a6ec9f02bf791ccedc68dd28 100644 (file)
@@ -7,14 +7,14 @@
  */
 package org.opendaylight.controller.eos.akka;
 
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.typed.Cluster;
 import java.time.Duration;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.typed.Cluster;
 import org.awaitility.Awaitility;
 import org.junit.After;
 import org.junit.Before;
index fe67b8f69da4819cdb6f948047a912932c8c8b98..b1cc436050fef310ecf6c3e76b78efbbb7147fd2 100644 (file)
@@ -11,16 +11,16 @@ import static org.awaitility.Awaitility.await;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorSystem;
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.actor.typed.javadsl.Adapter;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.typed.Cluster;
 import java.time.Duration;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.ExecutionException;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.actor.typed.javadsl.Adapter;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.typed.Cluster;
 import org.awaitility.Awaitility;
 import org.junit.After;
 import org.junit.Before;
index e4971785f30879e970d1ebb11eafc7529d25f7b1..823b8a1849a5a6853466599b1438ee617f70a05f 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.eos.akka;
 
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
 import java.time.Duration;
 import java.util.List;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 352a84227333316fc37f44b933840cb9553327a9..797e72769d3035b2561d5b3e526d15a0d98dd409 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.eos.akka;
 
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.typed.Cluster;
 import com.google.common.collect.ImmutableList;
 import java.time.Duration;
 import java.util.List;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.typed.Cluster;
 import org.awaitility.Awaitility;
 import org.junit.After;
 import org.junit.Before;
index 7699799ba235b19f5be67c66dfebfa23a0eb0bb9..bc1c808fac1e49b116259c77f2e2b005ab694354 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.eos.akka;
 
 import static org.awaitility.Awaitility.await;
 
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.typed.Cluster;
 import com.google.common.collect.ImmutableList;
 import java.time.Duration;
 import java.util.List;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.typed.Cluster;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 4bf68a7ef1a46c0749ad618ba0a21054cc58f03e..1862ad1d04dade2b32ef1f1aa8119f7cf472acb1 100644 (file)
@@ -7,20 +7,20 @@
  */
 package org.opendaylight.controller.eos.akka.owner.supervisor;
 
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.actor.typed.ActorRef;
-import akka.actor.typed.Behavior;
-import akka.actor.typed.javadsl.AbstractBehavior;
-import akka.actor.typed.javadsl.ActorContext;
-import akka.actor.typed.javadsl.Behaviors;
-import akka.actor.typed.javadsl.Receive;
-import akka.cluster.typed.Cluster;
-import akka.cluster.typed.ClusterSingleton;
-import akka.cluster.typed.SingletonActor;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Set;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.actor.typed.ActorRef;
+import org.apache.pekko.actor.typed.Behavior;
+import org.apache.pekko.actor.typed.javadsl.AbstractBehavior;
+import org.apache.pekko.actor.typed.javadsl.ActorContext;
+import org.apache.pekko.actor.typed.javadsl.Behaviors;
+import org.apache.pekko.actor.typed.javadsl.Receive;
+import org.apache.pekko.cluster.typed.Cluster;
+import org.apache.pekko.cluster.typed.ClusterSingleton;
+import org.apache.pekko.cluster.typed.SingletonActor;
 import org.junit.Test;
 import org.opendaylight.controller.eos.akka.AbstractNativeEosTest;
 import org.opendaylight.controller.eos.akka.bootstrap.command.BootstrapCommand;
index f544ed1a4ae2641dddc75dcddad4b94165efe937..31c9f26b32667076bb50f0cc7d79adc097e04695 100644 (file)
@@ -11,18 +11,18 @@ import static org.awaitility.Awaitility.await;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.testkit.typed.javadsl.ActorTestKit;
-import akka.actor.typed.javadsl.Adapter;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.typed.Cluster;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
 import java.time.Duration;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.testkit.typed.javadsl.ActorTestKit;
+import org.apache.pekko.actor.typed.javadsl.Adapter;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.typed.Cluster;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.awaitility.Awaitility;
 import org.junit.After;
 import org.junit.Before;
index 08c2a36fb0a752c88df30cb726769b9ab1a6bf9b..4cb1d0b4d9691329a31a6a623a14fc4196214ffb 100644 (file)
@@ -1,4 +1,4 @@
-akka {
+pekko {
   loglevel = debug
   actor {
     warn-about-java-serializer-usage = off
@@ -15,11 +15,11 @@ akka {
   }
   cluster {
     seed-nodes = [
-      "akka://ClusterSystem@127.0.0.1:2550"]
+      "pekko://ClusterSystem@127.0.0.1:2550"]
     roles = [
       "member-1"
     ]
-    downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"
+    downing-provider-class = "org.apache.pekko.cluster.sbr.SplitBrainResolverProvider"
 
     distributed-data {
         # How often the Replicator should send out gossip information.
index e16f363f0e0441589f644466ba0f9eec7ec9b6bb..d300f2c6f3fcc43cfb883c912c7f0a5fae995ea1 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.example;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
 import org.opendaylight.controller.cluster.example.messages.KeyValue;
 import org.opendaylight.controller.cluster.example.messages.KeyValueSaved;
 import org.slf4j.Logger;
index 052a48940c2cbb8db823832565d8a006c0c07d51..4b898bb5014f356a37a383c7d93158feaab01fd5 100644 (file)
@@ -7,8 +7,6 @@
  */
 package org.opendaylight.controller.cluster.example;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.io.OutputStream;
@@ -17,6 +15,8 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.example.messages.KeyValue;
 import org.opendaylight.controller.cluster.example.messages.KeyValueSaved;
 import org.opendaylight.controller.cluster.example.messages.PrintRole;
index a600fe3c1df66c1ef086bd66fd271ff4dac9af79..2847c8712bbf10aabaa01dc163127f36fc638473 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.cluster.example;
 
-import akka.actor.ActorRef;
-import akka.actor.Cancellable;
-import akka.actor.Props;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 import org.opendaylight.controller.cluster.example.messages.RegisterListener;
 import org.opendaylight.controller.cluster.notifications.RegisterRoleChangeListener;
@@ -36,7 +36,7 @@ import scala.concurrent.duration.FiniteDuration;
  */
 public class ExampleRoleChangeListener extends AbstractUntypedActor implements AutoCloseable {
     // the akka url should be set to the notifiers actor-system and domain.
-    private static final String NOTIFIER_AKKA_URL = "akka://raft-test@127.0.0.1:2550/user/";
+    private static final String NOTIFIER_AKKA_URL = "pekko://raft-test@127.0.0.1:2550/user/";
 
     private final Map<String, Boolean> notifierRegistrationStatus = new HashMap<>();
     private Cancellable registrationSchedule = null;
index 9559f1cff422c75fc116ffbfa321338eda320175..74a61af24564faa1321e7749baad857f2e3f97b4 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.cluster.example;
 
-import akka.actor.ActorRef;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Random;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.example.messages.KeyValue;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 871d3dfc2c9342b222b70972963913f3f92f7939..40a4f38dbd466cacd165a06fc9e28b8d696862ff 100644 (file)
@@ -7,9 +7,6 @@
  */
 package org.opendaylight.controller.cluster.example;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.PoisonPill;
 import java.io.BufferedReader;
 import java.io.InputStreamReader;
 import java.nio.charset.Charset;
@@ -17,6 +14,9 @@ import java.util.Arrays;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.PoisonPill;
 import org.opendaylight.controller.cluster.example.messages.KeyValue;
 
 public final class Main {
@@ -25,9 +25,9 @@ public final class Main {
     private static Map<String, String> allPeers = new HashMap<>();
 
     static {
-        allPeers.put("example-1", "akka://default/user/example-1");
-        allPeers.put("example-2", "akka://default/user/example-2");
-        allPeers.put("example-3", "akka://default/user/example-3");
+        allPeers.put("example-1", "pekko://default/user/example-1");
+        allPeers.put("example-2", "pekko://default/user/example-2");
+        allPeers.put("example-3", "pekko://default/user/example-3");
     }
 
     private Main() {
index f448da12beba0ee133a5ae324cd321fa66f2e08b..234976c1c6268414784ada5a1c49f7a51bf35951 100644 (file)
@@ -7,8 +7,6 @@
  */
 package org.opendaylight.controller.cluster.example;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
 import com.google.common.collect.Lists;
 import com.typesafe.config.ConfigFactory;
 import java.io.BufferedReader;
@@ -19,6 +17,8 @@ import java.util.List;
 import java.util.Map;
 import java.util.Optional;
 import java.util.concurrent.ConcurrentHashMap;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
 import org.opendaylight.controller.cluster.example.messages.PrintRole;
 import org.opendaylight.controller.cluster.example.messages.PrintState;
 import org.opendaylight.controller.cluster.raft.ConfigParams;
@@ -150,7 +150,7 @@ public class TestDriver {
     public void createNodes(final int num) {
         for (int i = 0; i < num; i++)  {
             nameCounter = nameCounter + 1;
-            allPeers.put("example-" + nameCounter, "akka://raft-test/user/example-" + nameCounter);
+            allPeers.put("example-" + nameCounter, "pekko://raft-test/user/example-" + nameCounter);
         }
 
         for (String s : allPeers.keySet())  {
@@ -201,7 +201,7 @@ public class TestDriver {
     }
 
     public void reinstateNode(final String actorName) {
-        String address = "akka://default/user/" + actorName;
+        String address = "pekko://default/user/" + actorName;
         allPeers.put(actorName, address);
 
         ActorRef exampleActor = createExampleActor(actorName);
index 9c386091b10c68d5561b872518f6d5f5943915a1..19de7e040a2ce8a7ee54a365a35972aa6d746785 100644 (file)
@@ -1,4 +1,4 @@
-akka {
+pekko {
 
     loglevel = "DEBUG"
 
@@ -9,7 +9,7 @@ akka {
 }
 
 raft-test {
-    akka {
+    pekko {
 
         loglevel = "DEBUG"
 
@@ -17,7 +17,7 @@ raft-test {
             # enable to test serialization only.
             # serialize-messages = on
 
-            provider = "akka.remote.RemoteActorRefProvider"
+            plugin-dispatcher = "org.apache.pekko.persistence.dispatchersRemoteActorRefProvider"
         }
 
         remote {
@@ -33,11 +33,11 @@ raft-test {
 
 raft-test-listener {
 
-  akka {
+  pekko {
     loglevel = "DEBUG"
 
     actor {
-        provider = "akka.remote.RemoteActorRefProvider"
+        plugin-dispatcher = "org.apache.pekko.persistence.dispatchersRemoteActorRefProvider"
     }
 
     remote {
index ddc5e9468215848169dc3c1721c485d766ef955f..f0cce0afeea932e0ebcc85563fee5d47df81dc59 100644 (file)
@@ -43,7 +43,7 @@
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
-      <artifactId>repackaged-akka</artifactId>
+      <artifactId>repackaged-pekko</artifactId>
     </dependency>
     <dependency>
       <groupId>org.scala-lang</groupId>
@@ -56,8 +56,8 @@
 
     <!-- Test Dependencies -->
     <dependency>
-      <groupId>com.typesafe.akka</groupId>
-      <artifactId>akka-testkit_2.13</artifactId>
+      <groupId>org.apache.pekko</groupId>
+      <artifactId>pekko-testkit_2.13</artifactId>
     </dependency>
     <dependency>
       <groupId>org.awaitility</groupId>
index c69decdd14d8578dcba92d608ca55018a8b34b21..d669a5e6d6898e9fc6ebd5df6d423ea3346e276e 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.yangtools.concepts.Identifier;
 
 /**
index 6febb902517d08d21076b6f02fc8003b214bbaba..bbe90f239af7e710ddf1255c4e5e76db83b27623 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.raft;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.actor.ReceiveTimeout;
-import akka.actor.UntypedAbstractActor;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.ReceiveTimeout;
+import org.apache.pekko.actor.UntypedAbstractActor;
 import org.opendaylight.controller.cluster.raft.base.messages.CaptureSnapshot;
 import org.opendaylight.controller.cluster.raft.base.messages.CaptureSnapshotReply;
 import org.opendaylight.controller.cluster.raft.client.messages.GetSnapshotReply;
@@ -59,7 +59,7 @@ final class GetSnapshotReplyActor extends UntypedAbstractActor {
             LOG.warn("{}: Got ReceiveTimeout for inactivity - did not receive CaptureSnapshotReply within {} ms",
                     params.id, params.receiveTimeout.toMillis());
 
-            params.replyToActor.tell(new akka.actor.Status.Failure(new TimeoutException(String.format(
+            params.replyToActor.tell(new org.apache.pekko.actor.Status.Failure(new TimeoutException(String.format(
                     "Timed out after %d ms while waiting for CaptureSnapshotReply",
                         params.receiveTimeout.toMillis()))), getSelf());
             getSelf().tell(PoisonPill.getInstance(), getSelf());
index 64794ca05432d3a485f9ba51c444bb8c4bfce235..26344e32e2e6bd93026988785386f772bc2e9cd5 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.japi.Procedure;
+import org.apache.pekko.japi.Procedure;
 
 /**
  * An akka Procedure that does nothing.
index f19c0356230b027c910c6bed502f2c3e023f55c8..2bd8a3b3a05003f2f6d8a442bed8f413e60530ae 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorRef;
 import com.google.common.io.ByteSource;
 import java.io.OutputStream;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.raft.persisted.EmptyState;
 import org.opendaylight.controller.cluster.raft.persisted.Snapshot.State;
 
index 6bc7c7b2226e314e87443d49256f976f0b6b0465..8fa89c2213976947fe5b078866fa595a226bec61 100644 (file)
@@ -11,12 +11,6 @@ package org.opendaylight.controller.cluster.raft;
 import static com.google.common.base.Verify.verify;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.PoisonPill;
-import akka.actor.Status;
-import akka.persistence.JournalProtocol;
-import akka.persistence.SnapshotProtocol;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.ImmutableList;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -26,6 +20,12 @@ import java.util.Objects;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.lang3.time.DurationFormatUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.persistence.JournalProtocol;
+import org.apache.pekko.persistence.SnapshotProtocol;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
index e971ed4f6de95d5d53d02e7eeb9d3d6c89628db6..06a577c35308117541f0d1641952400fdc6df992 100644 (file)
@@ -7,17 +7,17 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.cluster.Cluster;
 import com.google.common.annotations.VisibleForTesting;
 import java.util.Collection;
 import java.util.Optional;
 import java.util.concurrent.Executor;
 import java.util.function.Consumer;
 import java.util.function.LongSupplier;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.cluster.Cluster;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
index bb96906c8fd6965002a68ddb33c73e482b30ff5e..83053e1026a5f5028db3eb918719b984293ec50b 100644 (file)
@@ -9,12 +9,6 @@ package org.opendaylight.controller.cluster.raft;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorContext;
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.cluster.Cluster;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.ImmutableList;
 import java.util.Collection;
@@ -25,6 +19,12 @@ import java.util.Optional;
 import java.util.concurrent.Executor;
 import java.util.function.Consumer;
 import java.util.function.LongSupplier;
+import org.apache.pekko.actor.ActorContext;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.cluster.Cluster;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStreamFactory;
index 846ef22bb08c9cec938f02d9317f76684319188a..ad5896cf169ad20d94c273960bf58f4a8d96322a 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.raft;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.japi.Procedure;
+import org.apache.pekko.japi.Procedure;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
 import org.opendaylight.controller.cluster.DelegatingPersistentDataProvider;
 import org.opendaylight.controller.cluster.PersistentDataProvider;
index 7c6c6ca372f31a6451f69b5ee53dcb61f61f422f..dcc896f22a4201f375ee325da09fb3e7724d509f 100644 (file)
@@ -7,15 +7,15 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Cancellable;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Stopwatch;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Cancellable;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.raft.base.messages.LeaderTransitioning;
 import org.opendaylight.controller.cluster.raft.behaviors.Leader;
index f763d35a0f2aae87b99ab272468b83417ec72c85..5e3c9fda8e25bf34077abe96a9f796745cbacbfa 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.persistence.RecoveryCompleted;
-import akka.persistence.SnapshotOffer;
 import com.google.common.base.Stopwatch;
 import java.util.Collections;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.persistence.SnapshotOffer;
 import org.opendaylight.controller.cluster.PersistentDataProvider;
 import org.opendaylight.controller.cluster.raft.base.messages.ApplySnapshot;
 import org.opendaylight.controller.cluster.raft.messages.PersistentPayload;
index fd2cd419d77344fc9284d044d089d0ca4cd21489..23ce97e8f50c0bd1b507f5d27826e175b40922a3 100644 (file)
@@ -9,9 +9,6 @@ package org.opendaylight.controller.cluster.raft;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Cancellable;
 import com.google.common.collect.ImmutableList;
 import java.util.ArrayDeque;
 import java.util.Collection;
@@ -19,6 +16,9 @@ import java.util.HashSet;
 import java.util.Map;
 import java.util.Queue;
 import java.util.UUID;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Cancellable;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.raft.base.messages.ApplyState;
 import org.opendaylight.controller.cluster.raft.base.messages.SnapshotComplete;
index 8887a650c099e9c0427ca5f28db7922557f02bfc..dbcdba149afa4af2e1409a7ae2ef82c59c14209b 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorRef;
 import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.io.OutputStream;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.raft.persisted.Snapshot.State;
 
index 1c21eef214c944a3b00d029e3102ba9d74b85b23..4ecd0a767f6baebc274ba385e7c340735862d7e5 100644 (file)
@@ -7,14 +7,14 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorRef;
-import akka.persistence.SaveSnapshotFailure;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.util.Timeout;
 import com.google.common.annotations.VisibleForTesting;
 import java.util.Collections;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.SaveSnapshotFailure;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.raft.base.messages.ApplySnapshot;
 import org.opendaylight.controller.cluster.raft.base.messages.CaptureSnapshot;
 import org.opendaylight.controller.cluster.raft.base.messages.CaptureSnapshotReply;
index ba394e68a73f4f100f629889e35c8d807c0e05db..f57c68516fb1e54da0584af06fb3d10788a5addf 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.cluster.raft;
 
-import akka.persistence.SnapshotSelectionCriteria;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.io.OutputStream;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStream;
index cff2696e02fc8b9ed39cf6845c00779ae0373adc..44c36bdd3aa6721a21ac1535a25a79c600690be4 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.raft;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Cancellable;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.apache.pekko.actor.Cancellable;
 import scala.concurrent.duration.FiniteDuration;
 
 /**
index c9660d9a4a2405e8cb7dbea3abd7721816007264..b0fc3876afcc53407ec3f5d00214f7c803f2b9c5 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.raft.base.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.raft.persisted.Snapshot;
 
index 10ee1d04f536de6463a3c072a4f75ba88897931e..8e347ff792cc85e268b044abbab91ff313f304d9 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.actor.ActorRef;
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
 import org.opendaylight.yangtools.concepts.Identifier;
 
index 0fd48edf811923d5d96f7f2cb301a193f0da01a8..3983d1632b37d8a9150fe82d599844ff812497a9 100644 (file)
@@ -8,9 +8,9 @@
 
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.dispatch.ControlMessage;
 import java.util.Collections;
 import java.util.List;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
 
 public class CaptureSnapshot implements ControlMessage {
index 552c7df22d8e10401384c993deb2988714d90f81..2ea000d0eb22dfeca4054aadc679dfe78e194e86 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.raft.base.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.dispatch.ControlMessage;
 import java.io.OutputStream;
 import java.util.Optional;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.raft.persisted.Snapshot;
 
index 7f367f982b5ecdb5fa2b2cb9693a683015c9c7fd..1b16085ee75940b32f60176c9af52c00707559d5 100644 (file)
@@ -8,7 +8,7 @@
 
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Local message sent to indicate the current election term has timed out.
index edd4986a47b4b36b036f2f0ea209ac32aab69b0c..8424f7fd2e36c696d64c041be553ef41c708a2b9 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.yangtools.concepts.Identifier;
 
 public record Replicate(long logIndex, boolean sendImmediate, ActorRef clientActor, Identifier identifier) {
index b3e44f0ce167644268878723afb04ad849fe9005..3be62cbd53e6612f4802986a3a67ac91f5fde2b3 100644 (file)
@@ -8,7 +8,7 @@
 
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * This messages is sent via a schedule to the Leader to prompt it to send a heart beat to its followers.
index 4ac17053bce417a9241981df409817d2aa400114..b640002fd8bb673f66520cc015677d4fccbe9ecb 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Internal message sent when a snapshot capture is complete.
index 2b7684481955110bab875403db0447554583cc7e..d0637d78558e1cd223a2ad84cb66645a5ffd9d62 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.raft.base.messages;
 
-import akka.dispatch.ControlMessage;
 import java.io.Serializable;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Message sent to a follower to force an immediate election time out.
index dcfa5c1303490f30cd3c5c5f8091f9cd450e7d5f..d2abbaa850f6a1cd476bbd8bb2e626c599bf7a47 100644 (file)
@@ -9,9 +9,6 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Cancellable;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.io.ByteSource;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -27,6 +24,9 @@ import java.util.Optional;
 import java.util.OptionalInt;
 import java.util.Queue;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Cancellable;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.io.SharedFileBackedOutputStream;
 import org.opendaylight.controller.cluster.messaging.MessageSlicer;
index ab2cdbd296f2a2e0c59b78e7dbdad95f2d90eb84..8c29ab77e5be0421fff5dd46522eb6c55f632e61 100644 (file)
@@ -9,15 +9,15 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Cancellable;
-import akka.cluster.Cluster;
-import akka.cluster.Member;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.ThreadLocalRandom;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.Member;
 import org.opendaylight.controller.cluster.raft.RaftActorContext;
 import org.opendaylight.controller.cluster.raft.RaftState;
 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
index 5ca030da69a7f4bd20ab92c25004110ba9f594f6..eebbb6d8beb9f97bd94a9edc8598d2b79256f54a 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.raft.behaviors;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
 import com.google.common.collect.ImmutableList;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
 import org.opendaylight.controller.cluster.raft.PeerInfo;
 import org.opendaylight.controller.cluster.raft.RaftActorContext;
 import org.opendaylight.controller.cluster.raft.RaftState;
index a62ca3546c32e113ab890a05eb9d612014773270..8d1fb363be84776d055a5c931777fda96e378ce6 100644 (file)
@@ -7,13 +7,6 @@
  */
 package org.opendaylight.controller.cluster.raft.behaviors;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Address;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent.CurrentClusterState;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Stopwatch;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -25,6 +18,13 @@ import java.util.Set;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent.CurrentClusterState;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.messaging.MessageAssembler;
 import org.opendaylight.controller.cluster.raft.RaftActorContext;
index e07a9723fc43af48755846d68479d090b61f230f..e7f124550d1e2afbfcbf77cefe7772cea41be8ad 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.behaviors;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.raft.RaftActorContext;
 import org.opendaylight.controller.cluster.raft.RaftState;
index 873d23c51e2347dbaf561ea380b633aa312635fb..3e08ff7d192d76565586b9d7f7cb16aceb0e7b55 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Stopwatch;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.raft.FollowerLogInformation;
index e94cff91540a727c910f7fe111053520e5530c6b..11b546523826de8bf5380348f12db725ed77641c 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.behaviors;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.raft.RaftActorContext;
 import org.opendaylight.controller.cluster.raft.RaftState;
 import org.opendaylight.controller.cluster.raft.base.messages.ApplyState;
index ed02706f3e8c4747fb05fb0c6415aaa40f135127..1f2f9206bff86544776134a7a45a6f3bafc05c6d 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.behaviors;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.raft.RaftState;
 
index 2b700ffc43c1ec80cce36f2ab4293cfaebc09547..08d9a28c0072f5a9476833f9bee4586bd738e9c2 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 56ec83ee0a92f589c3d1ddf2e2546dc0ca6604fd..d6f7a5dec874bded8c59f8887c4026aa5983999f 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.client.messages;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Local message sent to a RaftActor to obtain a snapshot of statistical information. Returns an
index c9bc2ed3b2174451921a93fb33d6d135bbdf0bf4..d00466e91f3548c30ff1c5704f29190237a142f0 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.raft.client.messages;
 
-import akka.util.Timeout;
 import java.util.Optional;
+import org.apache.pekko.util.Timeout;
 
 /**
  * Internal client message to get a snapshot of the current state based on whether or not persistence is enabled.
index 7fba245bf26fedd040e09c0b13dfc0cb425e2bcf..b0fdde0d8c222f9e60486b6c5328ee41574580cd 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.raft.client.messages;
 
-import akka.dispatch.ControlMessage;
 import java.io.Serializable;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Message sent to a raft actor to shutdown gracefully. If it's the leader it will transfer leadership to a
index ac990001e36ac02c14d6ac53a8a37d59f96c6b66..4a5c7b8b93ba66f9214fe464035ab4ac9bcf13b7 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.controller.cluster.raft.messages;
 
-import akka.dispatch.ControlMessage;
 import java.io.Serializable;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Interface implemented by all requests exchanged in the Raft protocol.
index 766c5c4338d4cd5aa5cfd00ec03460a6d8ebc64f..772d5fb598fcc2a5bec5af91953f1fdf7aab08ba 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.raft.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.ActorRef;
 
 /**
  * Message sent to leader to transfer leadership to a particular follower.
index ff11ca0317ce9f8adae08ba2751bd4609bb8603e..7b5e293692dd83ae24cff91c1f36d672987ce66e 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.messages;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * Local message sent to self on receiving the InstallSnapshotReply from a follower indicating that
index 30da667c2695c666f04eaae0d3f2a216772fe125..e7ba99776b4155d30ed7dfc44f73104dba36f9f8 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.raft.persisted;
 
-import akka.dispatch.ControlMessage;
 import java.io.Serializable;
+import org.apache.pekko.dispatch.ControlMessage;
 
 /**
  * This is an internal message that is stored in the akka's persistent journal. During recovery, this
index 0f076c55d755a3286433d388aad2e33faeef1fdb..09622e1fd1f782ef6aa9371892f264cbfb9e9b3d 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.raft.persisted;
 
-import akka.dispatch.ControlMessage;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.raft.messages.Payload;
 
index b0e3c65e56482496869c45990e9f2fe5faa3f557..c19dff5c74dd38e8f446592e276f52ba88016e1e 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster.raft.persisted;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JSerializer;
-import akka.util.ClassLoaderObjectInputStream;
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JSerializer;
+import org.apache.pekko.util.ClassLoaderObjectInputStream;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
index 7c1e7784f71a0d06b07ec47b3253fd4be3fe315c..64fdc1f9c1ce20393e24d7f670c6ae91cc3f00e8 100644 (file)
@@ -8,11 +8,11 @@
 
 package org.opendaylight.controller.cluster.raft;
 
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
 import java.io.File;
 import java.io.IOException;
 import org.apache.commons.io.FileUtils;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.opendaylight.yangtools.util.AbstractStringIdentifier;
index a421f53b203644dfa628d81f7bec5bf6ba0e1045..b0d251ac909f77d4876266d268345d39a498cf79 100644 (file)
@@ -10,16 +10,6 @@ package org.opendaylight.controller.cluster.raft;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 
-import akka.actor.ActorRef;
-import akka.actor.InvalidActorNameException;
-import akka.actor.PoisonPill;
-import akka.actor.Terminated;
-import akka.dispatch.Dispatchers;
-import akka.dispatch.Mailboxes;
-import akka.pattern.Patterns;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.OutputStream;
@@ -33,6 +23,16 @@ import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
 import java.util.function.Predicate;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.InvalidActorNameException;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.dispatch.Mailboxes;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.opendaylight.controller.cluster.raft.MockRaftActor.MockSnapshotState;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
index ef54be1759dfd23dda09d0e10af56ccf3dc64c1f..102ad53160ad5e6b7b49a273e368b1eb510c119d 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.controller.cluster.raft;
 import static org.junit.Assert.assertEquals;
 import static org.mockito.Mockito.verify;
 
-import akka.japi.Procedure;
+import org.apache.pekko.japi.Procedure;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.mockito.ArgumentCaptor;
index 74b89a0d5ba281437035b7d08bd963e3f2a4493d..77e2473fe1518c7bf3321d307771e59c3522c900 100644 (file)
@@ -15,11 +15,11 @@ import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorAct
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectMatching;
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.getAllMatching;
 
-import akka.actor.ActorRef;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.Lists;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.notifications.RoleChanged;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
index acb2363c14f6b239a1defc3febcf2a6e650add13..779f5900ba1bf88c45b37bafb003a5bb44cca040 100644 (file)
@@ -13,16 +13,16 @@ import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorAct
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching;
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectMatching;
 
-import akka.actor.ActorRef;
-import akka.actor.Status;
-import akka.pattern.Patterns;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.notifications.LeaderStateChanged;
 import org.opendaylight.controller.cluster.raft.base.messages.ApplyState;
index 276ffb27f4f8a5faf0e206c2cdedbc807fa12fb2..32be5d6d6d649c00bf0715f45615ba0954f97278 100644 (file)
@@ -9,9 +9,6 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.io.ByteSource;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -20,6 +17,9 @@ import java.util.List;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 83aebc37c316729261a321d3329738e22547c9f9..9dd20f9a72a56bcae50b3b7ea37f4c56a9e1bdda 100644 (file)
@@ -11,8 +11,6 @@ package org.opendaylight.controller.cluster.raft;
 import static org.junit.Assert.assertEquals;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import com.google.common.io.ByteSource;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.IOException;
@@ -27,6 +25,8 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Function;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
 import org.opendaylight.controller.cluster.raft.behaviors.RaftActorBehavior;
 import org.opendaylight.controller.cluster.raft.messages.Payload;
index d9d7e29d0f2323692d2736c0ebc5299dae2ca6f8..9254aa574000f57d363b73d5562d9cabff8e07a0 100644 (file)
@@ -10,10 +10,6 @@ package org.opendaylight.controller.cluster.raft;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
 import com.google.common.io.ByteSource;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.io.IOException;
@@ -24,6 +20,10 @@ import java.util.Map;
 import java.util.Objects;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
 import org.opendaylight.controller.cluster.NonPersistentDataProvider;
 import org.opendaylight.controller.cluster.raft.behaviors.RaftActorBehavior;
index f875f891b148a64a1e322425d8f682acfc367f3b..113d58434c46442cba4479c9b730d9215457f22e 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
 import java.util.List;
 import java.util.Map;
 import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.notifications.LeaderStateChanged;
 import org.opendaylight.controller.cluster.raft.AbstractRaftActorIntegrationTest.TestRaftActor.Builder;
index 1966e57f80f88e112e15bffbfc0ef22d5325d97a..6341e92b8291e7b4e70915936284179ae9f4c302 100644 (file)
@@ -12,10 +12,10 @@ import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorAct
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching;
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectMatching;
 
-import akka.actor.ActorRef;
 import com.google.common.collect.ImmutableMap;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.notifications.RoleChanged;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
index fabfc6c280468792da400318a8fe42b8c72c00d5..0f09f6c1e58cd9defb7302e9d763a3680d0a7bbe 100644 (file)
@@ -17,12 +17,12 @@ import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.Props;
-import akka.testkit.TestActorRef;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
index 22369d78870b64b2d1a3ebce71bdac2b795a5aaf..0f73df5885493407ff5a95c815df46ed66a3e903 100644 (file)
@@ -12,7 +12,7 @@ import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
 
-import akka.japi.Procedure;
+import org.apache.pekko.japi.Procedure;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
index c48f87a7ccc1e565c97274920e7c247d78a29d59..5aa2397ec74c76b4bd41a6e3c74ad78de02c97cc 100644 (file)
@@ -12,8 +12,8 @@ import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.dispatch.Dispatchers;
 import java.util.function.Function;
+import org.apache.pekko.dispatch.Dispatchers;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.RaftActorLeadershipTransferCohort.OnComplete;
index cceea83740116a00968cf6d864213edf0e945acc..b5186ec10a285f45210c98f2966a65b628c568b4 100644 (file)
@@ -19,13 +19,6 @@ import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.persistence.RecoveryCompleted;
-import akka.persistence.SnapshotMetadata;
-import akka.persistence.SnapshotOffer;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.io.OutputStream;
 import java.util.List;
@@ -39,6 +32,13 @@ import java.util.concurrent.ScheduledFuture;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.persistence.SnapshotOffer;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
index 8edb5fb68d5f62548f9d03ba578349e039e675e8..eead9850685b7f01288d716da645b012998837e0 100644 (file)
@@ -15,12 +15,6 @@ import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorAct
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching;
 import static org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectMatching;
 
-import akka.actor.AbstractActor;
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Stopwatch;
 import com.google.common.io.ByteSource;
 import com.google.common.util.concurrent.MoreExecutors;
@@ -32,6 +26,12 @@ import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.AbstractActor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 87717ccfbecd3a5040b2880566a136ffea181387..5e752d698416f4dd4560c2716493133aef3b4c1c 100644 (file)
@@ -13,15 +13,15 @@ import static org.mockito.ArgumentMatchers.eq;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.persistence.SaveSnapshotFailure;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.persistence.SnapshotMetadata;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.io.OutputStream;
 import java.util.List;
 import java.util.Map;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.SaveSnapshotFailure;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.persistence.SnapshotMetadata;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
index 501f7f325504660a9bc55e1788c427fd0f20e456..a817c618e7f5d2966ede897baaaa460374fc95e2 100644 (file)
@@ -25,19 +25,6 @@ import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Status.Failure;
-import akka.actor.Terminated;
-import akka.dispatch.Dispatchers;
-import akka.japi.Procedure;
-import akka.persistence.SaveSnapshotFailure;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.persistence.SnapshotMetadata;
-import akka.persistence.SnapshotOffer;
-import akka.protobuf.ByteString;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.ByteArrayOutputStream;
 import java.io.ObjectOutputStream;
@@ -49,6 +36,19 @@ import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.japi.Procedure;
+import org.apache.pekko.persistence.SaveSnapshotFailure;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.persistence.SnapshotOffer;
+import org.apache.pekko.protobuf.ByteString;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -1052,7 +1052,7 @@ public class RaftActorTest extends AbstractActorTest {
         reset(mockRaftActor.snapshotCohortDelegate);
 
         raftActorRef.tell(GetSnapshot.INSTANCE, kit.getRef());
-        Failure failure = kit.expectMsgClass(akka.actor.Status.Failure.class);
+        Failure failure = kit.expectMsgClass(org.apache.pekko.actor.Status.Failure.class);
         assertEquals("Failure cause type", TimeoutException.class, failure.cause().getClass());
 
         mockRaftActor.getSnapshotMessageSupport().setSnapshotReplyActorTimeout(
index 7d6b8988d32dbd076f5d87826e4984e0148b857a..5927d8606ffe238a9843b8087c9c1e8c1c6c40c4 100644 (file)
@@ -9,15 +9,15 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.fail;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.pattern.Patterns;
-import akka.testkit.javadsl.EventFilter;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.javadsl.EventFilter;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.raft.client.messages.FindLeader;
 import org.opendaylight.controller.cluster.raft.client.messages.FindLeaderReply;
 import org.slf4j.Logger;
index b3da66c0ff448d045742e2a0da2ced24fb325a19..7b5ecb54a67e0f77fbf82f64fc033e4135de11f0 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.testkit.TestActorRef;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.persisted.ApplyJournalEntries;
index f197ba29a0e5c2ea0b1a2ce1480aad003f4bc40a..60f37d115560584a9c4da7c356d0beea47a08ee2 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.persistence.SaveSnapshotSuccess;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
index 542828b9d0404eceeca87410426c93a64fa3ba7b..2b5c534bf08ef72a5a51a6db56531c19041a143c 100644 (file)
@@ -15,10 +15,10 @@ import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.japi.Procedure;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.util.Map;
 import java.util.function.Consumer;
+import org.apache.pekko.japi.Procedure;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
index 70f67425c3951c987c982999b664d1ae17d37625..6cf813a7f84572eab8e4e6ebe7f38b3ec46182d8 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.persistence.SaveSnapshotSuccess;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
 import org.opendaylight.controller.cluster.raft.base.messages.ApplyState;
index f2658957e1e173d66e30839cd3938ade1c57f870..2f7d4482db3ca646a85089eb476a0a26e9e1a684 100644 (file)
@@ -13,14 +13,14 @@ import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.persistence.SaveSnapshotSuccess;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
 import org.eclipse.jdt.annotation.Nullable;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
index 2f30efc630eb9e91eb23ed2ecc64819c77fe00ed..15474593b16c173c974ce25219eda91d56925a56 100644 (file)
@@ -23,12 +23,12 @@ import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.persistence.SnapshotSelectionCriteria;
 import java.io.OutputStream;
 import java.util.List;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 96f4fe8c6e5172126291ed7358526b403d4a25f2..73b6870ca9a5a86e7a6c5ff18f71eab787c4e5b6 100644 (file)
@@ -9,25 +9,25 @@ package org.opendaylight.controller.cluster.raft;
 
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.Actor;
-import akka.actor.ActorIdentity;
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Identify;
-import akka.actor.InvalidActorNameException;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.pattern.Patterns;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.time.Duration;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.Actor;
+import org.apache.pekko.actor.ActorIdentity;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Identify;
+import org.apache.pekko.actor.InvalidActorNameException;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import scala.concurrent.Await;
@@ -190,7 +190,7 @@ public class TestActorFactory implements AutoCloseable {
     }
 
     public String createTestActorPath(final String actorId) {
-        return "akka://test/user/" + actorId;
+        return "pekko://test/user/" + actorId;
     }
 
     @Override
index 8f0cc998030b66b2d19157da6df197812f240a3f..8234bb4f33ae3d8d05c8dc69e1043fe8c03fe8d1 100644 (file)
@@ -11,23 +11,23 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.actor.Status;
-import akka.dispatch.ControlMessage;
-import akka.dispatch.Dispatchers;
-import akka.dispatch.Mailboxes;
-import akka.pattern.Patterns;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.dispatch.Mailboxes;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.Before;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
index 69c48b978f73aa451a7aec5ee07696a7cfc8a172..3e62cf08ad9bd09d9f9a7c87ef23b6a593f7dc5d 100644 (file)
@@ -10,13 +10,13 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.testkit.TestActorRef;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext;
index 6fb295fdf80f7d15b976811810b3b7fad18d31e7..215c161b36eca7ed25d32f9ab80f6abaff535c03 100644 (file)
@@ -12,8 +12,6 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNull;
 
-import akka.actor.ActorRef;
-import akka.protobuf.ByteString;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.ObjectOutputStream;
@@ -21,6 +19,8 @@ import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.protobuf.ByteString;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.AbstractActorTest;
index b04c9e39715acbb3566e2c5f11e77a0f132cbcf4..afcdff456ec2b82ba295cd774aacb2f28b55c92a 100644 (file)
@@ -11,9 +11,6 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.util.ArrayList;
@@ -22,6 +19,9 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 52985fd3c134ef82cdf3637c4b966a10b961049c..5acee6ab40e55604a5e9d6065a6e026a13c05feb 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
 import com.google.common.collect.ImmutableMap;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
 import org.opendaylight.controller.cluster.raft.RaftState;
index c0be3eb2662f1dbdd85deb398f8c5394beb60327..5b9ed1f1701ff1709872a2509eb102606f1975d3 100644 (file)
@@ -20,11 +20,6 @@ import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.spy;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.dispatch.Dispatchers;
-import akka.protobuf.ByteString;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Stopwatch;
 import com.google.common.io.ByteSource;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -34,6 +29,11 @@ import java.util.Map;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicReference;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.protobuf.ByteString;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
index 794a18d2d253d5f84dfc3258c026900ae2d03204..7b08ee073060f4dd81df7b7f061e7bb99e9868f1 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
 import java.util.HashMap;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
@@ -62,8 +62,8 @@ public class IsolatedLeaderTest extends AbstractLeaderTest<IsolatedLeader> {
 
     @Test
     public void testHandleMessageWithThreeMembers() {
-        String followerAddress1 = "akka://test/user/$a";
-        String followerAddress2 = "akka://test/user/$b";
+        String followerAddress1 = "pekko://test/user/$a";
+        String followerAddress2 = "pekko://test/user/$b";
 
         MockRaftActorContext leaderActorContext = createActorContext();
         Map<String, String> peerAddresses = new HashMap<>();
@@ -94,10 +94,10 @@ public class IsolatedLeaderTest extends AbstractLeaderTest<IsolatedLeader> {
 
     @Test
     public void testHandleMessageWithFiveMembers() {
-        String followerAddress1 = "akka://test/user/$a";
-        String followerAddress2 = "akka://test/user/$b";
-        String followerAddress3 = "akka://test/user/$c";
-        String followerAddress4 = "akka://test/user/$d";
+        String followerAddress1 = "pekko://test/user/$a";
+        String followerAddress2 = "pekko://test/user/$b";
+        String followerAddress3 = "pekko://test/user/$c";
+        String followerAddress4 = "pekko://test/user/$d";
 
         final MockRaftActorContext leaderActorContext = createActorContext();
         Map<String, String> peerAddresses = new HashMap<>();
@@ -136,8 +136,8 @@ public class IsolatedLeaderTest extends AbstractLeaderTest<IsolatedLeader> {
 
     @Test
     public void testHandleMessageFromAnotherLeader() {
-        String followerAddress1 = "akka://test/user/$a";
-        String followerAddress2 = "akka://test/user/$b";
+        String followerAddress1 = "pekko://test/user/$a";
+        String followerAddress2 = "pekko://test/user/$b";
 
         MockRaftActorContext leaderActorContext = createActorContext();
         Map<String, String> peerAddresses = new HashMap<>();
index dc84644d3ba82487149b6505ac59a9ec85d14b2a..6c5eaa6eca7f5805ad9c662300c8380129e55d79 100644 (file)
@@ -18,13 +18,6 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.actor.Terminated;
-import akka.protobuf.ByteString;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.io.ByteSource;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.IOException;
@@ -38,6 +31,13 @@ import java.util.OptionalInt;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicReference;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.protobuf.ByteString;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.messaging.MessageSlice;
index 7b8529a0b176a65c2e623764167ac09b4d0f1824..cbb7416f40fae05cb2bde06c81e6334e015fb5a6 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
 import com.google.common.collect.ImmutableMap;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
index e5f7c6eaa6487b425c3113838d94b2f01db3569b..4409871e0bb4b5a14b327ad89cd62580715861f0 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.raft.behaviors;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
 import com.google.common.collect.ImmutableMap;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.DefaultConfigParamsImpl;
 import org.opendaylight.controller.cluster.raft.RaftState;
index 2c83f67582f4b97c452fa0f1e0b6c3554c85faef..70aff4bcd4a19dd50fdcc34f27c38180ad483073 100644 (file)
@@ -13,13 +13,13 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.spy;
 import static org.mockito.Mockito.verify;
 
-import akka.protobuf.ByteString;
 import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.util.Arrays;
 import java.util.HashMap;
 import java.util.OptionalInt;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.protobuf.ByteString;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
index fdbab2b81a44f48ca6c80b05520bf6bab788d2f2..3877b5c3359eb25f0d7c00a3240dcc2ce8b5e922 100644 (file)
@@ -15,7 +15,7 @@ import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.After;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.AbstractActorTest;
index dec780e5c585a03b3dce4d52d4f2b3f34c739875..8311a47d81bec5dd44d9df246652be1662cc3906 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.controller.cluster.raft.persisted;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 
-import akka.actor.ExtendedActorSystem;
-import akka.testkit.javadsl.TestKit;
 import java.io.NotSerializableException;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext;
 
index 1080aadfe9c40c05c45db1db8aede93a7ec3f29b..2aeebe9fb5ed5d31ebcb7694f29979ad5e3783af 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.utils;
 
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.UntypedAbstractActor;
 
 public class DoNothingActor extends UntypedAbstractActor {
     @Override
index bd0c6bf4e3b9178d7145abcc034e4e1e17674310..c395404124c9ac0a2fc2ce7206aaece0bbce15d8 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.raft.utils;
 
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.UntypedAbstractActor;
 
 /**
  * The EchoActor simply responds back with the same message that it receives.
index 0bd7d5c67d90a17fc11413e0d2f7592fbefa7d26..a9ba3ba33901bfd97a6a8dc1d1dacca46bc0b9af 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.controller.cluster.raft.utils;
 
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.Props;
 import java.util.ArrayList;
 import java.util.List;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.raft.behaviors.RaftActorBehavior;
 
 public class ForwardMessageToBehaviorActor extends MessageCollectorActor {
index 21bf4bfa57acc13c7572a974ce5dc84963152bbb..d9422565917890a09ec804cfd61a0e8a2eda3b13 100644 (file)
@@ -7,11 +7,6 @@
  */
 package org.opendaylight.controller.cluster.raft.utils;
 
-import akka.dispatch.Futures;
-import akka.persistence.AtomicWrite;
-import akka.persistence.PersistentImpl;
-import akka.persistence.PersistentRepr;
-import akka.persistence.journal.japi.AsyncWriteJournal;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.Serializable;
 import java.util.ArrayList;
@@ -25,6 +20,11 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.persistence.AtomicWrite;
+import org.apache.pekko.persistence.PersistentImpl;
+import org.apache.pekko.persistence.PersistentRepr;
+import org.apache.pekko.persistence.journal.japi.AsyncWriteJournal;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import scala.Option;
@@ -184,7 +184,7 @@ public class InMemoryJournal extends AsyncWriteJournal {
     public Future<Long> doAsyncReadHighestSequenceNr(final String persistenceId, final long fromSequenceNr) {
         LOG.trace("doAsyncReadHighestSequenceNr for {}: fromSequenceNr: {}", persistenceId, fromSequenceNr);
 
-        // Akka calls this during recovery.
+        // Pekko calls this during recovery.
         Map<Long, Object> journal = JOURNALS.get(persistenceId);
         if (journal == null) {
             return Futures.successful(fromSequenceNr);
index 662a063788fd522412d778eff71000bfcdaa9507..84e04509db796cef3ec9a09b767ce3ac15beb9a0 100644 (file)
@@ -7,11 +7,6 @@
  */
 package org.opendaylight.controller.cluster.raft.utils;
 
-import akka.dispatch.Futures;
-import akka.persistence.SelectedSnapshot;
-import akka.persistence.SnapshotMetadata;
-import akka.persistence.SnapshotSelectionCriteria;
-import akka.persistence.snapshot.japi.SnapshotStore;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.ArrayList;
 import java.util.Collections;
@@ -22,6 +17,11 @@ import java.util.Optional;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.persistence.SelectedSnapshot;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.persistence.snapshot.japi.SnapshotStore;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import scala.concurrent.Future;
index 8d3377310581571aad360eb06c4cc7137be80340..a008983808c50fff070d78e529a6e3b4ab25b0b1 100644 (file)
@@ -7,12 +7,6 @@
  */
 package org.opendaylight.controller.cluster.raft.utils;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
-import akka.dispatch.ControlMessage;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.base.Predicate;
 import com.google.common.base.Predicates;
 import com.google.common.base.Throwables;
@@ -23,6 +17,12 @@ import java.util.Collections;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
+import org.apache.pekko.dispatch.ControlMessage;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.junit.Assert;
 import scala.concurrent.Await;
 import scala.concurrent.Future;
index d7ae0cb29fd2cee152430b001e49f1b6dcb82d9a..fbcecb26b6a4f06feca6fbec85af36abebe1dd18 100644 (file)
@@ -1,12 +1,12 @@
-akka {
+pekko {
     persistence.snapshot-store.plugin = "mock-snapshot-store"
     persistence.journal.plugin = "mock-journal"
 
     loglevel = "DEBUG"
-    loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.testkit.TestEventListener", "org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     actor {
-        provider = "akka.cluster.ClusterActorRefProvider"
+        provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
         # enable to test serialization only.
         serialize-messages = off
@@ -21,12 +21,12 @@ mock-snapshot-store {
   # Class name of the plugin.
   class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+  plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 }
 
 mock-journal {
   # Class name of the plugin.
   class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+  plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 }
index 28e66dd8eccdf4b8a39bfd88b39c4e1b6f5640ef..d758d03a116fe19dcec2480c1b397422cfa58e27 100644 (file)
@@ -42,7 +42,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
@@ -54,12 +54,12 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         </dependency>
 
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-testkit_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-testkit_2.13</artifactId>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-persistence-tck_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-persistence-tck_2.13</artifactId>
         </dependency>
         <dependency>
             <groupId>commons-io</groupId>
index fdd0b80d03c7a8ae24afac26b655e092a3afb1c4..8abe14900d7876eb4145a19691db166886741e8f 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.akka.segjournal;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.persistence.PersistentRepr;
+import org.apache.pekko.persistence.PersistentRepr;
 
 /**
  * A single entry in the data journal. We do not store {@code persistenceId} for each entry, as that is a
index 763479cf92de10549b217111c090a9cfe8186be4..4af572c41a759c01316f0bf9eac7a73b0275fcaa 100644 (file)
@@ -9,16 +9,16 @@ package org.opendaylight.controller.akka.segjournal;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.persistence.PersistentRepr;
-import akka.serialization.JavaSerializer;
 import com.google.common.base.VerifyException;
 import io.atomix.storage.journal.JournalSerdes.EntryInput;
 import io.atomix.storage.journal.JournalSerdes.EntryOutput;
 import io.atomix.storage.journal.JournalSerdes.EntrySerdes;
 import java.io.IOException;
 import java.util.concurrent.Callable;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.persistence.PersistentRepr;
+import org.apache.pekko.serialization.JavaSerializer;
 import org.opendaylight.controller.akka.segjournal.DataJournalEntry.FromPersistence;
 import org.opendaylight.controller.akka.segjournal.DataJournalEntry.ToPersistence;
 
index 935ded32e27931c423325fd6831958780a0119cc..58bb99d530359d9b04df32236e5372ede3eb37bb 100644 (file)
@@ -7,8 +7,6 @@
  */
 package org.opendaylight.controller.akka.segjournal;
 
-import akka.actor.ActorSystem;
-import akka.persistence.PersistentRepr;
 import com.codahale.metrics.Histogram;
 import com.google.common.base.VerifyException;
 import io.atomix.storage.journal.JournalReader;
@@ -21,6 +19,8 @@ import java.io.File;
 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.persistence.PersistentRepr;
 import org.opendaylight.controller.akka.segjournal.DataJournalEntry.FromPersistence;
 import org.opendaylight.controller.akka.segjournal.DataJournalEntry.ToPersistence;
 import org.opendaylight.controller.akka.segjournal.SegmentedJournalActor.ReplayMessages;
index b9320998c95f28b7fcbd8eb170bf1842d3b83a47..5739e690ec5099c441af20b405aa6048b0a256c0 100644 (file)
@@ -7,15 +7,10 @@
  */
 package org.opendaylight.controller.akka.segjournal;
 
-import static akka.actor.ActorRef.noSender;
 import static com.google.common.base.Preconditions.checkArgument;
 import static com.google.common.base.Preconditions.checkState;
+import static org.apache.pekko.actor.ActorRef.noSender;
 
-import akka.actor.ActorRef;
-import akka.dispatch.Futures;
-import akka.persistence.AtomicWrite;
-import akka.persistence.PersistentRepr;
-import akka.persistence.journal.japi.AsyncWriteJournal;
 import com.typesafe.config.Config;
 import io.atomix.storage.journal.SegmentedJournal;
 import io.atomix.storage.journal.StorageLevel;
@@ -27,6 +22,11 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.persistence.AtomicWrite;
+import org.apache.pekko.persistence.PersistentRepr;
+import org.apache.pekko.persistence.journal.japi.AsyncWriteJournal;
 import org.opendaylight.controller.akka.segjournal.SegmentedJournalActor.AsyncMessage;
 import org.opendaylight.controller.akka.segjournal.SegmentedJournalActor.WriteMessages;
 import org.slf4j.Logger;
@@ -34,8 +34,8 @@ import org.slf4j.LoggerFactory;
 import scala.concurrent.Future;
 
 /**
- * An Akka persistence journal implementation on top of {@link SegmentedJournal}. This actor represents aggregation
- * of multiple journals and performs a receptionist job between Akka and invidual per-persistenceId actors. See
+ * An Pekko persistence journal implementation on top of {@link SegmentedJournal}. This actor represents aggregation
+ * of multiple journals and performs a receptionist job between Pekko and invidual per-persistenceId actors. See
  * {@link SegmentedJournalActor} for details on how the persistence works.
  */
 public class SegmentedFileJournal extends AsyncWriteJournal {
index b9aac225c544833ef64ab7e8da079e04a333f74d..1854b90aa4a818e776b37e77fda065de1dc73477 100644 (file)
@@ -11,12 +11,6 @@ import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.AbstractActor;
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.japi.pf.ReceiveBuilder;
-import akka.persistence.AtomicWrite;
-import akka.persistence.PersistentRepr;
 import com.codahale.metrics.Histogram;
 import com.codahale.metrics.Meter;
 import com.codahale.metrics.MetricRegistry;
@@ -35,6 +29,12 @@ import java.util.List;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.AbstractActor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.japi.pf.ReceiveBuilder;
+import org.apache.pekko.persistence.AtomicWrite;
+import org.apache.pekko.persistence.PersistentRepr;
 import org.opendaylight.controller.cluster.common.actor.MeteringBehavior;
 import org.opendaylight.controller.cluster.reporting.MetricsReporter;
 import org.opendaylight.controller.raft.journal.FromByteBufMapper;
@@ -52,10 +52,10 @@ import scala.concurrent.Promise;
  * </ul>
  *
  * <p>This is a conscious design decision to minimize the amount of data that is being stored in the data journal while
- * speeding up normal operations. Since the SegmentedJournal is an append-only linear log and Akka requires the ability
+ * speeding up normal operations. Since the SegmentedJournal is an append-only linear log and Pekko requires the ability
  * to delete persistence entries, we need ability to mark a subset of a SegmentedJournal as deleted. While we could
  * treat such delete requests as normal events, this leads to a mismatch between SegmentedJournal indices (as exposed by
- * {@link Indexed}) and Akka sequence numbers -- requiring us to potentially perform costly deserialization to find the
+ * {@link Indexed}) and Pekko sequence numbers -- requiring us to potentially perform costly deserialization to find the
  * index corresponding to a particular sequence number, or maintain moderately-complex logic and data structures to
  * perform that mapping in sub-linear time complexity.
  *
index d488dc6cf2e3a354834cfdb604073bd1ea443f24..e998cb14e54723bb3ffcb1facfa1fd1fba2c6be9 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.akka.segjournal;
 
-import akka.persistence.japi.journal.JavaJournalSpec;
 import com.typesafe.config.ConfigFactory;
 import java.io.File;
 import org.apache.commons.io.FileUtils;
+import org.apache.pekko.persistence.japi.journal.JavaJournalSpec;
 import org.junit.runner.RunWith;
 import org.scalatestplus.junit.JUnitRunner;
 
index 4d3db7980e2116ef013f62b13ed120ddb43c33f9..ded76c9a195c10e7c376d39120d06944b4aff7cc 100644 (file)
@@ -16,13 +16,6 @@ import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.PoisonPill;
-import akka.persistence.AtomicWrite;
-import akka.persistence.PersistentRepr;
-import akka.testkit.CallingThreadDispatcher;
-import akka.testkit.javadsl.TestKit;
 import io.atomix.storage.journal.StorageLevel;
 import java.io.File;
 import java.io.IOException;
@@ -35,6 +28,13 @@ import java.util.Optional;
 import java.util.function.Consumer;
 import java.util.stream.Collectors;
 import org.apache.commons.io.FileUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.persistence.AtomicWrite;
+import org.apache.pekko.persistence.PersistentRepr;
+import org.apache.pekko.testkit.CallingThreadDispatcher;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeAll;
index 8fce93b097e1bd7effaacb95e351c87254dde1c8..c924d12ce2a591ebf19d97364ee55e590a7c98f8 100644 (file)
@@ -1,7 +1,7 @@
-akka {
+pekko {
     persistence {
         journal {
-            plugin = "akka.persistence.journal.segmented-file"
+            plugin = "pekko.persistence.journal.segmented-file"
 
             segmented-file {
                 class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal"
index c1ea46559bf00e9564465183ec8f0f0c4c77fb2c..c8b8106cccbe5835b61a5dfa8b6c73ca0572037d 100644 (file)
@@ -39,7 +39,7 @@
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
-      <artifactId>repackaged-akka</artifactId>
+      <artifactId>repackaged-pekko</artifactId>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
@@ -84,8 +84,8 @@
 
     <!-- Tests -->
     <dependency>
-      <groupId>com.typesafe.akka</groupId>
-      <artifactId>akka-testkit_2.13</artifactId>
+      <groupId>org.apache.pekko</groupId>
+      <artifactId>pekko-testkit_2.13</artifactId>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
index 8ad1553dba2268daa9c7a86fcad319997d8fa22e..d96213026bafacc367e0ef0e2b25868a0305608d 100644 (file)
@@ -7,12 +7,6 @@
  */
 package org.opendaylight.controller.cluster.datastore.admin;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Status.Success;
-import akka.dispatch.OnComplete;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Strings;
 import com.google.common.base.Throwables;
@@ -38,6 +32,12 @@ import java.util.concurrent.TimeUnit;
 import java.util.function.Function;
 import java.util.stream.Collectors;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Status.Success;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface;
@@ -315,7 +315,7 @@ public final class ClusterAdminRpcService {
 
         final Future<ActorRef> localShardReply = actorUtils.findLocalShardAsync(shardName);
 
-        final scala.concurrent.Promise<Object> makeLeaderLocalAsk = akka.dispatch.Futures.promise();
+        final scala.concurrent.Promise<Object> makeLeaderLocalAsk = org.apache.pekko.dispatch.Futures.promise();
         localShardReply.onComplete(new OnComplete<ActorRef>() {
             @Override
             public void onComplete(final Throwable failure, final ActorRef actorRef) {
index 2239908877b01d91b2e02b3894cabeb796e6f1a3..3cd948452b90527b1601e0dad251977464268bce 100644 (file)
@@ -23,10 +23,6 @@ import static org.opendaylight.controller.cluster.datastore.MemberNode.verifyNoS
 import static org.opendaylight.controller.cluster.datastore.MemberNode.verifyRaftPeersPresent;
 import static org.opendaylight.controller.cluster.datastore.MemberNode.verifyRaftState;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Status.Success;
-import akka.cluster.Cluster;
 import com.google.common.collect.Lists;
 import java.io.File;
 import java.nio.file.Files;
@@ -39,6 +35,10 @@ import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Status.Success;
+import org.apache.pekko.cluster.Cluster;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 6f1f8b086f9b7a28f046d310f8fa6e64f0a969b4..9775bb96df641c13cc06a5a3c14d4ffa5d194409 100644 (file)
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
-      <artifactId>repackaged-akka</artifactId>
+      <artifactId>repackaged-pekko</artifactId>
     </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
       <artifactId>guava-testlib</artifactId>
     </dependency>
     <dependency>
-      <groupId>com.typesafe.akka</groupId>
-      <artifactId>akka-persistence-tck_2.13</artifactId>
+      <groupId>org.apache.pekko</groupId>
+      <artifactId>pekko-persistence-tck_2.13</artifactId>
     </dependency>
     <dependency>
-      <groupId>com.typesafe.akka</groupId>
-      <artifactId>akka-testkit_2.13</artifactId>
+      <groupId>org.apache.pekko</groupId>
+      <artifactId>pekko-testkit_2.13</artifactId>
     </dependency>
     <dependency>
       <groupId>commons-io</groupId>
index c4c9e42ee7c3a24c09fb954ac1eec161bf0174e2..f429ac33c01133842a7fe96cff7c4035582a2d53 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster;
 
-import akka.actor.ActorSystem;
+import org.apache.pekko.actor.ActorSystem;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.ObjectRegistration;
 
index c6a102c4e63cce20048ce2760bff0cb60e1e3667..3acf3dab8f073c1669ba8824bbbb5ff902219da6 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster;
 
-import akka.actor.ActorSystem;
+import org.apache.pekko.actor.ActorSystem;
 
 /**
  * Listener interface for notification of ActorSystem changes from an ActorSystemProvider.
index 44afa634ccfc0b812761e9bb9fe97c6be9061900..6c474781ef78a5cb5da86545b41d82297b89b0ea 100644 (file)
@@ -8,10 +8,10 @@
 
 package org.opendaylight.controller.cluster;
 
-import akka.japi.Procedure;
-import akka.persistence.JournalProtocol;
-import akka.persistence.SnapshotProtocol;
-import akka.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.japi.Procedure;
+import org.apache.pekko.persistence.JournalProtocol;
+import org.apache.pekko.persistence.SnapshotProtocol;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.eclipse.jdt.annotation.NonNull;
 
 /**
index 3210819225b11e7b349772b8fc6a2735800a5bee..1acadcca3dbed506f871e13a51a55a57207f2641 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.cluster;
 
-import akka.japi.Procedure;
-import akka.persistence.JournalProtocol;
-import akka.persistence.SnapshotProtocol;
-import akka.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.japi.Procedure;
+import org.apache.pekko.persistence.JournalProtocol;
+import org.apache.pekko.persistence.SnapshotProtocol;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 
 /**
  * A DataPersistenceProvider implementation that delegates to another implementation.
index 5461689d2aebc84739b165657db6330e5feba59f..bca91e3478711299576c32e833fc331cb2425f71 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.cluster;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.japi.Procedure;
-import akka.persistence.JournalProtocol;
-import akka.persistence.SnapshotProtocol;
-import akka.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.japi.Procedure;
+import org.apache.pekko.persistence.JournalProtocol;
+import org.apache.pekko.persistence.SnapshotProtocol;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.opendaylight.controller.cluster.common.actor.ExecuteInSelfActor;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 1faee47f526ac119d384ab41a4b29362a236c89f..dc8a2a05a7d3e0e6388d7cfc47272899d110f2eb 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.japi.Procedure;
-import akka.persistence.AbstractPersistentActor;
-import akka.persistence.DeleteMessagesSuccess;
-import akka.persistence.DeleteSnapshotsSuccess;
-import akka.persistence.JournalProtocol;
-import akka.persistence.SnapshotProtocol;
-import akka.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.japi.Procedure;
+import org.apache.pekko.persistence.AbstractPersistentActor;
+import org.apache.pekko.persistence.DeleteMessagesSuccess;
+import org.apache.pekko.persistence.DeleteSnapshotsSuccess;
+import org.apache.pekko.persistence.JournalProtocol;
+import org.apache.pekko.persistence.SnapshotProtocol;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 
 /**
  * A DataPersistenceProvider implementation with persistence enabled.
index f66a77f66eeee8c4844c42e4406f330e05634a18..bb2499d8fc8367a0dfb1ab30fcdbf9f341d8c9b9 100644 (file)
@@ -8,9 +8,9 @@
 
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.AbstractActor;
-import akka.actor.ActorRef;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.apache.pekko.actor.AbstractActor;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 8bf657e134939dea8b9bb3284149ffd4e314bfdf..dad37d3b104f19674fb8833c1504220caa7bec68 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.ActorRef;
-import akka.persistence.AbstractPersistentActor;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.persistence.AbstractPersistentActor;
 import org.eclipse.jdt.annotation.NonNull;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 62043e24c34d446c9436566fcc6b78ed1dc256cb..075a31fe8978c6d0558ea669104eee884364ac02 100644 (file)
@@ -12,14 +12,14 @@ import static java.util.Objects.requireNonNull;
 import scala.concurrent.ExecutionContext;
 
 public class Dispatchers {
-    public static final String DEFAULT_DISPATCHER_PATH = "akka.actor.default-dispatcher";
+    public static final String DEFAULT_DISPATCHER_PATH = "pekko.actor.default-dispatcher";
     public static final String CLIENT_DISPATCHER_PATH = "client-dispatcher";
     public static final String TXN_DISPATCHER_PATH = "txn-dispatcher";
     public static final String SHARD_DISPATCHER_PATH = "shard-dispatcher";
     public static final String NOTIFICATION_DISPATCHER_PATH = "notification-dispatcher";
     public static final String SERIALIZATION_DISPATCHER_PATH = "serialization-dispatcher";
 
-    private final akka.dispatch.Dispatchers dispatchers;
+    private final org.apache.pekko.dispatch.Dispatchers dispatchers;
 
     public enum DispatcherType {
         Client(CLIENT_DISPATCHER_PATH),
@@ -34,14 +34,14 @@ public class Dispatchers {
             this.path = path;
         }
 
-        String path(final akka.dispatch.Dispatchers knownDispatchers) {
+        String path(final org.apache.pekko.dispatch.Dispatchers knownDispatchers) {
             if (knownDispatchers.hasDispatcher(path)) {
                 return path;
             }
             return DEFAULT_DISPATCHER_PATH;
         }
 
-        ExecutionContext dispatcher(final akka.dispatch.Dispatchers knownDispatchers) {
+        ExecutionContext dispatcher(final org.apache.pekko.dispatch.Dispatchers knownDispatchers) {
             if (knownDispatchers.hasDispatcher(path)) {
                 return knownDispatchers.lookup(path);
             }
@@ -49,7 +49,7 @@ public class Dispatchers {
         }
     }
 
-    public Dispatchers(final akka.dispatch.Dispatchers dispatchers) {
+    public Dispatchers(final org.apache.pekko.dispatch.Dispatchers dispatchers) {
         this.dispatchers = requireNonNull(dispatchers, "dispatchers should not be null");
     }
 
index fe0bbed082fc774fb2e4f0da3e20055719b6e43e..d25051a260cd0cd3758171c0aa4276c1953d179a 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.japi.Procedure;
 import com.google.common.annotations.Beta;
+import org.apache.pekko.japi.Procedure;
 import org.eclipse.jdt.annotation.NonNull;
 
 /**
index 1b14e48a985ecf7238b7bd317ff129417fc08e31..800e94cc7c9519da7d231a8e59d34e3a8cae03c9 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.common.actor;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.ControlMessage;
 import org.eclipse.jdt.annotation.NonNull;
 
 /**
index e241d880c97712d530fe86f3996a012a11e1b1d9..acefd42035b792ed988c255300dee434633b69df 100644 (file)
@@ -7,12 +7,12 @@
  */
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.pattern.ExplicitAskSupport;
-import akka.util.Timeout;
 import com.google.common.annotations.Beta;
 import java.util.function.Function;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.pattern.ExplicitAskSupport;
+import org.apache.pekko.util.Timeout;
 import scala.Function1;
 import scala.concurrent.Future;
 import scala.runtime.AbstractFunction1;
@@ -26,7 +26,7 @@ import scala.runtime.AbstractFunction1;
  */
 @Beta
 public final class ExplicitAsk {
-    private static final ExplicitAskSupport ASK_SUPPORT = akka.pattern.extended.package$.MODULE$;
+    private static final ExplicitAskSupport ASK_SUPPORT = org.apache.pekko.pattern.extended.package$.MODULE$;
 
     private ExplicitAsk() {
         throw new UnsupportedOperationException();
index 7951f5d3cc887113adaf8d5120e96415af251087..94a50c04f083b31227e30e43165337a466532d06 100644 (file)
@@ -25,8 +25,8 @@ import org.slf4j.LoggerFactory;
 @Singleton
 public class FileAkkaConfigurationReader implements AkkaConfigurationReader {
     private static final Logger LOG = LoggerFactory.getLogger(FileAkkaConfigurationReader.class);
-    private static final String CUSTOM_AKKA_CONF_PATH = "./configuration/initial/akka.conf";
-    private static final String FACTORY_AKKA_CONF_PATH = "./configuration/factory/akka.conf";
+    private static final String CUSTOM_AKKA_CONF_PATH = "./configuration/initial/pekko.conf";
+    private static final String FACTORY_AKKA_CONF_PATH = "./configuration/factory/pekko.conf";
 
     @Override
     public Config read() {
@@ -43,11 +43,11 @@ public class FileAkkaConfigurationReader implements AkkaConfigurationReader {
 
     @Activate
     void activate() {
-        LOG.info("File-based Akka configuration reader enabled");
+        LOG.info("File-based Pekko configuration reader enabled");
     }
 
     @Deactivate
     void deactivate() {
-        LOG.info("File-based Akka configuration reader disabled");
+        LOG.info("File-based Pekko configuration reader disabled");
     }
 }
index d234532751e94d871162a82b00d7d051e101ab6c..5b8c2cab18e79d37ac7c76837f01730f79b26f5b 100644 (file)
@@ -8,15 +8,15 @@
 
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.dispatch.BoundedDequeBasedMailbox;
-import akka.dispatch.MailboxType;
-import akka.dispatch.ProducesMessageQueue;
 import com.codahale.metrics.Gauge;
 import com.codahale.metrics.Metric;
 import com.codahale.metrics.MetricRegistry;
 import com.typesafe.config.Config;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.dispatch.BoundedDequeBasedMailbox;
+import org.apache.pekko.dispatch.MailboxType;
+import org.apache.pekko.dispatch.ProducesMessageQueue;
 import org.opendaylight.controller.cluster.reporting.MetricsReporter;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 4b65ad9453e86310421bf04a9199166e582631ac..93f5b7bd43a7ee0ad4ea43fc0fdcbdd9da12b9b8 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.AbstractActor;
 import com.codahale.metrics.MetricRegistry;
 import com.codahale.metrics.Timer;
+import org.apache.pekko.actor.AbstractActor;
 import org.opendaylight.controller.cluster.reporting.MetricsReporter;
 import scala.PartialFunction;
 import scala.runtime.AbstractPartialFunction;
index 004d2897150b8c21a811f88c106094e7577d15bf..f154e8a33e9bcd2c66b2f71cec21fdddd0de077e 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.ActorRef;
 
 public class Monitor implements Serializable {
     private static final long serialVersionUID = 1L;
index c5c19d8d37ebf81300e7021d84c1784064d12116..48e1c993c39d87bbeaf269ee65304346ac6b6f98 100644 (file)
@@ -8,18 +8,18 @@
 
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.Address;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent;
-import akka.japi.Effect;
-import akka.remote.AssociationErrorEvent;
-import akka.remote.RemotingLifecycleEvent;
-import akka.remote.artery.ThisActorSystemQuarantinedEvent;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.HashSet;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent;
+import org.apache.pekko.japi.Effect;
+import org.apache.pekko.remote.AssociationErrorEvent;
+import org.apache.pekko.remote.RemotingLifecycleEvent;
+import org.apache.pekko.remote.artery.ThisActorSystemQuarantinedEvent;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
index 3093030bd02dabe5f26be2ce6b9ae07ca5892c4b..314bca16d9b63c8b320b0265ecde80468ec3fa6d 100644 (file)
@@ -7,19 +7,19 @@
  */
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.dispatch.ControlMessage;
-import akka.dispatch.DequeBasedMessageQueueSemantics;
-import akka.dispatch.Envelope;
-import akka.dispatch.MailboxType;
-import akka.dispatch.ProducesMessageQueue;
-import akka.dispatch.UnboundedControlAwareMailbox;
 import com.codahale.metrics.Gauge;
 import com.typesafe.config.Config;
 import java.util.Deque;
 import java.util.Queue;
 import java.util.concurrent.ConcurrentLinkedDeque;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.dispatch.ControlMessage;
+import org.apache.pekko.dispatch.DequeBasedMessageQueueSemantics;
+import org.apache.pekko.dispatch.Envelope;
+import org.apache.pekko.dispatch.MailboxType;
+import org.apache.pekko.dispatch.ProducesMessageQueue;
+import org.apache.pekko.dispatch.UnboundedControlAwareMailbox;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import scala.Option;
index 2b41bc595fad01f98f0969425fa11830316714f6..62084a72e9adfe503d433c2999fec90c300e23b0 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.controller.cluster.messaging;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.cache.Cache;
 import com.google.common.cache.CacheBuilder;
@@ -21,6 +20,7 @@ import java.io.ObjectInputStream;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.function.BiConsumer;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStreamFactory;
 import org.opendaylight.yangtools.concepts.Identifier;
index 50e0460836c8a7b409fa2c21b265fb6944737a6e..1b858274b943b0bf25a0d5f3ba6b8ac2f3a86fd9 100644 (file)
@@ -9,15 +9,15 @@ package org.opendaylight.controller.cluster.messaging;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.io.Externalizable;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
 import java.io.Serializable;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.opendaylight.yangtools.concepts.Identifier;
 
 /**
index e820c4ba3f881c57a821cfd706ecd5fd12504b66..e25f1cb712e666e78b1d53f486970ff3cc2c13e4 100644 (file)
@@ -9,15 +9,15 @@ package org.opendaylight.controller.cluster.messaging;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import java.io.Externalizable;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
 import java.io.Serializable;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.opendaylight.yangtools.concepts.Identifier;
 
 /**
index f30dbc66a71966f3691bf57a471a730aaa3b986b..bf196c4fdb2951966539bf55b6ee78c89e08540f 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.controller.cluster.messaging;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.cache.Cache;
 import com.google.common.cache.CacheBuilder;
@@ -22,6 +21,7 @@ import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicLong;
 import java.util.function.Predicate;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStream;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStreamFactory;
index b5129ee812b805c646507f7d9bdd69cd24df7ded..67d31a32f403b559507bbec313d83dcfc6266c3a 100644 (file)
@@ -10,10 +10,10 @@ package org.opendaylight.controller.cluster.messaging;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
 import java.io.Serializable;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStream;
 import org.opendaylight.controller.cluster.io.FileBackedOutputStreamFactory;
 import org.opendaylight.yangtools.concepts.Identifier;
index 4447f9041d3c1299cd868e939eb94574c8590a04..12eb1193ce3e817650fb35f8e37df1923c6e40e7 100644 (file)
@@ -7,12 +7,12 @@
  */
 package org.opendaylight.controller.cluster.notifications;
 
-import akka.actor.ActorPath;
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.serialization.Serialization;
 import java.util.HashMap;
 import java.util.Map;
+import org.apache.pekko.actor.ActorPath;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.serialization.Serialization;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 
 /**
index c7963056753c43a0062440e016dc80b465c79549..f5b4251742c2ba320bd0b0f4b037e6fad20f32f2 100644 (file)
@@ -9,15 +9,6 @@ package org.opendaylight.controller.cluster.persistence;
 
 import static com.google.common.base.Preconditions.checkArgument;
 
-import akka.actor.ExtendedActorSystem;
-import akka.dispatch.Futures;
-import akka.persistence.SelectedSnapshot;
-import akka.persistence.SnapshotMetadata;
-import akka.persistence.SnapshotSelectionCriteria;
-import akka.persistence.serialization.Snapshot;
-import akka.persistence.serialization.SnapshotSerializer;
-import akka.persistence.snapshot.japi.SnapshotStore;
-import akka.serialization.JavaSerializer;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.io.ByteStreams;
 import com.typesafe.config.Config;
@@ -44,6 +35,15 @@ import java.util.concurrent.Callable;
 import java.util.stream.Collector;
 import java.util.stream.Collectors;
 import java.util.stream.Stream;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.persistence.SelectedSnapshot;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.persistence.serialization.Snapshot;
+import org.apache.pekko.persistence.serialization.SnapshotSerializer;
+import org.apache.pekko.persistence.snapshot.japi.SnapshotStore;
+import org.apache.pekko.serialization.JavaSerializer;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.io.InputOutputStreamFactory;
 import org.slf4j.Logger;
index 7a53188718e904115c99e2d4474543b90f802b94..bee0f9efc64620138085c540e4720d696df3f055 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.cluster.schema.provider.impl;
 
-import akka.dispatch.OnComplete;
 import com.google.common.annotations.Beta;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.SettableFuture;
+import org.apache.pekko.dispatch.OnComplete;
 import org.opendaylight.controller.cluster.schema.provider.RemoteYangTextSourceProvider;
 import org.opendaylight.yangtools.yang.model.api.source.SourceIdentifier;
 import org.opendaylight.yangtools.yang.model.api.source.YangTextSource;
index eea0aa86071d115e04f4bfbd23b83f8fa29a066d..e71eecb7672161ea1d2cb79b7ebeabf3d317d5b6 100644 (file)
@@ -43,14 +43,14 @@ public class RemoteYangTextSourceProviderImpl implements RemoteYangTextSourcePro
 
     @Override
     public Future<Set<SourceIdentifier>> getProvidedSources() {
-        return akka.dispatch.Futures.successful(providedSources);
+        return org.apache.pekko.dispatch.Futures.successful(providedSources);
     }
 
     @Override
     public Future<YangTextSchemaSourceSerializationProxy> getYangTextSchemaSource(final SourceIdentifier identifier) {
         LOG.trace("Sending yang schema source for {}", identifier);
 
-        final Promise<YangTextSchemaSourceSerializationProxy> promise = akka.dispatch.Futures.promise();
+        final Promise<YangTextSchemaSourceSerializationProxy> promise = org.apache.pekko.dispatch.Futures.promise();
         ListenableFuture<YangTextSource> future =
                 repository.getSchemaSource(identifier, YangTextSource.class);
 
index 673b4b1876f0eeb2ec718634793bb0cfba1674bb..4c815e9a195ddddd4fa62e65d0f0c753f55247ea 100644 (file)
@@ -7,15 +7,15 @@
  */
 package org.opendaylight.controller.cluster.common.actor;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.DeadLetter;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
-import akka.testkit.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.locks.ReentrantLock;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.DeadLetter;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
+import org.apache.pekko.testkit.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;
index 897cb6193ad3678ba8a1e308a74506029d8a9081..e59f22f48538601833f820c97295e5501a7f7aca 100644 (file)
@@ -11,16 +11,16 @@ import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.event.Logging;
-import akka.japi.Effect;
-import akka.remote.AssociationErrorEvent;
-import akka.remote.InvalidAssociation;
-import akka.remote.UniqueAddress;
-import akka.remote.artery.ThisActorSystemQuarantinedEvent;
-import akka.testkit.javadsl.TestKit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.event.Logging;
+import org.apache.pekko.japi.Effect;
+import org.apache.pekko.remote.AssociationErrorEvent;
+import org.apache.pekko.remote.InvalidAssociation;
+import org.apache.pekko.remote.UniqueAddress;
+import org.apache.pekko.remote.artery.ThisActorSystemQuarantinedEvent;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index ff1d5f87e1460ca08688a5a7de85dbe42a94a472..f1f7b9286349cd92749be30f2ac1b3de9631c274 100644 (file)
@@ -12,12 +12,12 @@ import static org.mockito.ArgumentMatchers.anyInt;
 import static org.mockito.Mockito.doNothing;
 import static org.mockito.Mockito.doReturn;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.io.InputStream;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
index 128a0442e3d4112b4a14df7b9c6da061d3285eec..5ae323b9867990aade65d3842252341057bf3c61 100644 (file)
@@ -21,12 +21,12 @@ import static org.opendaylight.controller.cluster.messaging.MessageSlicingIntegr
 import static org.opendaylight.controller.cluster.messaging.MessageSlicingIntegrationTest.assertFailedMessageSliceReply;
 import static org.opendaylight.controller.cluster.messaging.MessageSlicingIntegrationTest.assertSuccessfulMessageSliceReply;
 
-import akka.actor.ActorRef;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.IOException;
 import java.util.concurrent.TimeUnit;
 import java.util.function.BiConsumer;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mock;
index 8b661f68d7e9f5275666a645edbd9f603753b42b..1fa032b0ae49e6d043e7a29c9c2192fad49aeb7a 100644 (file)
@@ -11,12 +11,12 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JavaSerializer;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index afb764091ca43a63281e8b0db8c3d947905e3c51..c1e8f790c2031a1711dfcca802b70bde247f3b7d 100644 (file)
@@ -10,12 +10,12 @@ package org.opendaylight.controller.cluster.messaging;
 import static org.junit.Assert.assertArrayEquals;
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JavaSerializer;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 87345a9dec31f136c77c0e00ed2562783af3ed7f..51c51677c316159d2f0c71723a6fd7944bad0069 100644 (file)
@@ -19,12 +19,12 @@ import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorRef;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.io.IOException;
 import java.io.Serializable;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.ArgumentCaptor;
index 63b37e12b0bc436708d4a9e84de0eb6998022400..230c5826cbf4dff2c0bfdf1b5d466fc9fb2c19fa 100644 (file)
@@ -17,10 +17,6 @@ import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.verify;
 import static org.opendaylight.controller.cluster.messaging.MessageSlicerTest.slice;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.ObjectOutputStream;
@@ -28,6 +24,10 @@ import java.util.Arrays;
 import java.util.function.BiConsumer;
 import java.util.function.Consumer;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index 63b3707e516957e40c6295283ce2797e4f8c672d..955f9f4d2abad83877df74341802e88e66c3d4af 100644 (file)
@@ -7,12 +7,12 @@
  */
 package org.opendaylight.controller.cluster.notifications;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import java.util.ArrayList;
 import java.util.List;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
index 5fb60e64b0b23546b684bb604c21845f133d1a3c..ae62b60ad1b8842c618a0380c0a420244bbe7405 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.persistence;
 
-import akka.persistence.snapshot.SnapshotStoreSpec;
 import com.typesafe.config.ConfigFactory;
 import java.io.File;
 import java.io.IOException;
 import org.apache.commons.io.FileUtils;
+import org.apache.pekko.persistence.snapshot.SnapshotStoreSpec;
 import org.junit.runner.RunWith;
 import org.scalatestplus.junit.JUnitRunner;
 
index c9ab83e762977a5814d838e243c238b63ed87aa7..6483caed0df8489f4dc6eae250c49d481af57b43 100644 (file)
@@ -14,20 +14,6 @@ import static org.opendaylight.controller.cluster.persistence.LocalSnapshotStore
 import static org.opendaylight.controller.cluster.persistence.LocalSnapshotStoreSpecTest.cleanSnapshotDir;
 import static org.opendaylight.controller.cluster.persistence.LocalSnapshotStoreSpecTest.createSnapshotDir;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.ExtendedActorSystem;
-import akka.persistence.Persistence;
-import akka.persistence.SelectedSnapshot;
-import akka.persistence.SnapshotMetadata;
-import akka.persistence.SnapshotProtocol;
-import akka.persistence.SnapshotProtocol.LoadSnapshot;
-import akka.persistence.SnapshotProtocol.LoadSnapshotFailed;
-import akka.persistence.SnapshotProtocol.LoadSnapshotResult;
-import akka.persistence.SnapshotSelectionCriteria;
-import akka.persistence.serialization.Snapshot;
-import akka.persistence.serialization.SnapshotSerializer;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.io.File;
 import java.io.FileOutputStream;
@@ -36,6 +22,20 @@ import java.net.URLEncoder;
 import java.nio.charset.StandardCharsets;
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.persistence.Persistence;
+import org.apache.pekko.persistence.SelectedSnapshot;
+import org.apache.pekko.persistence.SnapshotMetadata;
+import org.apache.pekko.persistence.SnapshotProtocol;
+import org.apache.pekko.persistence.SnapshotProtocol.LoadSnapshot;
+import org.apache.pekko.persistence.SnapshotProtocol.LoadSnapshotFailed;
+import org.apache.pekko.persistence.SnapshotProtocol.LoadSnapshotResult;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.persistence.serialization.Snapshot;
+import org.apache.pekko.persistence.serialization.SnapshotSerializer;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index 611bebfd61e6330edc29efb31664406e56edb002..cf5270c378f55d1ff9345db52cd5576b76e69252 100644 (file)
@@ -14,12 +14,12 @@ import static org.junit.Assert.assertTrue;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
-import akka.dispatch.ExecutionContexts;
-import akka.dispatch.Futures;
 import com.google.common.io.CharSource;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.io.IOException;
 import java.util.concurrent.ExecutionException;
+import org.apache.pekko.dispatch.ExecutionContexts;
+import org.apache.pekko.dispatch.Futures;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.schema.provider.RemoteYangTextSourceProvider;
index ece191671c7f7782acbe8cd54ec7380230eaa64a..5b9b57ef35dec91104e473eaf8ed56a5802724e3 100644 (file)
@@ -1,7 +1,7 @@
-akka {
+pekko {
   persistence {
       snapshot-store.local.class = "org.opendaylight.controller.cluster.persistence.LocalSnapshotStore"
-      snapshot-store.plugin = akka.persistence.snapshot-store.local
+      snapshot-store.plugin = pekko.persistence.snapshot-store.local
       snapshot-store.local.dir = "target/snapshots"
       snapshot-store.local.use-lz4-compression = false
     }
index 6d91fafb5036f21abe3446bf4227314e79bdfd3b..2a42334e8712365d76d7551ecb251bdcb7f981f7 100644 (file)
           <configuration>
             <artifacts>
               <artifact>
-                <file>${project.build.directory}/classes/initial/akka.conf</file>
+                <file>${project.build.directory}/classes/initial/pekko.conf</file>
                 <type>xml</type>
-                <classifier>akkaconf</classifier>
+                <classifier>pekkoconf</classifier>
               </artifact>
               <artifact>
-                <file>${project.build.directory}/classes/initial/factory-akka.conf</file>
+                <file>${project.build.directory}/classes/initial/factory-pekko.conf</file>
                 <type>xml</type>
-                <classifier>factoryakkaconf</classifier>
+                <classifier>factorypekkoconf</classifier>
               </artifact>
               <artifact>
                 <file>${project.build.directory}/classes/initial/module-shards.conf</file>
similarity index 92%
rename from opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf
rename to opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-pekko.conf
index 9834e08ea89b8776d0521fd3db15ebd210d0e6ad..8ea9e665080de60274461f6a4c0a35cd5c39ccbf 100644 (file)
@@ -51,9 +51,9 @@ odl-cluster-data {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     loglevel = "INFO"
-    loggers = ["akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
     logger-startup-timeout = 300s
 
     # JFR requires boot delegation, which we do not have by default
@@ -63,10 +63,10 @@ odl-cluster-data {
 
     actor {
       warn-about-java-serializer-usage = off
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       serializers {
-        java = "akka.serialization.JavaSerializer"
-        proto = "akka.remote.serialization.ProtobufSerializer"
+        java = "org.apache.pekko.serialization.JavaSerializer"
+        proto = "org.apache.pekko.remote.serialization.ProtobufSerializer"
         readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
         simpleReplicatedLogEntry = "org.opendaylight.controller.cluster.raft.persisted.SimpleReplicatedLogEntrySerializer"
       }
@@ -86,7 +86,7 @@ odl-cluster-data {
       default-mailbox {
         # When not using a BalancingDispatcher it is recommended that we use the SingleConsumerOnlyUnboundedMailbox
         # as it is the most efficient for multiple producer/single consumer use cases
-        mailbox-type="akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
+        mailbox-type="org.apache.pekko.dispatch.SingleConsumerOnlyUnboundedMailbox"
       }
     }
     remote {
@@ -139,7 +139,7 @@ odl-cluster-data {
         notify-subscribers-interval = 20 ms
       }
 
-      downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"
+      downing-provider-class = "org.apache.pekko.cluster.sbr.SplitBrainResolverProvider"
 
       split-brain-resolver {
         active-strategy = keep-majority
@@ -153,7 +153,7 @@ odl-cluster-data {
         # is stored in a separate directory, with multiple segment files. Segments are removed
         # when they are no longer required.
         #
-        plugin = akka.persistence.journal.segmented-file
+        plugin = pekko.persistence.journal.segmented-file
 
         segmented-file {
           class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal"
@@ -194,7 +194,7 @@ odl-cluster-data {
       }
 
       snapshot-store.local.class = "org.opendaylight.controller.cluster.persistence.LocalSnapshotStore"
-      snapshot-store.plugin = akka.persistence.snapshot-store.local
+      snapshot-store.plugin = pekko.persistence.snapshot-store.local
     }
   }
 
similarity index 93%
rename from opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/akka.conf
rename to opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/pekko.conf
index 0a71fd416b1a5d03c30db14e6bb70a0c889674c2..af0f252ded4d37fbe090090f5a25f7327b47ef4f 100644 (file)
@@ -1,6 +1,6 @@
 
 odl-cluster-data {
-  akka {
+  pekko {
     remote {
       artery {
         enabled = on
@@ -12,7 +12,7 @@ odl-cluster-data {
 
     cluster {
       # Using artery.
-      seed-nodes = ["akka://opendaylight-cluster-data@127.0.0.1:2550"]
+      seed-nodes = ["pekko://opendaylight-cluster-data@127.0.0.1:2550"]
 
       roles = [
         "member-1"
index 36fd395d5869992f8047a97abc18d5092cd013a8..380970fa5b97aa87d4cf128a81079717b53d293a 100644 (file)
       <artifactId>org.osgi.service.metatype.annotations</artifactId>
     </dependency>
 
-    <!-- Akka -->
+    <!-- Pekko -->
     <dependency>
       <groupId>org.scala-lang.modules</groupId>
       <artifactId>scala-java8-compat_2.13</artifactId>
     </dependency>
     <dependency>
-      <groupId>com.typesafe.akka</groupId>
-      <artifactId>akka-testkit_2.13</artifactId>
+      <groupId>org.apache.pekko</groupId>
+      <artifactId>pekko-testkit_2.13</artifactId>
     </dependency>
 
     <!-- Scala -->
index 8efdd309a60548492359a70ab2c13ad9ffa4a1b0..12eea2567fb14514f0e8b075c94eab12cab52a36 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.cluster.akka.impl;
 
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.actor.Terminated;
-import akka.dispatch.OnComplete;
 import com.typesafe.config.Config;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.dispatch.OnComplete;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.ActorSystemProvider;
 import org.opendaylight.controller.cluster.ActorSystemProviderListener;
index 306074f7f4990fed0e70801a66e759155505cf0a..9b88095bc0971b879610a150c51f8538a3a2402c 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.akka.osgi.impl;
 
-import akka.osgi.BundleDelegatingClassLoader;
 import java.security.AccessController;
 import java.security.PrivilegedAction;
+import org.apache.pekko.osgi.BundleDelegatingClassLoader;
 import org.osgi.framework.BundleContext;
 
 public final class BundleClassLoaderFactory {
index 2ba081fe71d6ef702904ca1c636cf6ba064b1f30..e7b8685803c3b89ce324ecfe211d887fb5b3f9a7 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.akka.osgi.impl;
 
-import akka.actor.ActorSystem;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorSystem;
 import org.opendaylight.controller.cluster.ActorSystemProvider;
 import org.opendaylight.controller.cluster.ActorSystemProviderListener;
 import org.opendaylight.controller.cluster.akka.impl.ActorSystemProviderImpl;
index eb98c4f3399973d17f57facb9c1961aceb3ad1db..1451ff09f670a88bac9ffda30cd04f70ff868ffb 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.akka.osgi.impl;
 
-import akka.actor.Props;
 import com.typesafe.config.Config;
 import com.typesafe.config.ConfigException;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.common.actor.QuarantinedMonitorActor;
 import org.osgi.framework.BundleContext;
 import org.slf4j.Logger;
@@ -19,7 +19,7 @@ public final class QuarantinedMonitorActorPropsFactory {
     private static final Logger LOG = LoggerFactory.getLogger(QuarantinedMonitorActorPropsFactory.class);
 
     private static final String DEFAULT_HANDLING_DISABLED =
-        "akka.disable-default-actor-system-quarantined-event-handling";
+        "pekko.disable-default-actor-system-quarantined-event-handling";
 
     private QuarantinedMonitorActorPropsFactory() {
 
@@ -32,7 +32,7 @@ public final class QuarantinedMonitorActorPropsFactory {
                 return QuarantinedMonitorActor.props(() -> { });
             }
         } catch (ConfigException configEx) {
-            LOG.info("Akka config doesn't contain property {}. Therefore default handling will be used",
+            LOG.info("Pekko config doesn't contain property {}. Therefore default handling will be used",
                 DEFAULT_HANDLING_DISABLED);
         }
         return QuarantinedMonitorActor.props(() -> {
index 3a529a179779a3f5c05b82ece86a48abe0114217..d34e71e455569290916e1a3675c24541343841f2 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.databroker;
 
-import akka.actor.ActorSystem;
 import com.google.common.annotations.VisibleForTesting;
+import org.apache.pekko.actor.ActorSystem;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.databroker.actors.dds.DataStoreClient;
 import org.opendaylight.controller.cluster.datastore.AbstractDataStore;
index 507f065d49cfe370d589326bdb92bbc37a477844..118a972a3a26cfe98c78f42d16655b69e3681897 100644 (file)
@@ -10,10 +10,10 @@ package org.opendaylight.controller.cluster.databroker.actors.dds;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.util.Timeout;
 import com.google.common.base.Throwables;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.util.Timeout;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.client.AbstractClientActor;
 import org.opendaylight.controller.cluster.access.client.ClientActorConfig;
index e7a30ffadf1973f02dac29bd655cd0db030ebacc..faf47ae898d5491fd551b9eb02283a42cd5d0b2f 100644 (file)
@@ -7,8 +7,6 @@
  */
 package org.opendaylight.controller.cluster.databroker.actors.dds;
 
-import akka.actor.ActorRef;
-import akka.actor.Status;
 import com.google.common.base.Throwables;
 import com.google.common.base.Verify;
 import java.util.ArrayList;
@@ -18,6 +16,8 @@ import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.atomic.AtomicLong;
 import java.util.concurrent.locks.StampedLock;
 import java.util.stream.Stream;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Status;
 import org.opendaylight.controller.cluster.access.client.ClientActorBehavior;
 import org.opendaylight.controller.cluster.access.client.ClientActorContext;
 import org.opendaylight.controller.cluster.access.client.ConnectedClientConnection;
index f0d30f3aa17d249034a2147bb8ab160da6bbd242..eb176180f8aa4a45028b52313244bd16c1ae2c00 100644 (file)
@@ -12,7 +12,6 @@ import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects;
 import com.google.common.collect.Iterables;
 import com.google.common.util.concurrent.FluentFuture;
@@ -27,6 +26,7 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
 import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
index c3dcef811b688874595a2fcfd2bd1400e8a1cc8a..8b015199a6b0ec2eae4e427378e05f83326b2ce0 100644 (file)
@@ -10,8 +10,6 @@ package org.opendaylight.controller.cluster.databroker.actors.dds;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.util.Timeout;
 import com.google.common.primitives.UnsignedLong;
 import java.util.Set;
 import java.util.concurrent.CompletableFuture;
@@ -21,6 +19,8 @@ import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
 import java.util.concurrent.atomic.AtomicLong;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.util.Timeout;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
index 1701d4c894b5f7fddf04ec9511e343992d14d28b..12d00704ab2bbc9c112f0c691bbbdfce56fed9d8 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.databroker.actors.dds;
 
-import akka.actor.Props;
+import org.apache.pekko.actor.Props;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.client.AbstractClientActor;
 import org.opendaylight.controller.cluster.access.client.ClientActorContext;
index 7d9d74d8ea5ede282c50d7d149072b12e59cd99a..3be708f4025adfe77ab5eb93b20914cf3d4c4de8 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.databroker.actors.dds;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 
 /**
  * Request the ClientIdentifier from a particular actor. Response is an instance of {@link DataStoreClient}.
index 322e01f2d0fef14563b38b44553a1c5c920d3a44..4c5b0223be756ef333f6fd4c9e8b4a8b5383c1d9 100644 (file)
@@ -9,16 +9,16 @@ package org.opendaylight.controller.cluster.databroker.actors.dds;
 
 import static com.google.common.base.Verify.verifyNotNull;
 
-import akka.dispatch.ExecutionContexts;
-import akka.dispatch.OnComplete;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.collect.ImmutableBiMap;
 import java.util.concurrent.CompletionStage;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
 import java.util.concurrent.TimeUnit;
 import java.util.stream.Stream;
+import org.apache.pekko.dispatch.ExecutionContexts;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.client.BackendInfoResolver;
index 437effe9ae0df3264d65db37b6b2a4bf60377cf0..6916234a241bd73e08a5b350b762f8a909d680e8 100644 (file)
@@ -12,7 +12,6 @@ import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.collect.ImmutableList;
 import com.google.common.primitives.UnsignedLong;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -27,6 +26,7 @@ import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
 import java.util.concurrent.locks.Lock;
 import java.util.concurrent.locks.ReentrantLock;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.checkerframework.checker.lock.qual.Holding;
 import org.eclipse.jdt.annotation.NonNull;
index 95ce87ca9516036d4d4eca4c88aa76c8af540c0f..4843db23225b4071b35475c18900c62353a6435c 100644 (file)
@@ -10,10 +10,10 @@ package org.opendaylight.controller.cluster.databroker.actors.dds;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import com.google.common.primitives.UnsignedLong;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.ABIVersion;
 import org.opendaylight.controller.cluster.access.client.BackendInfo;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
index b19de5a4ef9cd678394e900bc6e59b408bb715a1..c94057cfe81b2e42dd144f92740f29b988d981f2 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.databroker.actors.dds;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Props;
+import org.apache.pekko.actor.Props;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.client.AbstractClientActor;
 import org.opendaylight.controller.cluster.access.client.ClientActorContext;
index 05edad2cf1f72867110f5a3798a6570365408682..10393358c847156c26fda8d5284daa57e0422dee 100644 (file)
@@ -9,10 +9,6 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
 import com.google.common.annotations.Beta;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Throwables;
@@ -24,6 +20,10 @@ import java.util.List;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.common.actor.Dispatchers;
index b4c65a80c07f672172d878b8d2eee1aefee72f34..4f22be90bd859bb62d62b4efabc75bb979cb1e7b 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorContext;
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.apache.pekko.actor.ActorContext;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.common.actor.Dispatchers;
 import org.opendaylight.yangtools.yang.data.tree.api.DataTreeCandidate;
 import org.slf4j.Logger;
index 02fb3946b907fe7d784ec19647153a88490944b9..8b5cd5bd38505e09485738787cb6e247cdffe355 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
-import akka.actor.Address;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Address;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 
 public interface ClusterWrapper {
index be162d9304ee205d5fde8afee03f72d822d81296..7b199ca08d6dfdb18bacb839e1896f2a205356b4 100644 (file)
@@ -10,11 +10,11 @@ package org.opendaylight.controller.cluster.datastore;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 
 public class ClusterWrapperImpl implements ClusterWrapper {
@@ -26,9 +26,9 @@ public class ClusterWrapperImpl implements ClusterWrapper {
         cluster = Cluster.get(requireNonNull(actorSystem, "actorSystem should not be null"));
 
         checkState(cluster.getSelfRoles().size() > 0,
-            "No akka roles were specified.\n"
+            "No pekko roles were specified.\n"
             + "One way to specify the member name is to pass a property on the command line like so\n"
-            + "   -Dakka.cluster.roles.0=member-3\n"
+            + "   -Dpekko.cluster.roles.0=member-3\n"
             + "member-3 here would be the name of the member");
 
         currentMemberName = MemberName.forName(cluster.getSelfRoles().iterator().next());
index 120b004a6e9bf44513acc784df5efe619232abe0..129ef26fcd18af11d50a863efd265a638f73e3fd 100644 (file)
@@ -10,13 +10,13 @@ package org.opendaylight.controller.cluster.datastore;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.primitives.UnsignedLong;
 import com.google.common.util.concurrent.FutureCallback;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.List;
 import java.util.Optional;
 import java.util.SortedSet;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.CohortDecorator;
 import org.opendaylight.controller.cluster.datastore.modification.Modification;
index 078b45f68f9e98cdcef1cd48b190fbedddd1a065..d703839723647bc6061c1555dd7cfc6ecf973394 100644 (file)
@@ -10,15 +10,6 @@ package org.opendaylight.controller.cluster.datastore;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Status;
-import akka.actor.Status.Failure;
-import akka.dispatch.ExecutionContexts;
-import akka.dispatch.Futures;
-import akka.dispatch.OnComplete;
-import akka.dispatch.Recover;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.collect.Lists;
 import java.util.AbstractMap.SimpleImmutableEntry;
 import java.util.ArrayList;
@@ -30,6 +21,15 @@ import java.util.Optional;
 import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.CompletionStage;
 import java.util.concurrent.Executor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.dispatch.ExecutionContexts;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.dispatch.Recover;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.datastore.DataTreeCohortActor.CanCommit;
index 6f88d3ea986136416276fa39915c5bfe2673bee6..dfcfce0073fd62c4196a35fff9fb67bc6ec2b3ba 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 import org.opendaylight.controller.cluster.datastore.messages.DataTreeChanged;
 import org.opendaylight.controller.cluster.datastore.messages.DataTreeChangedReply;
index be849284e7f1fabdd04f9e3255e99a5912e53f48..bb0bf72d949b67379448c183c9727ff4e473b3de 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.PoisonPill;
-import akka.dispatch.OnComplete;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.util.concurrent.Executor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.dispatch.OnComplete;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.datastore.exceptions.LocalShardNotFoundException;
index f5e1d1374b8b8923fee3b785c85d31b3a4778b12..6d4ffc3ca65457de6273dd7e9e196c8884d19c45 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.concurrent.ConcurrentHashMap;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
 import org.opendaylight.controller.cluster.datastore.actors.DataTreeNotificationListenerRegistrationActor;
 import org.opendaylight.controller.cluster.datastore.messages.EnableNotification;
 import org.opendaylight.controller.cluster.datastore.messages.RegisterDataTreeChangeListener;
index 9efca6493716ed72ec030610fb67ebd8691b2ac3..41eae76963fc87c125d94965558428f181f75851 100644 (file)
@@ -7,9 +7,6 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.actor.Status;
 import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
@@ -19,6 +16,9 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Objects;
 import java.util.concurrent.Executor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index fa10f947db49d7c9f73e369ca568f5bbdcbb9ac2..0fe28c8393f085411905977d20ae2cbfbe11382c 100644 (file)
@@ -9,10 +9,6 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Status;
-import akka.util.Timeout;
 import com.google.common.collect.ArrayListMultimap;
 import com.google.common.collect.Multimap;
 import java.util.ArrayList;
@@ -21,6 +17,10 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.Executor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeCandidate;
index 4e3c6cb8d77bc0043dc883b29e0467bc120e16c2..35b41840e0fc72815615c64611bb4eb32690eb38 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.dispatch.OnComplete;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.opendaylight.controller.cluster.datastore.exceptions.LocalShardNotFoundException;
 import org.opendaylight.controller.cluster.datastore.utils.ActorUtils;
index 24b37751272b68741ab9e296b835244e6b337944..d477deaec8a31c0b39b42e42b5f96cf6f67e4415 100644 (file)
@@ -10,12 +10,12 @@ package org.opendaylight.controller.cluster.datastore;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.util.Timeout;
 import com.google.common.annotations.VisibleForTesting;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.TimeUnit;
 import org.apache.commons.text.WordUtils;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.access.client.AbstractClientConnection;
 import org.opendaylight.controller.cluster.access.client.ClientActorConfig;
 import org.opendaylight.controller.cluster.common.actor.AkkaConfigurationReader;
index 740aef92b8d38bf61ab8e59316f20397efd4ace0..9c19d1298447351157f50d60a525ad682456ef7b 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.opendaylight.controller.cluster.datastore.messages.RegisterDataTreeChangeListener;
 import org.opendaylight.yangtools.concepts.Registration;
index dca9c0773e06f4ee02c52ace1e9616c346ecb04d..a4e4865cb9d38ce6fa4031349a31e26fdad47bf0 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
 import java.util.List;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.datastore.messages.DataTreeChanged;
 import org.opendaylight.controller.cluster.datastore.messages.OnInitialData;
index af57577c4d37bc08eb5ebd7df92bdd2df2663b31..a181ad3cfa39e54b4f0e8906e17f84fb7b16e6a3 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorPath;
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Props;
+import org.apache.pekko.actor.ActorPath;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Props;
 
 /**
  * Base class for factories instantiating delegates which are local to the
index 7aff93237f3bdb126cd827568952ff590342607f..b6fa8b3c7b47a25489bdd9c759f7228c5466cd85 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.base.Stopwatch;
 import com.google.common.cache.Cache;
 import com.google.common.cache.CacheBuilder;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.datastore.messages.OnDemandShardState;
 import org.opendaylight.controller.cluster.raft.client.messages.GetOnDemandRaftState;
 import scala.concurrent.Await;
index 857c2844ffcc75a52b416998755efae1e71e87b4..da26d03aeed3dc48760e8302fcd3685daf28c160 100644 (file)
@@ -10,8 +10,6 @@ package org.opendaylight.controller.cluster.datastore;
 import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import com.google.common.collect.Iterables;
 import java.util.ArrayDeque;
 import java.util.ArrayList;
@@ -21,6 +19,8 @@ import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.datastore.messages.DataTreeChanged;
 import org.opendaylight.controller.cluster.datastore.messages.OnInitialData;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;
index 43cbb7e8720c14898dcfa36e6fa8a92dca0caef6..3bcc9947b663b7eb5b04cca317e49d75dfc959d0 100644 (file)
@@ -11,10 +11,6 @@ import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.PoisonPill;
-import akka.dispatch.OnComplete;
 import com.google.common.collect.Maps;
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -22,6 +18,10 @@ import java.util.List;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.dispatch.OnComplete;
 import org.checkerframework.checker.lock.qual.GuardedBy;
 import org.checkerframework.checker.lock.qual.Holding;
 import org.eclipse.jdt.annotation.NonNull;
index b4ed4ba0d9bba7cdde9729215bc47e7e4bc63ac8..0eb2be5219f5d832e7d3ad04ddb728a0a7dbd805 100644 (file)
@@ -12,18 +12,6 @@ import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Cancellable;
-import akka.actor.ExtendedActorSystem;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.actor.Status;
-import akka.actor.Status.Failure;
-import akka.persistence.RecoveryCompleted;
-import akka.persistence.SnapshotOffer;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Ticker;
 import com.google.common.collect.ImmutableList;
@@ -41,6 +29,18 @@ import java.util.Optional;
 import java.util.OptionalLong;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Supplier;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.persistence.SnapshotOffer;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.access.ABIVersion;
@@ -153,8 +153,8 @@ public class Shard extends RaftActor {
 
     private static final Collection<ABIVersion> SUPPORTED_ABIVERSIONS;
 
-    // Make sure to keep this in sync with the journal configuration in factory-akka.conf
-    public static final String NON_PERSISTENT_JOURNAL_ID = "akka.persistence.non-persistent.journal";
+    // Make sure to keep this in sync with the journal configuration in factory-pekko.conf
+    public static final String NON_PERSISTENT_JOURNAL_ID = "pekko.persistence.non-persistent.journal";
 
     static {
         final ABIVersion[] values = ABIVersion.values();
index 946203b6b76aa5e2c4b4f94a849a9430f2d3fa06..65a31d031b355d33e372cefad27a4b62b2f31216 100644 (file)
@@ -9,9 +9,6 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Status.Failure;
-import akka.serialization.Serialization;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.primitives.UnsignedLong;
 import com.google.common.util.concurrent.FutureCallback;
@@ -23,6 +20,9 @@ import java.util.Collections;
 import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.serialization.Serialization;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.datastore.messages.AbortTransactionReply;
index f5e3d527b45d03507fb118d9bafe999db8b8f8ce..f9b8086b70fd07b8a06439bb4e93c61eea357272 100644 (file)
@@ -7,15 +7,13 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import static akka.actor.ActorRef.noSender;
 import static com.google.common.base.Preconditions.checkState;
 import static com.google.common.base.Verify.verify;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 import static java.util.Objects.requireNonNullElse;
+import static org.apache.pekko.actor.ActorRef.noSender;
 
-import akka.actor.ActorRef;
-import akka.util.Timeout;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Stopwatch;
 import com.google.common.collect.ImmutableList;
@@ -43,6 +41,8 @@ import java.util.concurrent.TimeoutException;
 import java.util.function.Consumer;
 import java.util.function.Function;
 import java.util.function.UnaryOperator;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.util.Timeout;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
index 83209731c4abfd59b5b090eb4719a1c4894b9707..1369d22460c90eaf06c700bf67e8b1a503826605 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorContext;
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorContext;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;
 import org.opendaylight.yangtools.concepts.Registration;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
index 5e96133aaa116cda6d68a3a5f42bb0551d524026..07a8eed7e874b4c3c1d903463cbbc0044f8c3202 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Props;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeChangeListener;
 import org.opendaylight.yangtools.concepts.Registration;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
index cab0c534ac90819e48b93ed2c26a9264f0c2ba20..45baf9dde9a3f8cea3beadb5916fd7b71bc0336d 100644 (file)
@@ -9,11 +9,6 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.dispatch.Futures;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.base.Throwables;
 import com.google.common.collect.Streams;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -23,6 +18,11 @@ import java.util.List;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
 import java.util.stream.Collectors;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard.ShardDataTreeListenerInfoMXBean;
 import org.opendaylight.controller.cluster.datastore.messages.GetInfo;
 import org.opendaylight.controller.cluster.datastore.messages.OnDemandShardState;
index ac751fb33d3eb5f8ba22f22fcc86cdf6fb30b139..e9a33567fa46a3b4c0f41eca51c8d517c500a2b8 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.datastore.messages.DataExists;
 import org.opendaylight.controller.cluster.datastore.messages.ReadData;
 
index 84c346def864f3dc2627eb98e137472771e90939..2cca705b79ed0919fce4aedb7f20add5241b476a 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.datastore.messages.DataExists;
 import org.opendaylight.controller.cluster.datastore.messages.ReadData;
 
index c7bc20f7546599876d4f99a9ca07fc174ed836ed..c0c94127e97a945c420b322306ff13e101ff5bc5 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorContext;
-import akka.actor.ActorRef;
 import com.google.common.io.ByteSource;
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.OutputStream;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorContext;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.FrontendIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.FrontendType;
index f377ff71008febf28324e92dccc2ae053f04b87c..5c797147872752c2306c0b9d72c89a7eabd6e0ac 100644 (file)
@@ -7,7 +7,6 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
 import com.google.common.base.Joiner;
 import com.google.common.base.Joiner.MapJoiner;
 import java.time.Instant;
@@ -15,6 +14,7 @@ import java.time.ZoneId;
 import java.time.format.DateTimeFormatter;
 import java.util.List;
 import java.util.concurrent.atomic.AtomicLong;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard.ShardStatsMXBean;
index 3b3462884f85b6987b8a1777e797503e58255976..8dbca3e064724892e456ef1ef6923c6793cd599b 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.actor.ReceiveTimeout;
-import akka.japi.Creator;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.ReceiveTimeout;
+import org.apache.pekko.japi.Creator;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering;
 import org.opendaylight.controller.cluster.datastore.messages.CloseTransaction;
@@ -90,8 +90,8 @@ public abstract class ShardTransaction extends AbstractUntypedActorWithMetering
         final boolean ret = transaction.isClosed();
         if (ret) {
             shardStats.incrementFailedReadTransactionsCount();
-            getSender().tell(new akka.actor.Status.Failure(new ReadFailedException("Transaction is closed")),
-                    getSelf());
+            getSender().tell(new org.apache.pekko.actor.Status.Failure(
+                new ReadFailedException("Transaction is closed")), getSelf());
         }
         return ret;
     }
index 122c43592aeaf8b9099f59e98f4eefa3fe9588b4..77b46547bd8e45974ad70c041a1936317a8f1a7b 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.AbstractActor.ActorContext;
-import akka.actor.ActorRef;
 import java.util.concurrent.atomic.AtomicLong;
+import org.apache.pekko.actor.AbstractActor.ActorContext;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.FrontendIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
index bfd7802213e05b1146e32c9031db0fe87ca1e141..9938c94182c36306f1a936c38866328314ce7ac5 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.datastore;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Cancellable;
-import akka.actor.Status.Failure;
 import java.io.Closeable;
 import java.util.LinkedHashSet;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.Status.Failure;
 import org.opendaylight.controller.cluster.datastore.exceptions.NoShardLeaderException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 764361a016dd56a2074dca2b3201927290f6da29..ec82c7108a71114a7b5df5541503c1fe060ca983 100644 (file)
@@ -8,8 +8,8 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.datastore.messages.BatchedModifications;
 import org.opendaylight.controller.cluster.datastore.messages.BatchedModificationsReply;
@@ -81,7 +81,7 @@ public class ShardWriteTransaction extends ShardTransaction {
             }
         } catch (Exception e) {
             lastBatchedModificationsException = e;
-            getSender().tell(new akka.actor.Status.Failure(e), getSelf());
+            getSender().tell(new org.apache.pekko.actor.Status.Failure(e), getSelf());
 
             if (batched.isReady()) {
                 getSelf().tell(PoisonPill.getInstance(), getSelf());
@@ -100,7 +100,7 @@ public class ShardWriteTransaction extends ShardTransaction {
     private boolean checkClosed() {
         final boolean ret = transaction.isClosed();
         if (ret) {
-            getSender().tell(new akka.actor.Status.Failure(new IllegalStateException(
+            getSender().tell(new org.apache.pekko.actor.Status.Failure(new IllegalStateException(
                     "Transaction is closed, no modifications allowed")), getSelf());
         }
         return ret;
index d449ebc31afd8b531b13df98cdde273b132745ea..7b1bc4a5d011330c1f0fd258e942249754976023 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.Terminated;
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.actor.UntypedAbstractActor;
 import org.opendaylight.controller.cluster.common.actor.Monitor;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 2fdf3a9d622a927a75272c9f123650cf74689059..af26a50c00b4735f484c08deacc056e11bcea9bd 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.datastore.actors;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Cancellable;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
 import com.google.common.annotations.VisibleForTesting;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 import org.opendaylight.controller.cluster.datastore.messages.CloseDataTreeNotificationListenerRegistration;
index 5eabe94399188f23b1083452841713e788fc41c5..a93aaab3ad8d2b71574720baaa723f09e522539e 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.controller.cluster.datastore.actors;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Props;
 import com.google.gson.stream.JsonWriter;
 import java.io.IOException;
 import java.nio.file.Files;
@@ -19,6 +18,7 @@ import java.nio.file.Paths;
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
+import org.apache.pekko.actor.Props;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
index 91da59d3bae91faf6628abb3b7853cd2ab042e5f..a5d0276134303169dfbb7565f68527fbfba953f3 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.datastore.actors;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import java.io.IOException;
 import java.io.ObjectOutputStream;
 import java.io.OutputStream;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering;
 import org.opendaylight.controller.cluster.datastore.persisted.ShardDataTreeSnapshot;
 import org.opendaylight.controller.cluster.datastore.persisted.ShardSnapshotState;
index cd6e0d8cfa91da756f616e8c5244465feb7e1e6b..3b481ca11d06ef40275967d56f8bcbe9d9c146f4 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.datastore.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 
 @NonNullByDefault
index 4e0c9cab28494242af7a741dded01e99c2cfad81..7e5c237d2f0e7644b456ddb74134bf80134aa59d 100644 (file)
@@ -11,8 +11,8 @@ package org.opendaylight.controller.cluster.datastore.messages;
 /**
  * Message sent to local shard to try to gain shard leadership. Sender of this
  * message will be notified about result of leadership transfer with
- * {@link akka.actor.Status.Success}, if leadership is successfully transferred
- * to local shard. Otherwise {@link akka.actor.Status.Failure} with
+ * {@link org.apache.pekko.actor.Status.Success}, if leadership is successfully transferred
+ * to local shard. Otherwise {@link org.apache.pekko.actor.Status.Failure} with
  * {@link org.opendaylight.controller.cluster.raft.LeadershipTransferFailedException}
  * will be sent to sender of this message.
  */
index 76cff05a3323f9f601b5c266bf3e8761ddcb7428..b9f2ee58f6823d90d8ef74b31611dd533e79cbae 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.datastore.messages;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
 import java.util.Collection;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
 import org.opendaylight.controller.cluster.raft.client.messages.OnDemandRaftState;
 
 /**
index c9d10a62e60a4061b5d5dc3eb4891415907adce6..a73372515b88f633cfd6c98f0b7d987e1063818e 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.datastore.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorSelection;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorSelection;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.data.tree.api.ReadOnlyDataTree;
 
index 7346a8c07e5d3401610c1f5a237cd6c026af33e6..813bb1cf1b7979c4c2baa6b91733cb2b1e89fffd 100644 (file)
@@ -10,12 +10,12 @@ package org.opendaylight.controller.cluster.datastore.messages;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ExtendedActorSystem;
-import akka.serialization.JSerializer;
-import akka.util.ClassLoaderObjectInputStream;
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import org.apache.commons.lang3.SerializationUtils;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.serialization.JSerializer;
+import org.apache.pekko.util.ClassLoaderObjectInputStream;
 import org.opendaylight.controller.cluster.datastore.utils.AbstractBatchedModificationsCursor;
 
 /**
index 0e9fae42432b8d2b98802142e74d51b38818c0e0..fbabe9fdda348cca0bba9542613aa8982eaccaac 100644 (file)
@@ -9,12 +9,12 @@ package org.opendaylight.controller.cluster.datastore.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorPath;
-import akka.actor.ActorRef;
 import java.io.Externalizable;
 import java.io.IOException;
 import java.io.ObjectInput;
 import java.io.ObjectOutput;
+import org.apache.pekko.actor.ActorPath;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.cluster.datastore.node.utils.stream.SerializationUtils;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 
index 7feb6c46e631f9a89a309e34cdc562358b88a4c1..59d7005dadc1197e6a98a01dbc0880066d5992d5 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.datastore.messages;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorPath;
-import akka.actor.ActorRef;
 import java.io.Serializable;
+import org.apache.pekko.actor.ActorPath;
+import org.apache.pekko.actor.ActorRef;
 
 /**
  * Successful reply to a notification listener registration request.
index 560b5344b0052bd09e455b396780cc5579211097..d24aae54e43ff3a1dab465f344e74a9b3b9f1691 100644 (file)
@@ -10,8 +10,8 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Props;
 import com.google.common.util.concurrent.SettableFuture;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.datastore.AbstractDataStore;
 import org.opendaylight.controller.cluster.datastore.ClusterWrapper;
 import org.opendaylight.controller.cluster.datastore.DatastoreContextFactory;
index de58667dad8b1402351a0a07626f230a49fcee2d..185d9e358ae1cc7cede22e7123f9f915ac049028 100644 (file)
@@ -14,7 +14,7 @@ import java.util.function.Consumer;
 /**
  * Local ShardManager message to register a callback to be notified of shard availability changes. The reply to
  * this message is a {@link org.opendaylight.yangtools.concepts.Registration} instance wrapped in a
- * {@link akka.actor.Status.Success}.
+ * {@link org.apache.pekko.actor.Status.Success}.
  *
  * @author Thomas Pantelis
  */
index f5c94413c7840cb1247e9f36cb3d59358334beae..f3d1567e3b2654c4cf07ac11a40873318485cf06 100644 (file)
@@ -9,9 +9,6 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.serialization.Serialization;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Strings;
 import java.util.HashSet;
@@ -20,6 +17,9 @@ import java.util.Map;
 import java.util.Objects;
 import java.util.Optional;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.serialization.Serialization;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.datastore.DatastoreContext;
 import org.opendaylight.controller.cluster.datastore.Shard;
index adc686723bd67fc602af2c19005fb5a44358284f..6f847a50efd511c880acbe197eff4c6125911a55 100644 (file)
@@ -9,29 +9,6 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Address;
-import akka.actor.Cancellable;
-import akka.actor.OneForOneStrategy;
-import akka.actor.PoisonPill;
-import akka.actor.Status;
-import akka.actor.SupervisorStrategy;
-import akka.actor.SupervisorStrategy.Directive;
-import akka.cluster.ClusterEvent;
-import akka.cluster.ClusterEvent.MemberWeaklyUp;
-import akka.cluster.Member;
-import akka.dispatch.Futures;
-import akka.dispatch.OnComplete;
-import akka.japi.Function;
-import akka.pattern.Patterns;
-import akka.persistence.DeleteSnapshotsFailure;
-import akka.persistence.DeleteSnapshotsSuccess;
-import akka.persistence.RecoveryCompleted;
-import akka.persistence.SaveSnapshotFailure;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.persistence.SnapshotOffer;
-import akka.persistence.SnapshotSelectionCriteria;
-import akka.util.Timeout;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.util.concurrent.SettableFuture;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -47,6 +24,29 @@ import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
 import java.util.function.Consumer;
 import java.util.function.Supplier;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.OneForOneStrategy;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.actor.SupervisorStrategy;
+import org.apache.pekko.actor.SupervisorStrategy.Directive;
+import org.apache.pekko.cluster.ClusterEvent;
+import org.apache.pekko.cluster.ClusterEvent.MemberWeaklyUp;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.japi.Function;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.persistence.DeleteSnapshotsFailure;
+import org.apache.pekko.persistence.DeleteSnapshotsSuccess;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.persistence.SaveSnapshotFailure;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.persistence.SnapshotOffer;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActorWithMetering;
 import org.opendaylight.controller.cluster.common.actor.Dispatchers;
index 42ed9d09d89294d4cb645c46068c3ae2d4cb65b3..01f1190d4c4c14c60d6d1e5fd819f34f0ae5ed35 100644 (file)
@@ -7,18 +7,18 @@
  */
 package org.opendaylight.controller.cluster.datastore.shardmanager;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.actor.ReceiveTimeout;
-import akka.actor.Status.Failure;
-import akka.actor.UntypedAbstractActor;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.ReceiveTimeout;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.actor.UntypedAbstractActor;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
 import org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshot;
 import org.opendaylight.controller.cluster.datastore.persisted.DatastoreSnapshot.ShardSnapshot;
index 8577a5914c0389905f9f55d4fff8fb496ac91cff..4502ac6caf30711760b944b8e0d282a47c07bfe7 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.pattern.Patterns;
 import com.google.common.base.Throwables;
 import java.util.List;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.pattern.Patterns;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
 import org.opendaylight.controller.cluster.raft.RaftState;
index 6c33652bb1a6cde93cad77ec48adbe4068289060..0c52d3bea18f6ff984bbcadb3851f34e0196c73e 100644 (file)
@@ -9,14 +9,14 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Address;
-import akka.actor.AddressFromURIString;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.AddressFromURIString;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardManagerIdentifier;
index 8e61c569faa422f32f7dd13c7bfac2479a5d5f00..ab9a4f906a0f08197f8d44433268fcf7da581710 100644 (file)
@@ -7,15 +7,6 @@
  */
 package org.opendaylight.controller.cluster.datastore.utils;
 
-import akka.actor.ActorPath;
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.dispatch.Mapper;
-import akka.dispatch.OnComplete;
-import akka.pattern.AskTimeoutException;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.codahale.metrics.MetricRegistry;
 import com.codahale.metrics.Timer;
 import com.google.common.base.Preconditions;
@@ -25,6 +16,15 @@ import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.LongAdder;
 import java.util.function.Function;
+import org.apache.pekko.actor.ActorPath;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.dispatch.Mapper;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.AskTimeoutException;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.common.actor.Dispatchers;
 import org.opendaylight.controller.cluster.datastore.ClusterWrapper;
index 6e7d2bfd4bf9bf2de3a30bb18b4c9789839f64b4..aacb123df3850d18ac334b1c3e75cdd39827cfda 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.datastore.utils;
 
-import akka.dispatch.OnComplete;
 import java.util.ArrayList;
 import java.util.List;
+import org.apache.pekko.dispatch.OnComplete;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
index b3291aad2552bbe23bd9390e6768f6ff8287c306..35ea6ab48873e2ac813ff55467c48d7f8ea27ccf 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.datastore.utils;
 
-import akka.dispatch.Futures;
 import com.google.common.cache.Cache;
 import com.google.common.cache.CacheBuilder;
+import org.apache.pekko.dispatch.Futures;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.controller.cluster.datastore.messages.PrimaryShardInfo;
index 21307e532cee418189e3601354b22464973808bd..0cc70a3a04a863192763b491ed24a8ce794d6cd8 100644 (file)
@@ -265,7 +265,7 @@ module distributed-datastore-provider {
             default false;
             type boolean;
             description "Use lz4 compression for snapshots, sent from leader to follower, for snapshots stored
-                        by LocalSnapshotStore, use akka.conf configuration.";
+                        by LocalSnapshotStore, use pekko.conf configuration.";
         }
 
         leaf export-on-recovery {
index 15fe8a417f066d95f0588a71d27d289446cd45f0..d18c5033cf25d73e59eeba0d447eabfe30ae43fd 100644 (file)
@@ -13,11 +13,11 @@ import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
-import akka.util.Timeout;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.concurrent.ForkJoinPool;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.util.Timeout;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
index 9b790ce5c86a7555cafd8da547d857bb57bba4be..931b4807c63fa22f538882ee91c37f3abcc73da1 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.cluster.databroker;
 
-import akka.actor.ActorSystem;
+import org.apache.pekko.actor.ActorSystem;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.databroker.actors.dds.DataStoreClient;
 import org.opendaylight.controller.cluster.datastore.ClusterWrapper;
index 37f38810ce5a8a4a344720a6a7dc2e867713fe8c..a6990193347d43a3f2f3078c20cd4aaf6e413c36 100644 (file)
@@ -17,13 +17,13 @@ import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtil
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.HISTORY_ID;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.TRANSACTION_ID;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import java.util.List;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 7f934622ab215ac82ffe762661b2a67828ca6f21..43a9495ebd11c9418480e56b61863d3969d1b7f4 100644 (file)
@@ -16,11 +16,11 @@ import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
 import com.google.common.primitives.UnsignedLong;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
 import org.junit.Test;
 import org.mockito.Mock;
 import org.opendaylight.controller.cluster.access.ABIVersion;
index 9254802810b38f3c4cdf2b86f1e6690377bd6eb0..2043cf1901a3fa0d2a780f5b2369b25b2afe37bc 100644 (file)
@@ -15,14 +15,14 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.CLIENT_ID;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Status;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import java.util.List;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index b28c84b09e64c75a710f961053fbcbcf693c9dfe..543eb730f65a89b13b89c116044d62ed13f9c459 100644 (file)
@@ -19,9 +19,6 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Ticker;
 import com.google.common.primitives.UnsignedLong;
 import java.util.ArrayList;
@@ -29,6 +26,9 @@ import java.util.List;
 import java.util.Optional;
 import java.util.function.BiFunction;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.hamcrest.BaseMatcher;
 import org.hamcrest.Description;
 import org.junit.After;
index 298470021ee20c04c35f4fdb963c5f10a04cbca9..c78493e01af2885c5c2d4fbd09718fa6ecfdb6be 100644 (file)
@@ -14,9 +14,9 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertThrows;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index e54b275c9516fd858aaeb6a0461f0ac1ed2e1c70..96007965bdb26f9014fbef588894d780e57b552f 100644 (file)
@@ -15,9 +15,6 @@ import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtil
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.assertOperationThrowsException;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.getWithTimeout;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.primitives.UnsignedLong;
 import com.google.common.util.concurrent.ListenableFuture;
 import java.util.ArrayList;
@@ -28,6 +25,9 @@ import java.util.concurrent.ExecutionException;
 import java.util.function.Consumer;
 import java.util.function.Function;
 import java.util.stream.Collectors;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 32f062ec6ba623fc6f9dbf9ec490e38cf20790fe..b5c1aea826456854e1964c77b4c64c0663e4eea7 100644 (file)
@@ -16,12 +16,12 @@ import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtil
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.TRANSACTION_ID;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.getWithTimeout;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.primitives.UnsignedLong;
 import com.google.common.util.concurrent.ListenableFuture;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 104981c1fd6839899e01f6aea578e29f2d6635a1..6253bbbc808da08fbb63972e5388df470459e3e1 100644 (file)
@@ -15,10 +15,10 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.verify;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.assertFutureEquals;
 
-import akka.testkit.TestProbe;
 import com.google.common.base.Ticker;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.Test;
 import org.mockito.ArgumentCaptor;
 import org.mockito.invocation.InvocationOnMock;
index 651c7d2028591693e76dc7a4c508d779d1803068..0ab6b57a4bbdd0e0b3c93f4f1f0cf2184918b808 100644 (file)
@@ -13,10 +13,10 @@ import static org.junit.Assert.assertTrue;
 import static org.mockito.Mockito.when;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.assertOperationThrowsException;
 
-import akka.testkit.TestProbe;
 import com.google.common.base.Ticker;
 import com.google.common.base.VerifyException;
 import java.util.Optional;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.commands.AbortLocalTransactionRequest;
 import org.opendaylight.controller.cluster.access.commands.ModifyTransactionRequest;
index ad772d0703e25ceac187fd062362b2c06c6ef9cd..b02b22236ebb3fe5179758896d1e7fd9046aee1f 100644 (file)
@@ -17,11 +17,11 @@ import static org.mockito.Mockito.when;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.assertFutureEquals;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.assertOperationThrowsException;
 
-import akka.testkit.TestProbe;
 import com.google.common.base.Ticker;
 import com.google.common.util.concurrent.ListenableFuture;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.Test;
 import org.mockito.Mock;
 import org.opendaylight.controller.cluster.access.commands.AbortLocalTransactionRequest;
index 6ef398c78bb3a390520d03e930537eecb64868f1..5cb65d527118893b7f126b99e6c77e0f7b301be1 100644 (file)
@@ -15,18 +15,18 @@ import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Status;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.List;
 import java.util.concurrent.CompletionStage;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 41847973fb04f6532b6b9d25dbbc3cf38eee86e9..f4f4dd3a5deb5115965508886de60c7dd612c6ac 100644 (file)
@@ -14,11 +14,11 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertEquals;
 import static org.opendaylight.controller.cluster.databroker.actors.dds.TestUtils.assertFutureEquals;
 
-import akka.testkit.TestProbe;
 import com.google.common.util.concurrent.FluentFuture;
 import com.google.common.util.concurrent.ListenableFuture;
 import java.util.List;
 import java.util.Optional;
+import org.apache.pekko.testkit.TestProbe;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.commands.ExistsTransactionRequest;
 import org.opendaylight.controller.cluster.access.commands.ExistsTransactionSuccess;
index 1d68e979dbd5b25bc681de38555e34c1e194e0ef..7ccd4695855fb32bb0cefbc8d1be2e77050ce64c 100644 (file)
@@ -13,9 +13,9 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertThrows;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorSystem;
-import akka.testkit.TestProbe;
-import akka.testkit.javadsl.TestKit;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.TestProbe;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index f9fb3b830d1b5eb53401b66c6d99efad6e3d53c0..c9fe3cc056104a45fdaa4ae3d8c92c883a8c1cff 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.databroker.actors.dds;
 
-import akka.actor.ActorRef;
-import akka.testkit.TestProbe;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.testkit.TestProbe;
 import org.eclipse.jdt.annotation.NonNull;
 import org.junit.Assert;
 import org.opendaylight.controller.cluster.access.ABIVersion;
index 61abb2cba68926b8d51ae424b89c4462433c22fb..08f0afe6185d2e03126e97637d684f5f3db73a55 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 
index 95b4499a7b9536f9e2d00068f516dd06fe24d2d9..07b3ecec41ee14faf7ce27cc2a84a6b75651f389 100644 (file)
@@ -8,9 +8,9 @@
 
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 
index 9f19ca045d6144639ecdcfb19da7301013036775..8bc9a2dafaf08924a4ac1b729333c9331ede6f38 100644 (file)
@@ -20,7 +20,6 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorSystem;
 import com.google.common.base.Throwables;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.util.concurrent.FluentFuture;
@@ -38,6 +37,7 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicReference;
+import org.apache.pekko.actor.ActorSystem;
 import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runners.Parameterized.Parameter;
index ab95f7028a998598cfce153dba8031e66a4cc0d5..73dfeec0f2a6d0e479db93ce5b938f7039b51732 100644 (file)
@@ -21,14 +21,6 @@ import static org.opendaylight.controller.cluster.datastore.ShardDataTreeMocking
 import static org.opendaylight.controller.cluster.datastore.ShardDataTreeMocking.successfulCommit;
 import static org.opendaylight.controller.cluster.datastore.ShardDataTreeMocking.successfulPreCommit;
 
-import akka.actor.ActorRef;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.dispatch.Dispatchers;
-import akka.japi.Creator;
-import akka.pattern.Patterns;
-import akka.testkit.TestActorRef;
-import akka.util.Timeout;
 import com.google.common.primitives.UnsignedLong;
 import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -44,6 +36,14 @@ import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
 import java.util.concurrent.atomic.AtomicInteger;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.japi.Creator;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
index 67987c3e37bb147b6e56d04165035f06d93923f8..052a5479e61bdc5f8f5d98fd083f64f6f80c7035 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.cluster.datastore;
 
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.concurrent.CompletionStage;
 import java.util.concurrent.atomic.AtomicLong;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
 import org.opendaylight.controller.cluster.access.concepts.FrontendIdentifier;
index 9ce9cc743bc1596bf3237496871af0907b8c0b11..078e09137f4584602f2593d6bfd04f261362d1ae 100644 (file)
@@ -15,12 +15,12 @@ import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
 import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.TEST_PATH;
 
-import akka.actor.ActorRef;
-import akka.actor.DeadLetter;
-import akka.actor.Props;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableList;
 import java.time.Duration;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.DeadLetter;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.datastore.messages.DataTreeChanged;
index b0d38fba4750567b074aaff1ac56e4b7a483a3f1..7f98907bba7ed471cd9aabe67044025f50906c0a 100644 (file)
@@ -17,14 +17,6 @@ import static org.mockito.Mockito.doNothing;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.actor.Terminated;
-import akka.dispatch.ExecutionContexts;
-import akka.dispatch.Futures;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.util.concurrent.MoreExecutors;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.time.Duration;
@@ -33,6 +25,14 @@ import java.util.Map.Entry;
 import java.util.concurrent.Executor;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.dispatch.ExecutionContexts;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.junit.Test;
 import org.mockito.ArgumentCaptor;
index 88653642d26d423188fd41309714c36fdbe498e1..29042a4457b460e5dc8e7c891e235619d66f7115 100644 (file)
@@ -20,16 +20,16 @@ import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.o
 import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.outerNodeEntry;
 import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.testNodeWithOuter;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.pattern.Patterns;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import java.time.Duration;
 import java.util.AbstractMap.SimpleEntry;
 import java.util.Map.Entry;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index c0dc0ce96e94ea05bb25bb77211be492935a7d11..b1c041fcfa83ef6746beca25b7b20b6fa9b60717 100644 (file)
@@ -16,9 +16,6 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.util.concurrent.FluentFuture;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -27,6 +24,9 @@ import java.util.Collection;
 import java.util.concurrent.Executor;
 import java.util.concurrent.Executors;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 9ccca257bbfaae4c41c4a033dc368fc474fed627..571044e4abb719908afe69cbfb235c5db3fe1bcd 100644 (file)
@@ -19,17 +19,17 @@ import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.AddressFromURIString;
-import akka.cluster.Cluster;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Throwables;
 import com.google.common.util.concurrent.FluentFuture;
 import com.typesafe.config.ConfigFactory;
 import java.util.Collection;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Ignore;
@@ -75,7 +75,7 @@ public class DataTreeCohortIntegrationTest {
     @BeforeClass
     public static void setUpClass() {
         system = ActorSystem.create("cluster-test", ConfigFactory.load().getConfig("Member1"));
-        final Address member1Address = AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558");
+        final Address member1Address = AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558");
         Cluster.get(system).join(member1Address);
     }
 
index 6815b2d367a96a7bcdba3b94ca927e133d7b9cd6..09be93cd6b3441a9eb52f0df1f91cecde3e4effe 100644 (file)
@@ -13,11 +13,6 @@ import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.AddressFromURIString;
-import akka.cluster.Cluster;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Throwables;
 import com.google.common.util.concurrent.FluentFuture;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -29,6 +24,11 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicReference;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -64,7 +64,7 @@ public class DistributedDataStoreIntegrationTest extends AbstractDistributedData
         InMemorySnapshotStore.clear();
         InMemoryJournal.clear();
         system = ActorSystem.create("cluster-test", ConfigFactory.load().getConfig("Member1"));
-        Address member1Address = AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558");
+        Address member1Address = AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558");
         Cluster.get(system).join(member1Address);
     }
 
index 91c00f7eb153c04a6fc64f6782a7349dab80e2f3..9cdacf9bacb8a363ece5251d87d898642cfd79ac 100644 (file)
@@ -25,16 +25,6 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.AddressFromURIString;
-import akka.cluster.Cluster;
-import akka.cluster.Member;
-import akka.dispatch.Futures;
-import akka.pattern.Patterns;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Stopwatch;
 import com.google.common.base.Throwables;
 import com.google.common.collect.ImmutableMap;
@@ -56,6 +46,16 @@ import java.util.concurrent.Executors;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.concurrent.atomic.AtomicLong;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -154,9 +154,9 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest {
     private static final String[] CARS = {"cars"};
 
     private static final Address MEMBER_1_ADDRESS = AddressFromURIString.parse(
-            "akka://cluster-test@127.0.0.1:2558");
+            "pekko://cluster-test@127.0.0.1:2558");
     private static final Address MEMBER_2_ADDRESS = AddressFromURIString.parse(
-            "akka://cluster-test@127.0.0.1:2559");
+            "pekko://cluster-test@127.0.0.1:2559");
 
     private static final String MODULE_SHARDS_CARS_ONLY_1_2 = "module-shards-cars-member-1-and-2.conf";
     private static final String MODULE_SHARDS_CARS_PEOPLE_1_2 = "module-shards-member1-and-2.conf";
@@ -747,8 +747,9 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest {
 
         carsFollowerShard.orElseThrow().tell(readyLocal, followerTestKit.getRef());
         Object resp = followerTestKit.expectMsgClass(Object.class);
-        if (resp instanceof akka.actor.Status.Failure) {
-            throw new AssertionError("Unexpected failure response", ((akka.actor.Status.Failure)resp).cause());
+        if (resp instanceof org.apache.pekko.actor.Status.Failure) {
+            throw new AssertionError("Unexpected failure response",
+                ((org.apache.pekko.actor.Status.Failure)resp).cause());
         }
 
         assertEquals("Response type", CommitTransactionReply.class, resp.getClass());
@@ -766,8 +767,9 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest {
 
         carsFollowerShard.orElseThrow().tell(readyLocal, followerTestKit.getRef());
         resp = followerTestKit.expectMsgClass(Object.class);
-        if (resp instanceof akka.actor.Status.Failure) {
-            throw new AssertionError("Unexpected failure response", ((akka.actor.Status.Failure)resp).cause());
+        if (resp instanceof org.apache.pekko.actor.Status.Failure) {
+            throw new AssertionError("Unexpected failure response",
+                ((org.apache.pekko.actor.Status.Failure)resp).cause());
         }
 
         assertEquals("Response type", ReadyTransactionReply.class, resp.getClass());
@@ -812,8 +814,9 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest {
 
         carsFollowerShard.orElseThrow().tell(forwardedReady, followerTestKit.getRef());
         Object resp = followerTestKit.expectMsgClass(Object.class);
-        if (resp instanceof akka.actor.Status.Failure) {
-            throw new AssertionError("Unexpected failure response", ((akka.actor.Status.Failure)resp).cause());
+        if (resp instanceof org.apache.pekko.actor.Status.Failure) {
+            throw new AssertionError("Unexpected failure response",
+                ((org.apache.pekko.actor.Status.Failure)resp).cause());
         }
 
         assertEquals("Response type", CommitTransactionReply.class, resp.getClass());
@@ -832,8 +835,9 @@ public class DistributedDataStoreRemotingIntegrationTest extends AbstractTest {
 
         carsFollowerShard.orElseThrow().tell(forwardedReady, followerTestKit.getRef());
         resp = followerTestKit.expectMsgClass(Object.class);
-        if (resp instanceof akka.actor.Status.Failure) {
-            throw new AssertionError("Unexpected failure response", ((akka.actor.Status.Failure)resp).cause());
+        if (resp instanceof org.apache.pekko.actor.Status.Failure) {
+            throw new AssertionError("Unexpected failure response",
+                ((org.apache.pekko.actor.Status.Failure)resp).cause());
         }
 
         assertEquals("Response type", ReadyTransactionReply.class, resp.getClass());
index b5fcc951aa87527387623b841e201faf7847de0f..e38c0c99ced306c9a57609e3ec0eb88f887dfe3d 100644 (file)
@@ -11,11 +11,6 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 import static org.opendaylight.controller.md.cluster.datastore.model.CarsModel.CAR_QNAME;
 
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.AddressFromURIString;
-import akka.cluster.Cluster;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.Uninterruptibles;
 import com.typesafe.config.ConfigFactory;
@@ -27,6 +22,11 @@ import java.util.Optional;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 import org.apache.commons.io.FileUtils;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -66,7 +66,7 @@ public class DistributedDataStoreWithSegmentedJournalIntegrationTest
                 ConfigFactory.load("segmented.conf").getConfig("Member1"));
         cleanSnapshotDir(system);
 
-        Address member1Address = AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558");
+        Address member1Address = AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558");
         Cluster.get(system).join(member1Address);
     }
 
@@ -78,7 +78,7 @@ public class DistributedDataStoreWithSegmentedJournalIntegrationTest
 
     private static void cleanSnapshotDir(final ActorSystem system) {
         File journalDir = new File(system.settings().config()
-                .getString("akka.persistence.journal.segmented-file.root-directory"));
+                .getString("pekko.persistence.journal.segmented-file.root-directory"));
 
         if (!journalDir.exists()) {
             return;
index 4c56c472e418589b371c039747d0ed0f1d4bed5b..fa5b2241f66010b96da748d073864c294de31d04 100644 (file)
@@ -10,8 +10,8 @@ package org.opendaylight.controller.cluster.datastore;
 import static org.junit.Assert.assertSame;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
 import java.util.List;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.datastore.messages.DataTreeChanged;
 import org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor;
index c28ec44aa834cbccb496c5ffc25f4bf2a3ec0243..87a01db5bccea61681b42eefa8a8258d96fcb7a3 100644 (file)
@@ -19,8 +19,8 @@ import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 import static org.mockito.Mockito.when;
 
-import akka.actor.ActorRef;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.commands.ModifyTransactionRequestBuilder;
index 63e9ba72a74fb2606477d6a9caabe44ad7975abf..a726cb26887deae8c5543bf7af8baa6f0a083409 100644 (file)
@@ -15,12 +15,6 @@ import static org.mockito.ArgumentMatchers.anyString;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent.CurrentClusterState;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
 import com.google.common.base.Stopwatch;
 import com.google.common.collect.Sets;
 import com.google.common.util.concurrent.ListenableFuture;
@@ -29,6 +23,12 @@ import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent.CurrentClusterState;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
 import org.opendaylight.controller.cluster.databroker.ClientBackedDataStore;
 import org.opendaylight.controller.cluster.datastore.DatastoreContext.Builder;
 import org.opendaylight.controller.cluster.datastore.config.Configuration;
index 4466493857fa9d1e85f5470b45f56260fe756270..2f471594ae763b3409f8e81deb2b7a2e7bfd51bd 100644 (file)
@@ -11,13 +11,6 @@ import static java.util.Objects.requireNonNull;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.fail;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.AddressFromURIString;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent.CurrentClusterState;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
 import com.google.common.base.Stopwatch;
 import com.google.common.util.concurrent.Uninterruptibles;
 import com.typesafe.config.Config;
@@ -27,6 +20,13 @@ import java.util.List;
 import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent.CurrentClusterState;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.databroker.ClientBackedDataStore;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
@@ -49,7 +49,7 @@ import scala.concurrent.duration.FiniteDuration;
  * @author Thomas Pantelis
  */
 public class MemberNode {
-    private static final String MEMBER_1_ADDRESS = "akka://cluster-test@127.0.0.1:2558";
+    private static final String MEMBER_1_ADDRESS = "pekko://cluster-test@127.0.0.1:2558";
 
     private IntegrationTestKit kit;
     private ClientBackedDataStore configDataStore;
@@ -301,7 +301,7 @@ public class MemberNode {
             }
 
             ActorSystem system = ActorSystem.create("cluster-test", config);
-            String member1Address = useAkkaArtery ? MEMBER_1_ADDRESS : MEMBER_1_ADDRESS.replace("akka", "akka.tcp");
+            String member1Address = useAkkaArtery ? MEMBER_1_ADDRESS : MEMBER_1_ADDRESS.replace("pekko", "pekko.tcp");
             Cluster.get(system).join(AddressFromURIString.parse(member1Address));
 
             node.kit = new IntegrationTestKit(system, datastoreContextBuilder);
index be2ba8ce7153b0fb435ea06a9dfb0b53cc121759..9db3e744b360a1663ecb53d7596f5abfa33c192e 100644 (file)
@@ -12,9 +12,9 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 
-import akka.actor.ActorRef;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.notifications.LeaderStateChanged;
index 1b5cc255f6a0bc80d7228cbfaf507ddcf0480b66..ebcca869f566d0fb94a7f8e56cac148a3d72ae16 100644 (file)
@@ -14,12 +14,12 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorSelection;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableList;
 import java.time.Duration;
 import java.util.List;
 import java.util.Set;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.datastore.config.Configuration;
 import org.opendaylight.controller.cluster.datastore.exceptions.NotInitializedException;
index 0b5295584eca4b0100630d641e5a15edbb8a1cc1..8d192498c74d32904a31aec50439847740147ddf 100644 (file)
@@ -23,12 +23,12 @@ import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.o
 import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.outerMapNode;
 import static org.opendaylight.controller.md.cluster.datastore.model.TestModel.outerNode;
 
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableSortedSet;
 import java.time.Duration;
 import java.util.SortedSet;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
index e0db8543f6b6a96beb697f1968f4bf9cd44acfd7..262c181823964d10f418b631e4c9890f912a20cd 100644 (file)
@@ -23,17 +23,6 @@ import static org.mockito.Mockito.inOrder;
 import static org.mockito.Mockito.mock;
 import static org.opendaylight.controller.cluster.datastore.DataStoreVersions.CURRENT_VERSION;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.Props;
-import akka.actor.Status.Failure;
-import akka.dispatch.Dispatchers;
-import akka.dispatch.OnComplete;
-import akka.japi.Creator;
-import akka.pattern.Patterns;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.testkit.TestActorRef;
-import akka.util.Timeout;
 import com.google.common.base.Stopwatch;
 import com.google.common.base.Throwables;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -47,6 +36,17 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.concurrent.atomic.AtomicReference;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.japi.Creator;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.util.Timeout;
 import org.junit.Test;
 import org.mockito.InOrder;
 import org.opendaylight.controller.cluster.DataPersistenceProvider;
@@ -148,7 +148,7 @@ public class ShardTest extends AbstractShardTest {
             RegisterDataTreeNotificationListenerReply.class);
         final String replyPath = reply.getListenerRegistrationPath().toString();
         assertTrue("Incorrect reply path: " + replyPath,
-            replyPath.matches("akka:\\/\\/test\\/user\\/testRegisterDataTreeChangeListener\\/\\$.*"));
+            replyPath.matches("pekko:\\/\\/test\\/user\\/testRegisterDataTreeChangeListener\\/\\$.*"));
 
         final YangInstanceIdentifier path = TestModel.TEST_PATH;
         writeToStore(shard, path, ImmutableNodes.containerNode(TestModel.TEST_QNAME));
@@ -276,7 +276,7 @@ public class ShardTest extends AbstractShardTest {
             .peerAddresses(Collections.<String, String>singletonMap(peerID.toString(), null))
             .props().withDispatcher(Dispatchers.DefaultDispatcherId()), "testPeerAddressResolved");
 
-        final String address = "akka://foobar";
+        final String address = "pekko://foobar";
         shard.tell(new PeerAddressResolved(peerID.toString(), address), ActorRef.noSender());
 
         shard.tell(GetOnDemandRaftState.INSTANCE, testKit.getRef());
@@ -485,7 +485,7 @@ public class ShardTest extends AbstractShardTest {
         final ReadyTransactionReply readyReply = ReadyTransactionReply
                 .fromSerializable(testKit.expectMsgClass(duration, ReadyTransactionReply.class));
 
-        String pathSuffix = shard.path().toString().replaceFirst("akka://test", "");
+        String pathSuffix = shard.path().toString().replaceFirst("pekko://test", "");
         assertThat(readyReply.getCohortPath(), endsWith(pathSuffix));
         // Send the CanCommitTransaction message for the first Tx.
 
@@ -697,7 +697,7 @@ public class ShardTest extends AbstractShardTest {
         BatchedModifications batched = new BatchedModifications(transactionID, CURRENT_VERSION);
         batched.addModification(new MergeModification(TestModel.TEST_PATH, invalidData));
         shard.tell(batched, testKit.getRef());
-        Failure failure = testKit.expectMsgClass(Duration.ofSeconds(5), akka.actor.Status.Failure.class);
+        Failure failure = testKit.expectMsgClass(Duration.ofSeconds(5), org.apache.pekko.actor.Status.Failure.class);
 
         final Throwable cause = failure.cause();
 
@@ -707,7 +707,7 @@ public class ShardTest extends AbstractShardTest {
 
         shard.tell(batched, testKit.getRef());
 
-        failure = testKit.expectMsgClass(Duration.ofSeconds(5), akka.actor.Status.Failure.class);
+        failure = testKit.expectMsgClass(Duration.ofSeconds(5), org.apache.pekko.actor.Status.Failure.class);
         assertEquals("Failure cause", cause, failure.cause());
     }
 
@@ -1091,7 +1091,7 @@ public class ShardTest extends AbstractShardTest {
         // and trigger the 2nd Tx to proceed.
 
         shard.tell(new CommitTransaction(transactionID1, CURRENT_VERSION).toSerializable(), testKit.getRef());
-        testKit.expectMsgClass(duration, akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 
         // Wait for the 2nd Tx to complete the canCommit phase.
 
@@ -1161,7 +1161,7 @@ public class ShardTest extends AbstractShardTest {
         // and trigger the 2nd Tx to proceed.
 
         shard.tell(new CommitTransaction(transactionID1, CURRENT_VERSION).toSerializable(), testKit.getRef());
-        testKit.expectMsgClass(duration, akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 
         // Wait for the 2nd Tx to complete the canCommit phase.
 
@@ -1204,7 +1204,7 @@ public class ShardTest extends AbstractShardTest {
         // Send the CanCommitTransaction message.
 
         shard.tell(new CanCommitTransaction(transactionID1, CURRENT_VERSION).toSerializable(), testKit.getRef());
-        testKit.expectMsgClass(duration, akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 
         // Send another can commit to ensure the failed one got cleaned
         // up.
@@ -1250,7 +1250,7 @@ public class ShardTest extends AbstractShardTest {
                 ImmutableNodes.containerNode(TestModel.TEST_QNAME), true), testKit.getRef());
         }
 
-        testKit.expectMsgClass(duration, akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 
         // Send another can commit to ensure the failed one got cleaned
         // up.
@@ -1364,7 +1364,7 @@ public class ShardTest extends AbstractShardTest {
         // current Tx.
 
         shard.tell(new CommitTransaction(transactionID1, CURRENT_VERSION).toSerializable(), testKit.getRef());
-        testKit.expectMsgClass(duration, akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 
         // Commit the 2nd Tx.
 
@@ -1424,7 +1424,7 @@ public class ShardTest extends AbstractShardTest {
 //
 //            shard.tell(prepareReadyTransactionMessage(false, shard.underlyingActor(), cohort3, transactionID3,
 //                    modification3), getRef());
-//            expectMsgClass(duration, akka.actor.Status.Failure.class);
+//            expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 //
 //            // canCommit 1st Tx.
 //
@@ -1438,7 +1438,7 @@ public class ShardTest extends AbstractShardTest {
 //            // canCommit the 3rd Tx - should exceed queue capacity and fail.
 //
 //            shard.tell(new CanCommitTransaction(transactionID3, CURRENT_VERSION).toSerializable(), getRef());
-//            expectMsgClass(duration, akka.actor.Status.Failure.class);
+//            expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class);
 //        }};
 //    }
 
@@ -1543,7 +1543,7 @@ public class ShardTest extends AbstractShardTest {
             "testCanCommitBeforeReadyFailure");
 
         shard.tell(new CanCommitTransaction(nextTransactionId(), CURRENT_VERSION).toSerializable(), testKit.getRef());
-        testKit.expectMsgClass(Duration.ofSeconds(5), akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(Duration.ofSeconds(5), org.apache.pekko.actor.Status.Failure.class);
     }
 
     @Test
@@ -1625,7 +1625,7 @@ public class ShardTest extends AbstractShardTest {
         // Now send CanCommitTransaction - should fail.
 
         shard.tell(new CanCommitTransaction(transactionID1, CURRENT_VERSION).toSerializable(), testKit.getRef());
-        final Throwable failure = testKit.expectMsgClass(duration, akka.actor.Status.Failure.class).cause();
+        final Throwable failure = testKit.expectMsgClass(duration, org.apache.pekko.actor.Status.Failure.class).cause();
         assertTrue("Failure type", failure instanceof IllegalStateException);
 
         // Ready and CanCommit another and verify success.
@@ -1973,14 +1973,14 @@ public class ShardTest extends AbstractShardTest {
                 .createTestActor(Shard.builder().id(followerShardID)
                     .datastoreContext(dataStoreContextBuilder.shardElectionTimeoutFactor(1000).build())
                     .peerAddresses(Collections.singletonMap(leaderShardID.toString(),
-                        "akka://test/user/" + leaderShardID.toString()))
+                        "pekko://test/user/" + leaderShardID.toString()))
                     .schemaContextProvider(() -> SCHEMA_CONTEXT).props()
                     .withDispatcher(Dispatchers.DefaultDispatcherId()), followerShardID.toString());
 
         final TestActorRef<Shard> leaderShard = actorFactory
                 .createTestActor(Shard.builder().id(leaderShardID).datastoreContext(newDatastoreContext())
                     .peerAddresses(Collections.singletonMap(followerShardID.toString(),
-                        "akka://test/user/" + followerShardID.toString()))
+                        "pekko://test/user/" + followerShardID.toString()))
                     .schemaContextProvider(() -> SCHEMA_CONTEXT).props()
                     .withDispatcher(Dispatchers.DefaultDispatcherId()), leaderShardID.toString());
 
index 515c0b5b92bd47af4df09dfcd6e60cb2e6093f38..e860064bb2569dadca617f1aff801a82395c36d2 100644 (file)
@@ -10,15 +10,15 @@ package org.opendaylight.controller.cluster.datastore;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.fail;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.pattern.Patterns;
-import akka.testkit.javadsl.EventFilter;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.util.concurrent.Uninterruptibles;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.testkit.javadsl.EventFilter;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.raft.client.messages.FindLeader;
 import org.opendaylight.controller.cluster.raft.client.messages.FindLeaderReply;
 import org.slf4j.Logger;
index 7a96f263c66a12de3c45179657667834bdb8d69c..813492b780509522a170dab5cafba14003f57837 100644 (file)
@@ -10,10 +10,10 @@ package org.opendaylight.controller.cluster.datastore;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.testkit.TestActorRef;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
@@ -73,13 +73,13 @@ public class ShardTransactionFailureTest extends AbstractActorTest {
         final TestActorRef<ShardTransaction> subject = TestActorRef.create(getSystem(), props,
                 "testNegativeReadWithReadOnlyTransactionClosed");
 
-        Future<Object> future = akka.pattern.Patterns.ask(subject,
+        Future<Object> future = org.apache.pekko.pattern.Patterns.ask(subject,
                 new ReadData(YangInstanceIdentifier.of(), DataStoreVersions.CURRENT_VERSION), 3000);
         Await.result(future, FiniteDuration.create(3, TimeUnit.SECONDS));
 
         subject.underlyingActor().getDOMStoreTransaction().abortFromTransactionActor();
 
-        future = akka.pattern.Patterns.ask(subject, new ReadData(YangInstanceIdentifier.of(),
+        future = org.apache.pekko.pattern.Patterns.ask(subject, new ReadData(YangInstanceIdentifier.of(),
                 DataStoreVersions.CURRENT_VERSION), 3000);
         Await.result(future, FiniteDuration.create(3, TimeUnit.SECONDS));
     }
@@ -95,13 +95,13 @@ public class ShardTransactionFailureTest extends AbstractActorTest {
         final TestActorRef<ShardTransaction> subject = TestActorRef.create(getSystem(), props,
                 "testNegativeReadWithReadWriteTransactionClosed");
 
-        Future<Object> future = akka.pattern.Patterns.ask(subject,
+        Future<Object> future = org.apache.pekko.pattern.Patterns.ask(subject,
                 new ReadData(YangInstanceIdentifier.of(), DataStoreVersions.CURRENT_VERSION), 3000);
         Await.result(future, FiniteDuration.create(3, TimeUnit.SECONDS));
 
         subject.underlyingActor().getDOMStoreTransaction().abortFromTransactionActor();
 
-        future = akka.pattern.Patterns.ask(subject, new ReadData(YangInstanceIdentifier.of(),
+        future = org.apache.pekko.pattern.Patterns.ask(subject, new ReadData(YangInstanceIdentifier.of(),
                 DataStoreVersions.CURRENT_VERSION), 3000);
         Await.result(future, FiniteDuration.create(3, TimeUnit.SECONDS));
     }
@@ -116,13 +116,13 @@ public class ShardTransactionFailureTest extends AbstractActorTest {
         final TestActorRef<ShardTransaction> subject = TestActorRef.create(getSystem(), props,
                 "testNegativeExistsWithReadWriteTransactionClosed");
 
-        Future<Object> future = akka.pattern.Patterns.ask(subject,
+        Future<Object> future = org.apache.pekko.pattern.Patterns.ask(subject,
                 new DataExists(YangInstanceIdentifier.of(), DataStoreVersions.CURRENT_VERSION), 3000);
         Await.result(future, FiniteDuration.create(3, TimeUnit.SECONDS));
 
         subject.underlyingActor().getDOMStoreTransaction().abortFromTransactionActor();
 
-        future = akka.pattern.Patterns.ask(subject,
+        future = org.apache.pekko.pattern.Patterns.ask(subject,
                 new DataExists(YangInstanceIdentifier.of(), DataStoreVersions.CURRENT_VERSION), 3000);
         Await.result(future, FiniteDuration.create(3, TimeUnit.SECONDS));
     }
index d80a5d1fc04b260f6907467ed365d4bb13b94e22..b78bbdb6684fc482332c469659c12062489db9dd 100644 (file)
@@ -16,16 +16,16 @@ import static org.mockito.Mockito.doThrow;
 import static org.mockito.Mockito.inOrder;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.actor.Status.Failure;
-import akka.actor.Terminated;
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Throwables;
 import java.time.Duration;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.InOrder;
@@ -278,14 +278,14 @@ public class ShardTransactionTest extends AbstractActorTest {
         batched.addModification(new WriteModification(path, node));
 
         transaction.tell(batched, testKit.getRef());
-        testKit.expectMsgClass(Duration.ofSeconds(5), akka.actor.Status.Failure.class);
+        testKit.expectMsgClass(Duration.ofSeconds(5), org.apache.pekko.actor.Status.Failure.class);
 
         batched = new BatchedModifications(tx1, DataStoreVersions.CURRENT_VERSION);
         batched.setReady();
         batched.setTotalMessagesSent(2);
 
         transaction.tell(batched, testKit.getRef());
-        Failure failure = testKit.expectMsgClass(Duration.ofSeconds(5), akka.actor.Status.Failure.class);
+        Failure failure = testKit.expectMsgClass(Duration.ofSeconds(5), org.apache.pekko.actor.Status.Failure.class);
         watcher.expectMsgClass(Duration.ofSeconds(5), Terminated.class);
 
         if (failure != null) {
@@ -309,7 +309,7 @@ public class ShardTransactionTest extends AbstractActorTest {
 
         transaction.tell(batched, testKit.getRef());
 
-        Failure failure = testKit.expectMsgClass(Duration.ofSeconds(5), akka.actor.Status.Failure.class);
+        Failure failure = testKit.expectMsgClass(Duration.ofSeconds(5), org.apache.pekko.actor.Status.Failure.class);
         watcher.expectMsgClass(Duration.ofSeconds(5), Terminated.class);
 
         if (failure != null) {
index ea4ea34f0310f227c290960212026e6d989f5e07..63e05ff983e817e713d54b64f415b889c071f9ce 100644 (file)
@@ -10,8 +10,6 @@ package org.opendaylight.controller.cluster.datastore;
 import static com.google.common.base.Preconditions.checkState;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorSelection;
-import akka.dispatch.OnComplete;
 import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
@@ -22,6 +20,8 @@ import java.util.Iterator;
 import java.util.List;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.function.Supplier;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.dispatch.OnComplete;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.datastore.messages.AbortTransaction;
 import org.opendaylight.controller.cluster.datastore.messages.AbortTransactionReply;
@@ -248,7 +248,7 @@ final class ThreePhaseCommitCohortProxy implements DOMStoreThreePhaseCommitCohor
                     actorUtils.getTransactionCommitOperationTimeout()));
         }
 
-        return akka.dispatch.Futures.sequence(futureList, actorUtils.getClientDispatcher());
+        return org.apache.pekko.dispatch.Futures.sequence(futureList, actorUtils.getClientDispatcher());
     }
 
     @Override
index e2b3872d864bc9b1f9b542efe9a5596dfbb8e4dd..27c2cd17ce494ec8752c20785bb49abae1be688e 100644 (file)
@@ -16,12 +16,6 @@ import static org.junit.Assert.assertThrows;
 import static org.mockito.Mockito.lenient;
 import static org.opendaylight.controller.cluster.datastore.DataStoreVersions.CURRENT_VERSION;
 
-import akka.actor.ActorSelection;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
-import akka.dispatch.Dispatchers;
-import akka.dispatch.Futures;
-import akka.testkit.TestActorRef;
 import com.codahale.metrics.Snapshot;
 import com.codahale.metrics.Timer;
 import com.google.common.util.concurrent.ListenableFuture;
@@ -30,6 +24,12 @@ import java.util.List;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -328,7 +328,7 @@ public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest {
                 assertEquals(name + " transactionId", builder.transactionId, actualMessage.getTransactionId());
 
                 if (reply instanceof Throwable) {
-                    getSender().tell(new akka.actor.Status.Failure((Throwable)reply), self());
+                    getSender().tell(new org.apache.pekko.actor.Status.Failure((Throwable)reply), self());
                 } else {
                     getSender().tell(reply, self());
                 }
index 58616699e3a408e4c0bf7c01c19345bf0cef972b..e97fc334bd2559efee9c61588b92ab43e65c8f95 100644 (file)
@@ -11,9 +11,9 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorRef;
-import akka.testkit.javadsl.TestKit;
 import java.time.Duration;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
index 0a5c40d29d3ae6b96f5765bfd549e10aff177a70..fe92c80f6859aa21610832487cc8953a20f3d49a 100644 (file)
@@ -10,13 +10,13 @@ package org.opendaylight.controller.cluster.datastore.actors;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 
-import akka.actor.ActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.io.ByteSource;
 import java.io.ByteArrayOutputStream;
 import java.io.ObjectInputStream;
 import java.time.Duration;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.datastore.AbstractActorTest;
 import org.opendaylight.controller.cluster.datastore.persisted.MetadataShardDataTreeSnapshot;
index 2abb05d360a088fe2c206d1f55f2f20d51565a7e..4c47715ce3ac6dda664affff62c79636781ad908 100644 (file)
@@ -11,13 +11,13 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ExtendedActorSystem;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableSortedSet;
 import java.io.NotSerializableException;
 import java.util.List;
 import java.util.Optional;
 import java.util.SortedSet;
+import org.apache.pekko.actor.ExtendedActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier;
 import org.opendaylight.controller.cluster.datastore.AbstractTest;
index e68bfe43acce87d5e9cfbda731f794f4ead10891..0c6754d25a5a9c6d651915b820a29549c941a8d5 100644 (file)
@@ -9,16 +9,16 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.ActorRef;
-import akka.actor.Status.Failure;
-import akka.actor.Terminated;
-import akka.testkit.javadsl.TestKit;
 import java.time.Duration;
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.List;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.datastore.AbstractActorTest;
index 889f1d47e1f8c2c55437d28180e73b684d1629f1..0bf707803fae3e8630340e82768ce5ffb374498d 100644 (file)
@@ -23,26 +23,6 @@ import static org.mockito.Mockito.timeout;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.AddressFromURIString;
-import akka.actor.PoisonPill;
-import akka.actor.Props;
-import akka.actor.Status;
-import akka.actor.Status.Failure;
-import akka.actor.Status.Success;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent;
-import akka.cluster.Member;
-import akka.dispatch.Dispatchers;
-import akka.dispatch.OnComplete;
-import akka.japi.Creator;
-import akka.pattern.Patterns;
-import akka.persistence.RecoveryCompleted;
-import akka.serialization.Serialization;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.base.Stopwatch;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.Lists;
@@ -65,6 +45,26 @@ import java.util.concurrent.TimeoutException;
 import java.util.function.Consumer;
 import java.util.function.Function;
 import java.util.stream.Collectors;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status;
+import org.apache.pekko.actor.Status.Failure;
+import org.apache.pekko.actor.Status.Success;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.japi.Creator;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.serialization.Serialization;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
@@ -676,7 +676,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
         // Create an ActorSystem ShardManager actor for member-1.
 
         final ActorSystem system1 = newActorSystem("Member1");
-        Cluster.get(system1).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system1).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         final TestActorRef<TestShardManager> shardManager1 = TestActorRef.create(system1,
                 newTestShardMgrBuilderWithMockShardActor().cluster(
@@ -687,7 +687,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         final ActorSystem system2 = newActorSystem("Member2");
 
-        Cluster.get(system2).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system2).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         final ActorRef mockShardActor2 = newMockShardActor(system2, "astronauts", "member-2");
 
@@ -725,7 +725,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         // This part times out quite a bit on jenkins for some reason
 
-//                Cluster.get(system2).down(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+//                Cluster.get(system2).down(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 //
 //                shardManager1.underlyingActor().waitForMemberRemoved();
 //
@@ -744,7 +744,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
         // Create an ActorSystem ShardManager actor for member-1.
 
         final ActorSystem system1 = newActorSystem("Member1");
-        Cluster.get(system1).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system1).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         final ActorRef mockShardActor1 = newMockShardActor(system1, Shard.DEFAULT_NAME, "member-1");
 
@@ -757,7 +757,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         final ActorSystem system2 = newActorSystem("Member2");
 
-        Cluster.get(system2).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system2).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         final ActorRef mockShardActor2 = newMockShardActor(system2, Shard.DEFAULT_NAME, "member-2");
 
@@ -795,20 +795,20 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
         String path = found.getPrimaryPath();
         assertTrue("Unexpected primary path " + path, path.contains("member-2-shard-default-config"));
 
-        shardManager1.tell(MockClusterWrapper.createUnreachableMember("member-2", "akka://cluster-test@127.0.0.1:2558"),
-            kit.getRef());
+        shardManager1.tell(MockClusterWrapper.createUnreachableMember("member-2",
+            "pekko://cluster-test@127.0.0.1:2558"), kit.getRef());
 
         shardManager1.underlyingActor().waitForUnreachableMember();
         MessageCollectorActor.clearMessages(mockShardActor1);
 
-        shardManager1.tell(MockClusterWrapper.createMemberRemoved("member-2", "akka://cluster-test@127.0.0.1:2558"),
+        shardManager1.tell(MockClusterWrapper.createMemberRemoved("member-2", "pekko://cluster-test@127.0.0.1:2558"),
             kit.getRef());
 
         shardManager1.tell(new FindPrimary("default", true), kit.getRef());
 
         kit.expectMsgClass(Duration.ofSeconds(5), NoShardLeaderException.class);
 
-        shardManager1.tell(MockClusterWrapper.createReachableMember("member-2", "akka://cluster-test@127.0.0.1:2558"),
+        shardManager1.tell(MockClusterWrapper.createReachableMember("member-2", "pekko://cluster-test@127.0.0.1:2558"),
             kit.getRef());
 
         shardManager1.underlyingActor().waitForReachableMember();
@@ -819,19 +819,19 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
         String path1 = found1.getPrimaryPath();
         assertTrue("Unexpected primary path " + path1, path1.contains("member-2-shard-default-config"));
 
-        shardManager1.tell(MockClusterWrapper.createMemberUp("member-2", "akka://cluster-test@127.0.0.1:2558"),
+        shardManager1.tell(MockClusterWrapper.createMemberUp("member-2", "pekko://cluster-test@127.0.0.1:2558"),
             kit.getRef());
 
         // Test FindPrimary wait succeeds after reachable member event.
 
         shardManager1.tell(MockClusterWrapper.createUnreachableMember("member-2",
-                "akka://cluster-test@127.0.0.1:2558"), kit.getRef());
+                "pekko://cluster-test@127.0.0.1:2558"), kit.getRef());
         shardManager1.underlyingActor().waitForUnreachableMember();
 
         shardManager1.tell(new FindPrimary("default", true), kit.getRef());
 
         shardManager1.tell(
-            MockClusterWrapper.createReachableMember("member-2", "akka://cluster-test@127.0.0.1:2558"), kit.getRef());
+            MockClusterWrapper.createReachableMember("member-2", "pekko://cluster-test@127.0.0.1:2558"), kit.getRef());
 
         RemotePrimaryShardFound found2 = kit.expectMsgClass(Duration.ofSeconds(5), RemotePrimaryShardFound.class);
         String path2 = found2.getPrimaryPath();
@@ -848,7 +848,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
         // Create an ActorSystem ShardManager actor for member-1.
 
         final ActorSystem system1 = newActorSystem("Member1");
-        Cluster.get(system1).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system1).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         final ActorRef mockShardActor1 = newMockShardActor(system1, Shard.DEFAULT_NAME, "member-1");
 
@@ -863,7 +863,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         final ActorSystem system2 = newActorSystem("Member2");
 
-        Cluster.get(system2).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system2).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         final ActorRef mockShardActor2 = newMockShardActor(system2, Shard.DEFAULT_NAME, "member-2");
 
@@ -905,7 +905,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
             system1.actorSelection(mockShardActor1.path()), DataStoreVersions.CURRENT_VERSION));
 
         shardManager1.tell(MockClusterWrapper.createUnreachableMember("member-2",
-                "akka://cluster-test@127.0.0.1:2558"), kit.getRef());
+                "pekko://cluster-test@127.0.0.1:2558"), kit.getRef());
 
         shardManager1.underlyingActor().waitForUnreachableMember();
 
@@ -943,7 +943,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         final ActorSystem system256 = newActorSystem("Member256");
         // 2562 is the tcp port of Member256 in src/test/resources/application.conf.
-        Cluster.get(system256).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2562"));
+        Cluster.get(system256).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2562"));
 
         final ActorRef mockShardActor256 = newMockShardActor(system256, Shard.DEFAULT_NAME, "member-256");
 
@@ -962,7 +962,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
         final ActorSystem system2 = newActorSystem("Member2");
 
         // Join member-2 into the cluster of member-256.
-        Cluster.get(system2).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2562"));
+        Cluster.get(system2).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2562"));
 
         final ActorRef mockShardActor2 = newMockShardActor(system2, Shard.DEFAULT_NAME, "member-2");
 
@@ -1004,7 +1004,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         // Simulate member-2 become unreachable.
         shardManager256.tell(MockClusterWrapper.createUnreachableMember("member-2",
-                "akka://cluster-test@127.0.0.1:2558"), kit256.getRef());
+                "pekko://cluster-test@127.0.0.1:2558"), kit256.getRef());
         shardManager256.underlyingActor().waitForUnreachableMember();
 
         // Make sure leader shard on member-256 is still leader and still in the cache.
@@ -1502,7 +1502,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         // Create an ActorSystem ShardManager actor for member-1.
         final ActorSystem system1 = newActorSystem("Member1");
-        Cluster.get(system1).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system1).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
         ActorRef mockDefaultShardActor = newMockShardActor(system1, Shard.DEFAULT_NAME, "member-1");
         final TestActorRef<TestShardManager> newReplicaShardManager = TestActorRef.create(system1,
                 newTestShardMgrBuilder(mockConfig).shardActor(mockDefaultShardActor)
@@ -1512,7 +1512,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         // Create an ActorSystem ShardManager actor for member-2.
         final ActorSystem system2 = newActorSystem("Member2");
-        Cluster.get(system2).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system2).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         String memberId2 = "member-2-shard-astronauts-" + shardMrgIDSuffix;
         String name = ShardIdentifier.create("astronauts", MEMBER_2, "config").toString();
@@ -1720,7 +1720,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         newReplicaShardManager.tell(new UpdateSchemaContext(TEST_SCHEMA_CONTEXT), kit.getRef());
         MockClusterWrapper.sendMemberUp(newReplicaShardManager, "member-2",
-            AddressFromURIString.parse("akka://non-existent@127.0.0.1:5").toString());
+            AddressFromURIString.parse("pekko://non-existent@127.0.0.1:5").toString());
 
         newReplicaShardManager.tell(new AddShardReplica("astronauts"), kit.getRef());
         Status.Failure resp = kit.expectMsgClass(Duration.ofSeconds(5), Status.Failure.class);
@@ -1780,7 +1780,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         // Create an ActorSystem ShardManager actor for member-1.
         final ActorSystem system1 = newActorSystem("Member1");
-        Cluster.get(system1).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system1).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
         ActorRef mockDefaultShardActor = newMockShardActor(system1, Shard.DEFAULT_NAME, "member-1");
 
         final TestActorRef<TestShardManager> newReplicaShardManager = TestActorRef.create(system1,
@@ -1790,7 +1790,7 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
 
         // Create an ActorSystem ShardManager actor for member-2.
         final ActorSystem system2 = newActorSystem("Member2");
-        Cluster.get(system2).join(AddressFromURIString.parse("akka://cluster-test@127.0.0.1:2558"));
+        Cluster.get(system2).join(AddressFromURIString.parse("pekko://cluster-test@127.0.0.1:2558"));
 
         String name = ShardIdentifier.create("default", MEMBER_2, shardMrgIDSuffix).toString();
         String memberId2 = "member-2-shard-default-" + shardMrgIDSuffix;
@@ -1806,11 +1806,11 @@ public class ShardManagerTest extends AbstractClusterRefActorTest {
                 shardManagerID);
 
         // Because mockShardLeaderActor is created at the top level of the actor system it has an address like so,
-        //    akka://cluster-test@127.0.0.1:2559/user/member-2-shard-default-config1
+        //    pekko://cluster-test@127.0.0.1:2559/user/member-2-shard-default-config1
         // However when a shard manager has a local shard which is a follower and a leader that is remote it will
         // try to compute an address for the remote shard leader using the ShardPeerAddressResolver. This address will
         // look like so,
-        //    akka://cluster-test@127.0.0.1:2559/user/shardmanager-config1/member-2-shard-default-config1
+        //    pekko://cluster-test@127.0.0.1:2559/user/shardmanager-config1/member-2-shard-default-config1
         // In this specific case if we did a FindPrimary for shard default from member-1 we would come up
         // with the address of an actor which does not exist, therefore any message sent to that actor would go to
         // dead letters.
index e4482f5e25d0159b214bdf73206b70e3d8e42df2..390006f5ad150e38818ec0113bec49916b1e934d 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.cluster.datastore.shardmanager;
 
 import static org.junit.Assert.assertEquals;
 
-import akka.actor.Address;
 import com.google.common.collect.Sets;
 import java.util.Collection;
+import org.apache.pekko.actor.Address;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
@@ -87,7 +87,7 @@ public class ShardPeerAddressResolverTest {
 
         String peerId = ShardIdentifier.create("default", MEMBER_2, type).toString();
 
-        String address = "akka://opendaylight-cluster-data@127.0.0.1:2550/user/shardmanager-" + type
+        String address = "pekko://opendaylight-cluster-data@127.0.0.1:2550/user/shardmanager-" + type
                 + "/" + MEMBER_2.getName() + "-shard-default-" + type;
 
         resolver.setResolved(peerId, address);
index 337c4c95b9eacaadf5629de076abb0c4077c5c60..248706fb81fb94bebfb647c7907c72965c409af4 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.cluster.datastore.shardmanager;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
 import java.util.Map;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.datastore.DatastoreContext;
 import org.opendaylight.controller.cluster.datastore.TestShard;
 import org.opendaylight.controller.cluster.datastore.identifiers.ShardIdentifier;
index daef2143a2df5c88b893b72701499457001a391a..48f83c60808367b18c0be87aa71b6f4ab46bf378 100644 (file)
@@ -18,17 +18,6 @@ import static org.junit.Assert.fail;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
-import akka.dispatch.Futures;
-import akka.japi.Creator;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.collect.Sets;
 import com.typesafe.config.ConfigFactory;
 import java.time.Duration;
@@ -37,6 +26,17 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.japi.Creator;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.Assert;
 import org.junit.Test;
 import org.mockito.Mockito;
@@ -215,50 +215,50 @@ public class ActorUtilsTest extends AbstractActorTest {
         // even if the path is in local format, match the primary path (first 3 elements) and return true
         clusterWrapper.setSelfAddress(new Address("akka", "test"));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertTrue(actorUtils.isPathLocal("akka://test/user/$a"));
+        assertTrue(actorUtils.isPathLocal("pekko://test/user/$a"));
 
         clusterWrapper.setSelfAddress(new Address("akka", "test"));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertTrue(actorUtils.isPathLocal("akka://test/user/$a"));
+        assertTrue(actorUtils.isPathLocal("pekko://test/user/$a"));
 
         clusterWrapper.setSelfAddress(new Address("akka", "test"));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertTrue(actorUtils.isPathLocal("akka://test/user/token2/token3/$a"));
+        assertTrue(actorUtils.isPathLocal("pekko://test/user/token2/token3/$a"));
 
         // self address of remote format,but Tx path local format.
         clusterWrapper.setSelfAddress(new Address("akka", "system", "127.0.0.1", 2550));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertTrue(actorUtils.isPathLocal("akka://system/user/shardmanager/shard/transaction"));
+        assertTrue(actorUtils.isPathLocal("pekko://system/user/shardmanager/shard/transaction"));
 
         // self address of local format,but Tx path remote format.
         clusterWrapper.setSelfAddress(new Address("akka", "system"));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertFalse(actorUtils.isPathLocal("akka://system@127.0.0.1:2550/user/shardmanager/shard/transaction"));
+        assertFalse(actorUtils.isPathLocal("pekko://system@127.0.0.1:2550/user/shardmanager/shard/transaction"));
 
         //local path but not same
         clusterWrapper.setSelfAddress(new Address("akka", "test"));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertTrue(actorUtils.isPathLocal("akka://test1/user/$a"));
+        assertTrue(actorUtils.isPathLocal("pekko://test1/user/$a"));
 
         //ip and port same
         clusterWrapper.setSelfAddress(new Address("akka", "system", "127.0.0.1", 2550));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertTrue(actorUtils.isPathLocal("akka://system@127.0.0.1:2550/"));
+        assertTrue(actorUtils.isPathLocal("pekko://system@127.0.0.1:2550/"));
 
         // forward-slash missing in address
         clusterWrapper.setSelfAddress(new Address("akka", "system", "127.0.0.1", 2550));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertFalse(actorUtils.isPathLocal("akka://system@127.0.0.1:2550"));
+        assertFalse(actorUtils.isPathLocal("pekko://system@127.0.0.1:2550"));
 
         //ips differ
         clusterWrapper.setSelfAddress(new Address("akka", "system", "127.0.0.1", 2550));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertFalse(actorUtils.isPathLocal("akka://system@127.1.0.1:2550/"));
+        assertFalse(actorUtils.isPathLocal("pekko://system@127.1.0.1:2550/"));
 
         //ports differ
         clusterWrapper.setSelfAddress(new Address("akka", "system", "127.0.0.1", 2550));
         actorUtils = new ActorUtils(getSystem(), null, clusterWrapper, mock(Configuration.class));
-        assertFalse(actorUtils.isPathLocal("akka://system@127.0.0.1:2551/"));
+        assertFalse(actorUtils.isPathLocal("pekko://system@127.0.0.1:2551/"));
     }
 
     @Test
@@ -320,7 +320,7 @@ public class ActorUtilsTest extends AbstractActorTest {
                 .logicalStoreType(LogicalDatastoreType.CONFIGURATION)
                 .shardLeaderElectionTimeout(100, TimeUnit.MILLISECONDS).build();
 
-        final String expPrimaryPath = "akka://test-system/find-primary-shard";
+        final String expPrimaryPath = "pekko://test-system/find-primary-shard";
         final short expPrimaryVersion = DataStoreVersions.CURRENT_VERSION;
         ActorUtils actorUtils = new ActorUtils(getSystem(), shardManager, mock(ClusterWrapper.class),
                 mock(Configuration.class), dataStoreContext, new PrimaryShardInfoFutureCache()) {
@@ -362,7 +362,7 @@ public class ActorUtilsTest extends AbstractActorTest {
                 .shardLeaderElectionTimeout(100, TimeUnit.MILLISECONDS).build();
 
         final DataTree mockDataTree = Mockito.mock(DataTree.class);
-        final String expPrimaryPath = "akka://test-system/find-primary-shard";
+        final String expPrimaryPath = "pekko://test-system/find-primary-shard";
         ActorUtils actorUtils = new ActorUtils(getSystem(), shardManager, mock(ClusterWrapper.class),
                 mock(Configuration.class), dataStoreContext, new PrimaryShardInfoFutureCache()) {
             @Override
index 8e622b3d6b5c140c81520a220e55bc97eb186a49..d403338d966a51ea01f2c61b3499be08ece6b78a 100644 (file)
@@ -13,7 +13,7 @@ import static org.mockito.ArgumentMatchers.anyString;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.mock;
 
-import akka.dispatch.MessageDispatcher;
+import org.apache.pekko.dispatch.MessageDispatcher;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.common.actor.Dispatchers;
 
@@ -21,7 +21,7 @@ public class DispatchersTest {
 
     @Test
     public void testGetDefaultDispatcherPath() {
-        akka.dispatch.Dispatchers mockDispatchers = mock(akka.dispatch.Dispatchers.class);
+        org.apache.pekko.dispatch.Dispatchers mockDispatchers = mock(org.apache.pekko.dispatch.Dispatchers.class);
         doReturn(false).when(mockDispatchers).hasDispatcher(anyString());
         Dispatchers dispatchers = new Dispatchers(mockDispatchers);
 
@@ -34,7 +34,7 @@ public class DispatchersTest {
 
     @Test
     public void testGetDefaultDispatcher() {
-        akka.dispatch.Dispatchers mockDispatchers = mock(akka.dispatch.Dispatchers.class);
+        org.apache.pekko.dispatch.Dispatchers mockDispatchers = mock(org.apache.pekko.dispatch.Dispatchers.class);
         MessageDispatcher mockGlobalDispatcher = mock(MessageDispatcher.class);
         doReturn(false).when(mockDispatchers).hasDispatcher(anyString());
         doReturn(mockGlobalDispatcher).when(mockDispatchers).defaultGlobalDispatcher();
@@ -49,7 +49,7 @@ public class DispatchersTest {
 
     @Test
     public void testGetDispatcherPath() {
-        akka.dispatch.Dispatchers mockDispatchers = mock(akka.dispatch.Dispatchers.class);
+        org.apache.pekko.dispatch.Dispatchers mockDispatchers = mock(org.apache.pekko.dispatch.Dispatchers.class);
         doReturn(true).when(mockDispatchers).hasDispatcher(anyString());
         Dispatchers dispatchers = new Dispatchers(mockDispatchers);
 
@@ -69,7 +69,7 @@ public class DispatchersTest {
 
     @Test
     public void testGetDispatcher() {
-        akka.dispatch.Dispatchers mockDispatchers = mock(akka.dispatch.Dispatchers.class);
+        org.apache.pekko.dispatch.Dispatchers mockDispatchers = mock(org.apache.pekko.dispatch.Dispatchers.class);
         MessageDispatcher mockDispatcher = mock(MessageDispatcher.class);
         doReturn(true).when(mockDispatchers).hasDispatcher(anyString());
         doReturn(mockDispatcher).when(mockDispatchers).lookup(anyString());
index 64631fe42f62468f875e813295e2e8b9cbf603f7..462401c3b6f1c301eb109992b14f4af5229fab2f 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.cluster.datastore.utils;
 
-import akka.actor.ActorRef;
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.UntypedAbstractActor;
 
 public final class ForwardingActor extends UntypedAbstractActor {
     private final ActorRef target;
index e644759256d59fde647ea3837c17544fa254d100..b602b843e35c3aefc08be272e35033666acee207 100644 (file)
@@ -7,17 +7,17 @@
  */
 package org.opendaylight.controller.cluster.datastore.utils;
 
-import akka.actor.ActorRef;
-import akka.actor.Address;
-import akka.actor.AddressFromURIString;
-import akka.cluster.ClusterEvent.MemberRemoved;
-import akka.cluster.ClusterEvent.MemberUp;
-import akka.cluster.ClusterEvent.ReachableMember;
-import akka.cluster.ClusterEvent.UnreachableMember;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.UniqueAddress;
-import akka.util.Version;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.AddressFromURIString;
+import org.apache.pekko.cluster.ClusterEvent.MemberRemoved;
+import org.apache.pekko.cluster.ClusterEvent.MemberUp;
+import org.apache.pekko.cluster.ClusterEvent.ReachableMember;
+import org.apache.pekko.cluster.ClusterEvent.UnreachableMember;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.UniqueAddress;
+import org.apache.pekko.util.Version;
 import org.opendaylight.controller.cluster.access.concepts.MemberName;
 import org.opendaylight.controller.cluster.datastore.ClusterWrapper;
 import scala.collection.immutable.Set.Set1;
index 6913c1ae61ecddebd7c07a3bc77050e4dbab5a0c..342224623e0026079322e94975756bcff558bdcb 100644 (file)
@@ -11,7 +11,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSelection;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.datastore.DataStoreVersions;
 import org.opendaylight.controller.cluster.datastore.messages.PrimaryShardInfo;
index 32c55a65f649640d46e9b53f5efea8c66146289b..1a11d8720ce975151df5e1dbd578d967357078df 100644 (file)
@@ -1,13 +1,13 @@
-akka {
+pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
 
-    loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.testkit.TestEventListener", "org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     actor {
          serializers {
-                  java = "akka.serialization.JavaSerializer"
-                  proto = "akka.remote.serialization.ProtobufSerializer"
+                  java = "org.apache.pekko.serialization.JavaSerializer"
+                  proto = "org.apache.pekko.remote.serialization.ProtobufSerializer"
          }
 
         serialization-bindings {
@@ -26,7 +26,7 @@ in-memory-snapshot-store {
   # Class name of the plugin.
   class = "org.opendaylight.controller.cluster.datastore.utils.InMemorySnapshotStore"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+  plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 }
 
 bounded-mailbox {
index a24085e13440a6cdc01224e0ae9098372aec7d36..2509fd438a4cb43956da2de7a47ee4e96510a4bb 100644 (file)
@@ -1,4 +1,4 @@
-akka {
+pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -6,7 +6,7 @@ akka {
       class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
     }
 
-    loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.testkit.TestEventListener", "org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     actor {
       warn-about-java-serializer-usage = false
@@ -21,7 +21,7 @@ in-memory-snapshot-store {
   # Class name of the plugin.
   class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+  plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 }
 
 bounded-mailbox {
@@ -43,7 +43,7 @@ test-config {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -52,7 +52,7 @@ test-config {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -63,7 +63,7 @@ test-config {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -120,7 +120,7 @@ Member1 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -129,7 +129,7 @@ Member1 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -141,7 +141,7 @@ Member1 {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -198,7 +198,7 @@ Member2 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -207,7 +207,7 @@ Member2 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -217,7 +217,7 @@ Member2 {
     }
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -274,7 +274,7 @@ Member3 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -283,7 +283,7 @@ Member3 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -295,7 +295,7 @@ Member3 {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -352,7 +352,7 @@ Member4 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -361,7 +361,7 @@ Member4 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -373,7 +373,7 @@ Member4 {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -430,7 +430,7 @@ Member5 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -439,7 +439,7 @@ Member5 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -451,7 +451,7 @@ Member5 {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -508,7 +508,7 @@ Member256 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -517,7 +517,7 @@ Member256 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     coordinated-shutdown.run-by-actor-system-terminate = off
@@ -529,7 +529,7 @@ Member256 {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
@@ -574,21 +574,21 @@ Member256 {
 }
 
 Member1-without-artery {
-  akka.remote.artery.enabled = off
+  pekko.remote.artery.enabled = off
 }
 
 Member2-without-artery {
-  akka.remote.artery.enabled = off
+  pekko.remote.artery.enabled = off
 }
 
 Member3-without-artery {
-  akka.remote.artery.enabled = off
+  pekko.remote.artery.enabled = off
 }
 
 Member4-without-artery {
-  akka.remote.artery.enabled = off
+  pekko.remote.artery.enabled = off
 }
 
 Member5-without-artery {
-  akka.remote.artery.enabled = off
+  pekko.remote.artery.enabled = off
 }
index 7a0b83212f669b33b7092f0fead633064b065bb4..566f31ca4536c567edaa1ac8ce0d09ca36678324 100644 (file)
@@ -7,7 +7,7 @@ Member1 {
 
   in-memory-snapshot-store {
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 
   shard-dispatcher {
@@ -16,12 +16,12 @@ Member1 {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
   }
 
-  akka {
+  pekko {
     persistence {
       snapshot-store.plugin = "in-memory-snapshot-store"
 
       journal {
-        plugin = "akka.persistence.journal.segmented-file"
+        plugin = "pekko.persistence.journal.segmented-file"
 
         segmented-file {
           class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal"
@@ -39,7 +39,7 @@ Member1 {
     loglevel = "INFO"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
 
       serializers {
         readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
index ae3ce15e8e0053c7af7df83e4ace2866eec590c7..bce1a968b4f14929360d4fd42e61ed15e6c3b2f7 100644 (file)
@@ -24,8 +24,8 @@
 
     <!-- Test Dependencies -->
     <dependency>
-      <groupId>com.typesafe.akka</groupId>
-      <artifactId>akka-testkit_2.13</artifactId>
+      <groupId>org.apache.pekko</groupId>
+      <artifactId>pekko-testkit_2.13</artifactId>
     </dependency>
 
     <dependency>
index 59c2cc9257de25933b68b34ab63cc3801d67f9d7..ff8e2c715f0c0e5ba42e79fdaa012a1f68d3d4b7 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.dummy.datastore;
 
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
 import com.google.common.base.Stopwatch;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
 import org.opendaylight.controller.cluster.datastore.DataStoreVersions;
 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
 import org.opendaylight.controller.cluster.raft.messages.AppendEntries;
index 3112c49d92d41b7823a0805952736af5bc86c30f..b5bb73a6874f4bfb2aca3dfdf7f255b20db60f55 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.dummy.datastore;
 
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
 
 public final class DummyShardManager extends UntypedAbstractActor {
     public DummyShardManager(final Configuration configuration, final String memberName, final String[] shardNames,
index 3342b5de8b519e19f94582098761430a545b2542..922dce4cc78a6bc55c96e6b18e0e860bc6ccbe9a 100644 (file)
@@ -8,8 +8,8 @@
 
 package org.opendaylight.controller.dummy.datastore;
 
-import akka.actor.ActorSystem;
 import com.typesafe.config.ConfigFactory;
+import org.apache.pekko.actor.ActorSystem;
 import org.kohsuke.args4j.CmdLineException;
 import org.kohsuke.args4j.CmdLineParser;
 import org.kohsuke.args4j.Option;
index 76b485724190f2025812cbfab54ceff9e544f63e..654d11742e11ebca3e98b004562b18ff8307b3b9 100644 (file)
@@ -7,16 +7,16 @@ odl-cluster-data {
 
   metric-capture-enabled = true
 
-  akka {
+  pekko {
     loglevel = "INFO"
-    loggers = ["akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     actor {
 
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       serializers {
-                java = "akka.serialization.JavaSerializer"
-                proto = "akka.remote.serialization.ProtobufSerializer"
+                java = "org.apache.pekko.serialization.JavaSerializer"
+                proto = "org.apache.pekko.remote.serialization.ProtobufSerializer"
               }
 
               serialization-bindings {
@@ -34,7 +34,7 @@ odl-cluster-data {
     }
 
     cluster {
-      seed-nodes = ["akka://opendaylight-cluster-data@127.0.0.1:2550", "akka://opendaylight-cluster-data@127.0.0.1:2553"]
+      seed-nodes = ["pekko://opendaylight-cluster-data@127.0.0.1:2550", "pekko://opendaylight-cluster-data@127.0.0.1:2553"]
 
       roles = [
         "member-2"
index c4254378019899b9ba4063de708a076285ca82f4..341b38944b6b2a46737c07ed29369157a900240e 100644 (file)
@@ -7,16 +7,16 @@ odl-cluster-data {
 
   metric-capture-enabled = true
 
-  akka {
+  pekko {
     loglevel = "INFO"
-    loggers = ["akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     actor {
 
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       serializers {
-                java = "akka.serialization.JavaSerializer"
-                proto = "akka.remote.serialization.ProtobufSerializer"
+                java = "org.apache.pekko.serialization.JavaSerializer"
+                proto = "org.apache.pekko.remote.serialization.ProtobufSerializer"
               }
 
               serialization-bindings {
@@ -34,7 +34,7 @@ odl-cluster-data {
     }
 
     cluster {
-      seed-nodes = ["akka://opendaylight-cluster-data@127.0.0.1:2550", "akka://opendaylight-cluster-data@127.0.0.1:2554"]
+      seed-nodes = ["pekko://opendaylight-cluster-data@127.0.0.1:2550", "pekko://opendaylight-cluster-data@127.0.0.1:2554"]
 
       roles = [
         "member-3"
index d446ba499a237236118d26b79996a86daa7b2464..2836e2611db888a995ff8982004ca7d33067f1c9 100644 (file)
@@ -51,7 +51,7 @@
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka</artifactId>
+            <artifactId>repackaged-pekko</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
@@ -88,8 +88,8 @@
 
         <!-- Test Dependencies -->
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-testkit_2.13</artifactId>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-testkit_2.13</artifactId>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
index 7fd85989787ce0f28448c6bc0c49833d010bbf7b..6812acc8affd5d1983da75199064aeaf4cfcb7f7 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.remote.rpc;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.dispatch.OnComplete;
 import com.google.common.util.concurrent.AbstractFuture;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.dispatch.OnComplete;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.slf4j.Logger;
index 838252bbd9f4cb6d6246d24a70c0ef2c0fee77bb..ef65f5188c82a6a0ac7d5a569fa25d5d827ac005 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.remote.rpc;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.remote.rpc.messages.AbstractExecute;
 import scala.concurrent.Future;
 
index 9de0152be0f736125625988e4758eab48461bee7..f35263985731e9f723a2ea482eddda23c3c2c3a9 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.PoisonPill;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.PoisonPill;
 import org.opendaylight.controller.cluster.ActorSystemProvider;
 import org.opendaylight.mdsal.dom.api.DOMActionProviderService;
 import org.opendaylight.mdsal.dom.api.DOMActionService;
index 3851213184bef390ceb0130e36f219e7c8823594..e67de419e1b602a95504412029b9f0b670aecc42 100644 (file)
@@ -9,15 +9,15 @@ package org.opendaylight.controller.remote.rpc;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Props;
-import akka.actor.Status.Failure;
 import com.google.common.base.Throwables;
 import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.MoreExecutors;
 import java.util.Collection;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.Status.Failure;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 import org.opendaylight.controller.remote.rpc.messages.ActionResponse;
index 8c5004a8d05f8d74f772c83022f3d4427e11ce9e..06df721898a55a70bcc8ee721ff453a4c280cf1e 100644 (file)
@@ -10,9 +10,9 @@ package org.opendaylight.controller.remote.rpc;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import java.util.Collection;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.remote.rpc.registry.ActionRegistry;
 import org.opendaylight.controller.remote.rpc.registry.RpcRegistry;
 import org.opendaylight.controller.remote.rpc.registry.RpcRegistry.Messages.AddOrUpdateRoutes;
index ee0adbc15166a5cbe33bdadf3f3d0e5d9710c5db..7b2db1a24f8b589c5392185526eab06d5aba810d 100644 (file)
@@ -10,11 +10,11 @@ package org.opendaylight.controller.remote.rpc;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.OneForOneStrategy;
-import akka.actor.Props;
-import akka.actor.SupervisorStrategy;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.OneForOneStrategy;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.SupervisorStrategy;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 import org.opendaylight.controller.remote.rpc.registry.ActionRegistry;
 import org.opendaylight.controller.remote.rpc.registry.RpcRegistry;
index 4d11a5414ec871fbd480658e5be93b409da1821a..6eaee229d14cff84ba1626220f939388aca0fe10 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.remote.rpc;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Address;
-import akka.actor.Props;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Optional;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor;
 import org.opendaylight.controller.remote.rpc.registry.ActionRegistry.Messages.UpdateRemoteActionEndpoints;
 import org.opendaylight.controller.remote.rpc.registry.ActionRegistry.RemoteActionEndpoint;
index 7a91fa0c20be0515b638ef968fcba20f9bc57afd..9791a57e77b180b331bc8863fb58ab4cbc65934f 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.actor.ActorRef;
 import com.google.common.util.concurrent.ListenableFuture;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.remote.rpc.messages.ExecuteAction;
 import org.opendaylight.mdsal.dom.api.DOMActionImplementation;
 import org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier;
index dabe5be4d5a71c6044be76c45d9dbda74aa2297b..1725ebe861fba7541b62170cfafe59b41ca17abe 100644 (file)
@@ -9,9 +9,9 @@ package org.opendaylight.controller.remote.rpc;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.PoisonPill;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.PoisonPill;
 import org.opendaylight.mdsal.dom.api.DOMActionProviderService;
 import org.opendaylight.mdsal.dom.api.DOMActionService;
 import org.opendaylight.mdsal.dom.api.DOMRpcProviderService;
index 4fe130158f358e020ae7ca0229e02e005b45237b..dcec30af5a35c7f1fade7efec70ee56407a7ac53 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.util.Timeout;
 import com.typesafe.config.Config;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.cluster.common.actor.CommonConfig;
 import scala.concurrent.duration.FiniteDuration;
 
index 35043c3e8610830260430bbcc66372f2e9eb3bd6..f9be2d498a56e03670df928331e8533e0cc2ecb9 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.actor.ActorSystem;
+import org.apache.pekko.actor.ActorSystem;
 import org.opendaylight.mdsal.dom.api.DOMActionProviderService;
 import org.opendaylight.mdsal.dom.api.DOMActionService;
 import org.opendaylight.mdsal.dom.api.DOMRpcProviderService;
index 3046f7e6dde0284fefa3f6e5bbbc07d3e1a9a374..2e6b5d6971c44ce71ace5cde9acb96f1ee43a658 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.actor.ActorRef;
 import com.google.common.util.concurrent.ListenableFuture;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.controller.remote.rpc.messages.ExecuteRpc;
 import org.opendaylight.mdsal.dom.api.DOMRpcIdentifier;
 import org.opendaylight.mdsal.dom.api.DOMRpcImplementation;
index a79a4e45d421f2aad2f008e6a41d92ff115c1592..c744b7541c4f2f086dd16165ec23e9c769aa2abb 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.actor.Terminated;
-import akka.actor.UntypedAbstractActor;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.actor.UntypedAbstractActor;
 import org.opendaylight.controller.cluster.common.actor.Monitor;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index c25ee44b4ab1d3fa5c6663dcefd89c8b9e6cebe4..258a35d78b538452a6392c62dfe24ababb2e14d5 100644 (file)
@@ -9,13 +9,13 @@ package org.opendaylight.controller.remote.rpc.registry;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.MoreObjects;
 import com.google.common.collect.ImmutableSet;
 import java.io.Serializable;
 import java.util.Collection;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.remote.rpc.registry.gossip.BucketData;
 
index 84b2452e46e720050e974108b2bfe9019000d722..1551b49e3112c5517333e7efbc71b59b34e3862c 100644 (file)
@@ -9,9 +9,6 @@ package org.opendaylight.controller.remote.rpc.registry;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Address;
-import akka.actor.Props;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
@@ -21,6 +18,9 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.remote.rpc.RemoteOpsProviderConfig;
 import org.opendaylight.controller.remote.rpc.registry.gossip.Bucket;
 import org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess;
index 5ca5a71545dd11df9f46b48227c5ea9d38a75684..fdf50ac25f2866d2d074ee9505f375519138eac9 100644 (file)
@@ -7,9 +7,6 @@
  */
 package org.opendaylight.controller.remote.rpc.registry;
 
-import akka.actor.ActorRef;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.io.Externalizable;
 import java.io.IOException;
@@ -20,6 +17,9 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashSet;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
 import org.opendaylight.mdsal.dom.api.DOMActionInstance;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
index f0795a3a42b89fd83fd6e37e6c2141b7c653c977..cbfdd8831519b6d05ffa6d2fd6728603a2c3b4a8 100644 (file)
@@ -7,9 +7,6 @@
  */
 package org.opendaylight.controller.remote.rpc.registry;
 
-import akka.actor.ActorRef;
-import akka.serialization.JavaSerializer;
-import akka.serialization.Serialization;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.io.Externalizable;
 import java.io.IOException;
@@ -19,6 +16,9 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.HashSet;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.serialization.JavaSerializer;
+import org.apache.pekko.serialization.Serialization;
 import org.opendaylight.mdsal.dom.api.DOMRpcIdentifier;
 import org.opendaylight.yangtools.yang.data.codec.binfmt.NormalizedNodeDataInput;
 import org.opendaylight.yangtools.yang.data.codec.binfmt.NormalizedNodeDataOutput;
index 5dc6ba3eb6ea533d1dc10f326ed5aed5c729b9b8..e5bf819bcda1eb25c2db4284a1998d929f9a3d91 100644 (file)
@@ -10,9 +10,6 @@ package org.opendaylight.controller.remote.rpc.registry;
 import static com.google.common.base.Preconditions.checkArgument;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.Address;
-import akka.actor.Props;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
@@ -24,6 +21,9 @@ import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Optional;
 import java.util.Set;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
 import org.opendaylight.controller.remote.rpc.RemoteOpsProviderConfig;
 import org.opendaylight.controller.remote.rpc.registry.RpcRegistry.Messages.AddOrUpdateRoutes;
 import org.opendaylight.controller.remote.rpc.registry.RpcRegistry.Messages.RemoveRoutes;
index a97e253d01842336f1ee47456307d541c1f222bd..db5b8f9f18f4ce40eed843279d8e4eb14601729e 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.gossip;
 
-import akka.actor.ActorRef;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.eclipse.jdt.annotation.NonNull;
 
 public interface Bucket<T extends BucketData<T>> {
index 0dea3d1da4139614b0d1a47ed82685af84e248da..e330ddaaa89680794aa4b7b0cec8c740407d2a6c 100644 (file)
@@ -7,8 +7,8 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.gossip;
 
-import akka.actor.ActorRef;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
 import org.opendaylight.yangtools.concepts.Immutable;
 
 /**
index efbd63cd211ab4548252715530c313b484ef04d6..49bb869efd72467cf4417fc587292aa6e57c65b1 100644 (file)
@@ -14,15 +14,15 @@ import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStore
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreActor.removeBucketMessage;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreActor.updateRemoteBucketsMessage;
 
-import akka.actor.ActorRef;
-import akka.actor.Address;
-import akka.dispatch.OnComplete;
-import akka.pattern.Patterns;
-import akka.util.Timeout;
 import com.google.common.annotations.VisibleForTesting;
 import java.util.Collection;
 import java.util.Map;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.Patterns;
+import org.apache.pekko.util.Timeout;
 import scala.concurrent.ExecutionContext;
 import scala.concurrent.Future;
 
index d7204f32676e9ae09babb2e71cc203a71825b9b0..1f9b62e52cd1a8b383c8e309085cfc321366df47 100644 (file)
@@ -13,19 +13,6 @@ import static java.util.Objects.requireNonNull;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess.Singletons.GET_ALL_BUCKETS;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess.Singletons.GET_BUCKET_VERSIONS;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorRefProvider;
-import akka.actor.Address;
-import akka.actor.PoisonPill;
-import akka.actor.Terminated;
-import akka.cluster.ClusterActorRefProvider;
-import akka.persistence.DeleteSnapshotsFailure;
-import akka.persistence.DeleteSnapshotsSuccess;
-import akka.persistence.RecoveryCompleted;
-import akka.persistence.SaveSnapshotFailure;
-import akka.persistence.SaveSnapshotSuccess;
-import akka.persistence.SnapshotOffer;
-import akka.persistence.SnapshotSelectionCriteria;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.HashMultimap;
 import com.google.common.collect.ImmutableMap;
@@ -35,6 +22,19 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
 import java.util.function.Consumer;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorRefProvider;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.PoisonPill;
+import org.apache.pekko.actor.Terminated;
+import org.apache.pekko.cluster.ClusterActorRefProvider;
+import org.apache.pekko.persistence.DeleteSnapshotsFailure;
+import org.apache.pekko.persistence.DeleteSnapshotsSuccess;
+import org.apache.pekko.persistence.RecoveryCompleted;
+import org.apache.pekko.persistence.SaveSnapshotFailure;
+import org.apache.pekko.persistence.SaveSnapshotSuccess;
+import org.apache.pekko.persistence.SnapshotOffer;
+import org.apache.pekko.persistence.SnapshotSelectionCriteria;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActorWithMetering;
 import org.opendaylight.controller.remote.rpc.RemoteOpsProviderConfig;
 
index 950b5f9f080a51acc28689269a211ca4c079b1a2..8b1684bd50d610fd426b3949c135a021211ceeb3 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.controller.remote.rpc.registry.gossip;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Address;
 import com.google.common.collect.ImmutableMap;
 import java.io.Serializable;
 import java.util.Map;
+import org.apache.pekko.actor.Address;
 
 final class GossipEnvelope implements Serializable {
     private static final long serialVersionUID = 1L;
index db62185dd11d5bb508f704d14237e513c94b0c89..5e68b696d9bc160ed3672caac567c46fd48deebe 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.gossip;
 
-import akka.actor.Address;
 import com.google.common.collect.ImmutableMap;
 import java.io.Serializable;
 import java.util.Map;
+import org.apache.pekko.actor.Address;
 
 final class GossipStatus implements Serializable {
     private static final long serialVersionUID = 1L;
index 4eb49dbb4c46d927e5426bd3568658f39c5bdf5e..4a5ad985fe29faf29a0d1dd7778822d4119ad4e5 100644 (file)
@@ -10,16 +10,6 @@ package org.opendaylight.controller.remote.rpc.registry.gossip;
 import static com.google.common.base.Verify.verifyNotNull;
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorRefProvider;
-import akka.actor.ActorSelection;
-import akka.actor.Address;
-import akka.actor.Cancellable;
-import akka.actor.Props;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterActorRefProvider;
-import akka.cluster.ClusterEvent;
-import akka.cluster.Member;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.collect.Maps;
 import java.util.ArrayList;
@@ -31,6 +21,16 @@ import java.util.Map.Entry;
 import java.util.Set;
 import java.util.concurrent.ThreadLocalRandom;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorRefProvider;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Cancellable;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterActorRefProvider;
+import org.apache.pekko.cluster.ClusterEvent;
+import org.apache.pekko.cluster.Member;
 import org.opendaylight.controller.cluster.common.actor.AbstractUntypedActorWithMetering;
 import org.opendaylight.controller.remote.rpc.RemoteOpsProviderConfig;
 import scala.concurrent.duration.FiniteDuration;
index a38b8c4d890903f834c7fb33238ee13139e7cc4a..7b9cd524183a2726382e17056fc1f2f664f606cc 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.remote.rpc.registry.mbeans;
 
 import static java.util.Objects.requireNonNull;
 
-import akka.actor.Address;
-import akka.util.Timeout;
 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.Map;
 import java.util.concurrent.TimeoutException;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.util.Timeout;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.controller.md.sal.common.util.jmx.AbstractMXBean;
 import org.opendaylight.controller.remote.rpc.registry.AbstractRoutingTable;
index 8314b13b70c61c8f53ca58792aa5bb21799dc83c..822be2eae6fe41c45acda325de419b270e9a0189 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.mbeans;
 
-import akka.actor.Address;
-import akka.util.Timeout;
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.remote.rpc.registry.ActionRoutingTable;
 import org.opendaylight.controller.remote.rpc.registry.gossip.Bucket;
 import org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess;
index d5c72fcea395f0009602ea56c9923e9f053e7d8e..2ac0966387558a9ac2737da820488ce1b031d6d5 100644 (file)
@@ -7,13 +7,13 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.mbeans;
 
-import akka.actor.Address;
-import akka.util.Timeout;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.util.Timeout;
 import org.opendaylight.controller.remote.rpc.registry.RoutingTable;
 import org.opendaylight.controller.remote.rpc.registry.gossip.Bucket;
 import org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess;
index ac495265c5f5937feedbf7a195927f7dec62c0a3..d9fa2bc518baec4ae9ffa6b2b7c22d7bfd94062e 100644 (file)
@@ -12,10 +12,10 @@ import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
 import java.net.URI;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
index 8e6d17edc7b50f4eb744d574e983afec2a6b6776..0405dbf4ba03b3ca60884b139ae127ed8f2dfc31 100644 (file)
@@ -14,8 +14,8 @@ import static org.mockito.ArgumentMatchers.eq;
 import static org.mockito.Mockito.doReturn;
 import static org.mockito.Mockito.when;
 
-import akka.actor.Status.Failure;
 import java.time.Duration;
+import org.apache.pekko.actor.Status.Failure;
 import org.junit.Test;
 import org.opendaylight.controller.remote.rpc.messages.ExecuteRpc;
 import org.opendaylight.controller.remote.rpc.messages.RpcResponse;
index 8c067fff460a310c9f18cc52579af478134a474c..a2d0884c2ae02b3b47b8fd2ddfbb2c4a136c02bb 100644 (file)
@@ -7,11 +7,11 @@
  */
 package org.opendaylight.controller.remote.rpc;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.util.Collections;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;
index 2dd529f741d33d98949e90a070448a9b659dea73..19e3e9952c390f2b0498ee2bf872d972d7d24430 100644 (file)
@@ -14,16 +14,16 @@ import static org.mockito.Mockito.inOrder;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.verifyNoMoreInteractions;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.Props;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableMap;
 import java.util.Collections;
 import java.util.Map;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 322dbac7810200a59fffc5020c8512bb50515723..8742fee1af3f2ab629fc3d3b19086d33081d523c 100644 (file)
@@ -12,13 +12,13 @@ import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.actor.UntypedAbstractActor;
-import akka.testkit.TestActorRef;
 import com.typesafe.config.Config;
 import com.typesafe.config.ConfigFactory;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.actor.UntypedAbstractActor;
+import org.apache.pekko.testkit.TestActorRef;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.common.actor.AkkaConfigurationReader;
 import scala.concurrent.duration.FiniteDuration;
index 851e37eed2b298fa8d9dc9dffc909c0f55a81ddf..4020d49f8cffbc1550a3a9d238c62b73e9d0e24b 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.remote.rpc;
 
 import static org.mockito.MockitoAnnotations.initMocks;
 
-import akka.actor.ActorSystem;
+import org.apache.pekko.actor.ActorSystem;
 import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
index df9f346f6b5217a99fc59ed22132abf47b996651..e7d6b31ff3699dda97a90b4916fcd830f2a5b4aa 100644 (file)
@@ -10,12 +10,12 @@ package org.opendaylight.controller.remote.rpc;
 import static org.junit.Assert.assertTrue;
 import static org.mockito.Mockito.mock;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.Config;
 import com.typesafe.config.ConfigFactory;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;
index 7f2f096e10c1793e38e80fcd15d5cc8e800f672f..3bd50fe9214c1f9bbd2449fce21a25ae7a1d0eba 100644 (file)
@@ -14,15 +14,6 @@ import static org.junit.Assert.fail;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess.Singletons.GET_ALL_BUCKETS;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess.Singletons.GET_BUCKET_VERSIONS;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent.CurrentClusterState;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.UniqueAddress;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Stopwatch;
 import com.google.common.collect.Sets;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -37,6 +28,15 @@ import java.util.Map;
 import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent.CurrentClusterState;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.UniqueAddress;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index 18b2f9f6e0769383b4c32a8d46c4b364129585f5..c9cec05620cdd314d816ca5bf1b4e559d0c673eb 100644 (file)
@@ -14,15 +14,6 @@ import static org.junit.Assert.fail;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess.Singletons.GET_ALL_BUCKETS;
 import static org.opendaylight.controller.remote.rpc.registry.gossip.BucketStoreAccess.Singletons.GET_BUCKET_VERSIONS;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.cluster.Cluster;
-import akka.cluster.ClusterEvent.CurrentClusterState;
-import akka.cluster.Member;
-import akka.cluster.MemberStatus;
-import akka.cluster.UniqueAddress;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.base.Stopwatch;
 import com.google.common.collect.Sets;
 import com.google.common.util.concurrent.Uninterruptibles;
@@ -37,6 +28,15 @@ import java.util.Map;
 import java.util.Optional;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.cluster.Cluster;
+import org.apache.pekko.cluster.ClusterEvent.CurrentClusterState;
+import org.apache.pekko.cluster.Member;
+import org.apache.pekko.cluster.MemberStatus;
+import org.apache.pekko.cluster.UniqueAddress;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index fc364015986085d7351a8ebe9a58d186af1da3d3..d092cef1c9f43a7f5dae8ea108699614dbd5498f 100644 (file)
@@ -7,17 +7,17 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.gossip;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.Props;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.google.common.collect.ImmutableMap;
 import com.typesafe.config.ConfigFactory;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Optional;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.AfterClass;
 import org.junit.Assert;
 import org.junit.BeforeClass;
index 7ed3112ddb079bf9a7a55690806c99d0871d3d3c..6d0e91e870cf1597b063fdc22923b192f9f2e246 100644 (file)
@@ -16,14 +16,14 @@ import static org.mockito.Mockito.spy;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
 
-import akka.actor.ActorSelection;
-import akka.actor.ActorSystem;
-import akka.actor.Address;
-import akka.actor.Props;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
 import com.typesafe.config.ConfigFactory;
 import java.util.Map;
+import org.apache.pekko.actor.ActorSelection;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Address;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
index e53fce46376b1fa090ad874d1a32e171a18024dd..a65dae66b02641ed46cc4f679f71ce9584b4a1ae 100644 (file)
@@ -7,13 +7,6 @@
  */
 package org.opendaylight.controller.remote.rpc.registry.mbeans;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.collect.Lists;
 import com.typesafe.config.ConfigFactory;
 import java.util.Collections;
@@ -21,6 +14,13 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
index 26f4a1fa32deaf136ec760103293c27ea9dc9a38..06225b2c4ae03254998486dfe1e25248563e3eac 100644 (file)
@@ -13,13 +13,6 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import akka.actor.ActorRef;
-import akka.actor.ActorSystem;
-import akka.actor.Props;
-import akka.dispatch.Dispatchers;
-import akka.testkit.TestActorRef;
-import akka.testkit.javadsl.TestKit;
-import akka.util.Timeout;
 import com.google.common.collect.Lists;
 import com.typesafe.config.ConfigFactory;
 import java.util.Collections;
@@ -27,6 +20,13 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.TimeUnit;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.actor.ActorSystem;
+import org.apache.pekko.actor.Props;
+import org.apache.pekko.dispatch.Dispatchers;
+import org.apache.pekko.testkit.TestActorRef;
+import org.apache.pekko.testkit.javadsl.TestKit;
+import org.apache.pekko.util.Timeout;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
index 3324665c59147e071133788165f5660549c9e76f..60964ff13e3233ee9501c45f143c07a2382e5de0 100644 (file)
@@ -5,12 +5,12 @@ odl-cluster-rpc {
     mailbox-push-timeout-time = 10ms
   }
 
-  akka {
+  pekko {
     loglevel = "INFO"
     #log-config-on-start = on
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       debug{
         #autoreceive = on
         #lifecycle = on
@@ -30,14 +30,14 @@ odl-cluster-rpc {
     }
 
     cluster {
-      seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2550"]
+      seed-nodes = ["pekko://opendaylight-rpc@127.0.0.1:2550"]
     }
   }
 }
 unit-test {
-  akka {
+  pekko {
     loglevel = "DEBUG"
-    #loggers = ["akka.event.slf4j.Slf4jLogger"]
+    #loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
   }
@@ -56,7 +56,7 @@ unit-test {
     # Class name of the plugin.
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 }
 
@@ -66,14 +66,14 @@ memberA {
     mailbox-capacity = 1000
     mailbox-push-timeout-time = 10ms
   }
-  akka {
+  pekko {
     loglevel = "INFO"
-    loggers = ["akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       debug {
         #lifecycle = on
       }
@@ -91,7 +91,7 @@ memberA {
     }
 
     cluster {
-      seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
+      seed-nodes = ["pekko://opendaylight-rpc@127.0.0.1:2551"]
     }
   }
   in-memory-journal {
@@ -102,7 +102,7 @@ memberA {
     # Class name of the plugin.
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 }
 memberB {
@@ -111,15 +111,15 @@ memberB {
     mailbox-capacity = 1000
     mailbox-push-timeout-time = 10ms
   }
-  akka {
+  pekko {
     loglevel = "INFO"
-    loggers = ["akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       debug {
         #lifecycle = on
       }
@@ -137,7 +137,7 @@ memberB {
     }
 
     cluster {
-      seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
+      seed-nodes = ["pekko://opendaylight-rpc@127.0.0.1:2551"]
     }
   }
   in-memory-journal {
@@ -148,7 +148,7 @@ memberB {
     # Class name of the plugin.
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 }
 memberC {
@@ -157,15 +157,15 @@ memberC {
     mailbox-capacity = 1000
     mailbox-push-timeout-time = 10ms
   }
-  akka {
+  pekko {
     loglevel = "INFO"
-    loggers = ["akka.event.slf4j.Slf4jLogger"]
+    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
 
     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
     persistence.journal.plugin = "in-memory-journal"
 
     actor {
-      provider = "akka.cluster.ClusterActorRefProvider"
+      provider = "org.apache.pekko.cluster.ClusterActorRefProvider"
       debug {
         #lifecycle = on
       }
@@ -183,7 +183,7 @@ memberC {
     }
 
     cluster {
-      seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
+      seed-nodes = ["pekko://opendaylight-rpc@127.0.0.1:2551"]
     }
   }
   in-memory-journal {
@@ -194,7 +194,7 @@ memberC {
     # Class name of the plugin.
     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
   }
 }
 
index a26b97c7dde871c5504052f6105e9ba8d7feef1c..96fe03c191b72b46ccf223c676b6d46adf072c08 100644 (file)
@@ -7,10 +7,6 @@
  */
 package org.opendaylight.controller.clustering.it.provider;
 
-import akka.actor.ActorRef;
-import akka.dispatch.Futures;
-import akka.dispatch.OnComplete;
-import akka.pattern.Patterns;
 import com.google.common.base.Strings;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.SettableFuture;
@@ -23,6 +19,10 @@ import java.util.concurrent.TimeoutException;
 import javax.annotation.PreDestroy;
 import javax.inject.Inject;
 import javax.inject.Singleton;
+import org.apache.pekko.actor.ActorRef;
+import org.apache.pekko.dispatch.Futures;
+import org.apache.pekko.dispatch.OnComplete;
+import org.apache.pekko.pattern.Patterns;
 import org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface;
 import org.opendaylight.controller.cluster.datastore.utils.ActorUtils;
 import org.opendaylight.controller.cluster.raft.client.messages.Shutdown;
similarity index 88%
rename from akka/pom.xml
rename to pekko/pom.xml
index 48a919f81b61ff494fb8e2214a88df33a71367e7..75a06aebd8c696aa24eceb25bdba9c8ea7a87733 100644 (file)
@@ -16,7 +16,7 @@
     </parent>
 
     <groupId>org.opendaylight.controller</groupId>
-    <artifactId>akka-aggregator</artifactId>
+    <artifactId>pekko-aggregator</artifactId>
     <version>11.0.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
@@ -26,7 +26,7 @@
     </properties>
 
     <modules>
-        <module>repackaged-akka-jar</module>
-        <module>repackaged-akka</module>
+        <module>repackaged-pekko-jar</module>
+        <module>repackaged-pekko</module>
     </modules>
 </project>
similarity index 70%
rename from akka/repackaged-akka-jar/pom.xml
rename to pekko/repackaged-pekko-jar/pom.xml
index 5edf4df4fa84eae70f9ae91677d904172bdb4b8f..dc196b15f061d5774ee0bcc52558a549e949205d 100644 (file)
@@ -18,7 +18,7 @@
     </parent>
 
     <groupId>org.opendaylight.controller</groupId>
-    <artifactId>repackaged-akka-jar</artifactId>
+    <artifactId>repackaged-pekko-jar</artifactId>
     <packaging>jar</packaging>
     <version>11.0.0-SNAPSHOT</version>
     <name>${project.artifactId}</name>
     <dependencies>
         <!-- Note: when bumping versions, make sure to update configurations in src/main/resources -->
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-actor_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-actor_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-actor-typed_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-actor-typed_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-cluster_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-cluster_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-cluster-typed_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-cluster-typed_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-osgi_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-osgi_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-persistence_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-persistence_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-protobuf_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-protobuf_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-remote_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-remote_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-slf4j_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-slf4j_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
         <dependency>
-            <groupId>com.typesafe.akka</groupId>
-            <artifactId>akka-stream_2.13</artifactId>
-            <version>2.6.21</version>
+            <groupId>org.apache.pekko</groupId>
+            <artifactId>pekko-stream_2.13</artifactId>
+            <version>1.0.2</version>
         </dependency>
     </dependencies>
 
                             <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                             <artifactSet>
                                 <includes>
-                                    <include>com.typesafe.akka</include>
+                                    <include>org.apache.pekko</include>
                                 </includes>
                             </artifactSet>
                             <filters>
                                 <filter>
-                                    <artifact>com.typesafe.akka:*</artifact>
+                                    <artifact>org.apache.pekko:*</artifact>
                                     <excludes>
                                         <exclude>META-INF/MANIFEST.MF</exclude>
                                         <exclude>reference.conf</exclude>
diff --git a/pekko/repackaged-pekko-jar/src/main/resources/LICENSE b/pekko/repackaged-pekko-jar/src/main/resources/LICENSE
new file mode 100644 (file)
index 0000000..a6e6def
--- /dev/null
@@ -0,0 +1,482 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+---------------
+
+pekko-actor contains MurmurHash.scala which is derived from MurmurHash3,
+written by Austin Appleby. He has placed his code in the public domain.
+The author has disclaimed copyright to that source code.
+MurmurHash.scala also contains changes made by the Scala-Lang team under an Apache 2.0 license.
+Copyright (c) 2003-2011, LAMP/EPFL
+
+---------------
+
+pekko-actor contains code from scala-collection-compat in the `org.apache.pekko.util.ccompat` package
+which has released under an Apache 2.0 license.
+- actor/src/main/scala-2.12/org/apache/pekko/util/ccompat/package.scala
+
+Scala (https://www.scala-lang.org)
+
+Copyright EPFL and Lightbend, Inc.
+
+---------------
+
+pekko-actor contains code from scala-library in the `org.apache.pekko.util.ccompat` package
+and in `org.apache.pekko.util.Helpers.scala` which was released under an Apache 2.0 license.
+- actor/src/main/scala-2.12/org/apache/pekko/util/ccompat/package.scala
+- actor/src/main/scala/org/apache/pekko/util/Helpers.scala
+
+Scala (https://www.scala-lang.org)
+
+Copyright EPFL and Lightbend, Inc.
+
+---------------
+
+pekko-actor contains code from Netty in `org.apache.pekko.io.dns.DnsSettings.scala`
+which was released under an Apache 2.0 license.
+Copyright 2014 The Netty Project
+
+---------------
+
+pekko-actor contains code from java-uuid-generator <https://github.com/cowtowncoder/java-uuid-generator>
+in `org.apache.pekko.util.UUIDComparator.scala` which was released under an Apache 2.0 license.
+
+---------------
+
+pekko-actor contains code in `org.apache.pekko.dispatch.AbstractNodeQueue.java` and in
+`org.apache.pekko.dispatch.AbstractBoundedNodeQueue.java` which was based on
+code from https://www.1024cores.net/home/lock-free-algorithms/queues/non-intrusive-mpsc-node-based-queue which
+was released under the Simplified BSD license.
+
+Copyright (c) 2010-2011 Dmitry Vyukov. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that
+the following conditions are met:
+
+   1. Redistributions of source code must retain the above copyright notice, this list of
+
+      conditions and the following disclaimer.
+
+   2. Redistributions in binary form must reproduce the above copyright notice, this list
+
+      of conditions and the following disclaimer in the documentation and/or other materials
+
+      provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY DMITRY VYUKOV "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL DMITRY VYUKOV OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The views and conclusions contained in the software and documentation are those of the authors and should not
+be interpreted as representing official policies, either expressed or implied, of Dmitry Vyukov.
+
+---------------
+
+pekko-actor contains code in `org.apache.pekko.dispatch.AbstractBoundedNodeQueue.java` which was based on
+code from actors <https://github.com/plokhotnyuk/actors> which was released under the Apache 2.0 license.
+
+---------------
+
+pekko-actor contains code in `org.apache.pekko.util.FrequencySketch.scala` which was based on
+code from hash-prospector <https://github.com/skeeto/hash-prospector> which has been placed
+in the public domain.
+
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org/>
+
+---------------
+
+pekko-actor contains code in `org.apache.pekko.util.FrequencySketch.scala` which was based on code from
+Caffeine <https://github.com/ben-manes/caffeine> which was developed under the Apache 2.0 license.
+Copyright 2015 Ben Manes. All Rights Reserved.
+
+---------------
+
+pekko-cluster contains VectorClock.scala which is derived from code written
+by Coda Hale <https://github.com/codahale/vlock>.
+He has agreed to allow us to use this code under an Apache 2.0 license
+<https://github.com/apache/pekko/issues/232#issuecomment-1465281263>.
+
+---------------
+
+pekko-distributed-data and pekko-persistence-typed contain `ORSet.scala`
+which is derived from code written for the Riak DT project
+<https://github.com/basho/riak_dt/blob/develop/src/riak_dt_orswot.erl>.
+This code is licensed under an Apache 2.0 license.
+- distributed-data/src/main/scala/org/apache/pekko/cluster/ddata/ORSet.scala
+- persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/crdt/ORSet.scala
+Copyright (c) 2007-2013 Basho Technologies, Inc.  All Rights Reserved.
+
+---------------
+
+pekko-remote contains CountMinSketch.java which contains code derived from MurmurHash3,
+written by Austin Appleby. He has placed his code in the public domain.
+The author has disclaimed copyright to that source code.
+CountMinSketch.java also contains additional code developed under an Apache 2.0 license.
+Copyright 2016 AddThis
+
+---------------
+
+pekko-remote contains code from Aeron <https://github.com/real-logic/aeron>.
+
+./remote/src/test/java/org/apache/pekko/remote/artery/aeron/AeronStat.java
+./remote/src/test/java/org/apache/pekko/remote/artery/RateReporter.java
+./remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java
+
+This code was released under an Apache 2.0 license.
+Copyright 2014 - 2016 Real Logic Ltd.
+
+---------------
+
+pekko-persistence-typed contains AuctionEntity.java in its test source.
+This code is derived from a class in Lagom <https://github.com/lagom>,
+licensed under the Apache 2.0 license.
+Copyright 2016 Lightbend Inc. [http://www.lightbend.com]
+
+---------------
+
+remote/src/test/resources/ssl/ contains shell scripts that are based on some
+in Play Samples <https://github.com/playframework/play-samples/>.
+The original scripts were released under a CC0 1.0 Universal license.
+
+CC0 1.0 Universal
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator and
+subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for the
+purpose of contributing to a commons of creative, cultural and scientific
+works ("Commons") that the public can reliably and without fear of later
+claims of infringement build upon, modify, incorporate in other works, reuse
+and redistribute as freely as possible in any form whatsoever and for any
+purposes, including without limitation commercial purposes. These owners may
+contribute to the Commons to promote the ideal of a free culture and the
+further production of creative, cultural and scientific works, or to gain
+reputation or greater distribution for their Work in part through the use and
+efforts of others.
+
+For these and/or other purposes and motivations, and without any expectation
+of additional consideration or compensation, the person associating CC0 with a
+Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
+and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
+and publicly distribute the Work under its terms, with knowledge of his or her
+Copyright and Related Rights in the Work and the meaning and intended legal
+effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not limited
+to, the following:
+
+  i. the right to reproduce, adapt, distribute, perform, display, communicate,
+  and translate a Work;
+
+  ii. moral rights retained by the original author(s) and/or performer(s);
+
+  iii. publicity and privacy rights pertaining to a person's image or likeness
+  depicted in a Work;
+
+  iv. rights protecting against unfair competition in regards to a Work,
+  subject to the limitations in paragraph 4(a), below;
+
+  v. rights protecting the extraction, dissemination, use and reuse of data in
+  a Work;
+
+  vi. database rights (such as those arising under Directive 96/9/EC of the
+  European Parliament and of the Council of 11 March 1996 on the legal
+  protection of databases, and under any national implementation thereof,
+  including any amended or successor version of such directive); and
+
+  vii. other similar, equivalent or corresponding rights throughout the world
+  based on applicable law or treaty, and any national implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention of,
+applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
+unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
+and Related Rights and associated claims and causes of action, whether now
+known or unknown (including existing as well as future claims and causes of
+action), in the Work (i) in all territories worldwide, (ii) for the maximum
+duration provided by applicable law or treaty (including future time
+extensions), (iii) in any current or future medium and for any number of
+copies, and (iv) for any purpose whatsoever, including without limitation
+commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
+the Waiver for the benefit of each member of the public at large and to the
+detriment of Affirmer's heirs and successors, fully intending that such Waiver
+shall not be subject to revocation, rescission, cancellation, termination, or
+any other legal or equitable action to disrupt the quiet enjoyment of the Work
+by the public as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason be
+judged legally invalid or ineffective under applicable law, then the Waiver
+shall be preserved to the maximum extent permitted taking into account
+Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
+is so judged Affirmer hereby grants to each affected person a royalty-free,
+non transferable, non sublicensable, non exclusive, irrevocable and
+unconditional license to exercise Affirmer's Copyright and Related Rights in
+the Work (i) in all territories worldwide, (ii) for the maximum duration
+provided by applicable law or treaty (including future time extensions), (iii)
+in any current or future medium and for any number of copies, and (iv) for any
+purpose whatsoever, including without limitation commercial, advertising or
+promotional purposes (the "License"). The License shall be deemed effective as
+of the date CC0 was applied by Affirmer to the Work. Should any part of the
+License for any reason be judged legally invalid or ineffective under
+applicable law, such partial invalidity or ineffectiveness shall not
+invalidate the remainder of the License, and in such case Affirmer hereby
+affirms that he or she will not (i) exercise any of his or her remaining
+Copyright and Related Rights in the Work or (ii) assert any associated claims
+and causes of action with respect to the Work, in either case contrary to
+Affirmer's express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+  a. No trademark or patent rights held by Affirmer are waived, abandoned,
+  surrendered, licensed or otherwise affected by this document.
+
+  b. Affirmer offers the Work as-is and makes no representations or warranties
+  of any kind concerning the Work, express, implied, statutory or otherwise,
+  including without limitation warranties of title, merchantability, fitness
+  for a particular purpose, non infringement, or the absence of latent or
+  other defects, accuracy, or the present or absence of errors, whether or not
+  discoverable, all to the greatest extent permissible under applicable law.
+
+  c. Affirmer disclaims responsibility for clearing rights of other persons
+  that may apply to the Work or any use thereof, including without limitation
+  any person's Copyright and Related Rights in the Work. Further, Affirmer
+  disclaims responsibility for obtaining any necessary consents, permissions
+  or other rights required for any use of the Work.
+
+  d. Affirmer understands and acknowledges that Creative Commons is not a
+  party to this document and has no duty or obligation with respect to this
+  CC0 or use of the Work.
+
+For more information, please see
+<http://creativecommons.org/publicdomain/zero/1.0/>
similarity index 83%
rename from akka/repackaged-akka-jar/src/main/resources/actor_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/actor_reference.conf
index d41cb39ae4e039eb2c2ded848279ae55a02ef16c..216a4f5cc2fcc55da20fe5fcaebf109412d0741a 100644 (file)
@@ -1,32 +1,34 @@
-####################################
-# Akka Actor Reference Config File #
-####################################
+# SPDX-License-Identifier: Apache-2.0
+
+#####################################
+# Pekko Actor Reference Config File #
+########################3############
 
 # This is the reference config file that contains all the default settings.
 # Make your edits/overrides in your application.conf.
 
-# Akka version, checked against the runtime version of Akka. Loaded from generated conf file.
+# Pekko version, checked against the runtime version of Pekko. Loaded from generated conf file.
 include "version"
 
-akka {
-  # Home directory of Akka, modules in the deploy directory will be loaded
+pekko {
+  # Home directory of Pekko, modules in the deploy directory will be loaded
   home = ""
 
-  # Loggers to register at boot time (akka.event.Logging$DefaultLogger logs
+  # Loggers to register at boot time (org.apache.pekko.event.Logging$DefaultLogger logs
   # to STDOUT)
-  loggers = ["akka.event.Logging$DefaultLogger"]
+  loggers = ["org.apache.pekko.event.Logging$DefaultLogger"]
 
   # Filter of log events that is used by the LoggingAdapter before
   # publishing log events to the eventStream. It can perform
   # fine grained filtering based on the log source. The default
   # implementation filters on the `loglevel`.
   # FQCN of the LoggingFilter. The Class of the FQCN must implement
-  # akka.event.LoggingFilter and have a public constructor with
-  # (akka.actor.ActorSystem.Settings, akka.event.EventStream) parameters.
-  logging-filter = "akka.event.DefaultLoggingFilter"
+  # org.apache.pekko.event.LoggingFilter and have a public constructor with
+  # (org.apache.pekko.actor.ActorSystem.Settings, org.apache.pekko.event.EventStream) parameters.
+  logging-filter = "org.apache.pekko.event.DefaultLoggingFilter"
 
   # Specifies the default loggers dispatcher
-  loggers-dispatcher = "akka.actor.default-dispatcher"
+  loggers-dispatcher = "pekko.actor.default-dispatcher"
 
   # Loggers are created and registered synchronously during ActorSystem
   # start-up, and since they are actors, this timeout is used to bound the
@@ -73,11 +75,11 @@ akka {
   #
   # Should not be set by end user applications in 'application.conf', use the extensions property for that
   #
-  library-extensions = ${?akka.library-extensions} ["akka.serialization.SerializationExtension$"]
+  library-extensions = ${?pekko.library-extensions} ["org.apache.pekko.serialization.SerializationExtension$"]
 
   # List FQCN of extensions which shall be loaded at actor system startup.
   # Should be on the format: 'extensions = ["foo", "bar"]' etc.
-  # See the Akka Documentation for more info about Extensions
+  # See the Pekko Documentation for more info about Extensions
   extensions = []
 
   # Toggles whether threads created by this ActorSystem should be daemons or not
@@ -87,9 +89,9 @@ akka {
   # such as OutOfMemoryError
   jvm-exit-on-fatal-error = on
 
-  # Akka installs JVM shutdown hooks by default, e.g. in CoordinatedShutdown and Artery. This property will
+  # Pekko installs JVM shutdown hooks by default, e.g. in CoordinatedShutdown and Artery. This property will
   # not disable user-provided hooks registered using `CoordinatedShutdown#addCancellableJvmShutdownHook`.
-  # This property is related to `akka.coordinated-shutdown.run-by-jvm-shutdown-hook` below.
+  # This property is related to `pekko.coordinated-shutdown.run-by-jvm-shutdown-hook` below.
   # This property makes it possible to disable all such hooks if the application itself
   # or a higher level framework such as Play prefers to install the JVM shutdown hook and
   # terminate the ActorSystem itself, with or without using CoordinatedShutdown.
@@ -111,14 +113,14 @@ akka {
 
     # Either one of "local", "remote" or "cluster" or the
     # FQCN of the ActorRefProvider to be used; the below is the built-in default,
-    # note that "remote" and "cluster" requires the akka-remote and akka-cluster
+    # note that "remote" and "cluster" requires the pekko-remote and pekko-cluster
     # artifacts to be on the classpath.
     provider = "local"
 
     # The guardian "/user" will use this class to obtain its supervisorStrategy.
-    # It needs to be a subclass of akka.actor.SupervisorStrategyConfigurator.
-    # In addition to the default there is akka.actor.StoppingSupervisorStrategy.
-    guardian-supervisor-strategy = "akka.actor.DefaultSupervisorStrategy"
+    # It needs to be a subclass of org.apache.pekko.actor.SupervisorStrategyConfigurator.
+    # In addition to the default there is org.apache.pekko.actor.StoppingSupervisorStrategy.
+    guardian-supervisor-strategy = "org.apache.pekko.actor.DefaultSupervisorStrategy"
 
     # Timeout for Extension creation and a few other potentially blocking
     # initialization tasks.
@@ -135,37 +137,37 @@ akka {
 
     # If serialize-messages or serialize-creators are enabled classes that starts with
     # a prefix listed here are not verified.
-    no-serialization-verification-needed-class-prefix = ["akka."]
+    no-serialization-verification-needed-class-prefix = ["org.apache.pekko."]
 
     # Timeout for send operations to top-level actors which are in the process
     # of being started. This is only relevant if using a bounded mailbox or the
     # CallingThreadDispatcher for a top-level actor.
     unstarted-push-timeout = 10s
 
-    # TypedActor deprecated since 2.6.0.
+    # TypedActor deprecated since Akka 2.6.0.
     typed {
-      # Default timeout for the deprecated TypedActor (not the new actor APIs in 2.6)
+      # Default timeout for the deprecated TypedActor (not the new actor APIs in Akka 2.6)
       # methods with non-void return type.
       timeout = 5s
     }
 
     # Mapping between ´deployment.router' short names to fully qualified class names
     router.type-mapping {
-      from-code = "akka.routing.NoRouter"
-      round-robin-pool = "akka.routing.RoundRobinPool"
-      round-robin-group = "akka.routing.RoundRobinGroup"
-      random-pool = "akka.routing.RandomPool"
-      random-group = "akka.routing.RandomGroup"
-      balancing-pool = "akka.routing.BalancingPool"
-      smallest-mailbox-pool = "akka.routing.SmallestMailboxPool"
-      broadcast-pool = "akka.routing.BroadcastPool"
-      broadcast-group = "akka.routing.BroadcastGroup"
-      scatter-gather-pool = "akka.routing.ScatterGatherFirstCompletedPool"
-      scatter-gather-group = "akka.routing.ScatterGatherFirstCompletedGroup"
-      tail-chopping-pool = "akka.routing.TailChoppingPool"
-      tail-chopping-group = "akka.routing.TailChoppingGroup"
-      consistent-hashing-pool = "akka.routing.ConsistentHashingPool"
-      consistent-hashing-group = "akka.routing.ConsistentHashingGroup"
+      from-code = "org.apache.pekko.routing.NoRouter"
+      round-robin-pool = "org.apache.pekko.routing.RoundRobinPool"
+      round-robin-group = "org.apache.pekko.routing.RoundRobinGroup"
+      random-pool = "org.apache.pekko.routing.RandomPool"
+      random-group = "org.apache.pekko.routing.RandomGroup"
+      balancing-pool = "org.apache.pekko.routing.BalancingPool"
+      smallest-mailbox-pool = "org.apache.pekko.routing.SmallestMailboxPool"
+      broadcast-pool = "org.apache.pekko.routing.BroadcastPool"
+      broadcast-group = "org.apache.pekko.routing.BroadcastGroup"
+      scatter-gather-pool = "org.apache.pekko.routing.ScatterGatherFirstCompletedPool"
+      scatter-gather-group = "org.apache.pekko.routing.ScatterGatherFirstCompletedGroup"
+      tail-chopping-pool = "org.apache.pekko.routing.TailChoppingPool"
+      tail-chopping-group = "org.apache.pekko.routing.TailChoppingGroup"
+      consistent-hashing-pool = "org.apache.pekko.routing.ConsistentHashingPool"
+      consistent-hashing-group = "org.apache.pekko.routing.ConsistentHashingGroup"
     }
 
     deployment {
@@ -191,9 +193,9 @@ akka {
         # - available: "from-code", "round-robin", "random", "smallest-mailbox",
         #              "scatter-gather", "broadcast"
         # - or:        Fully qualified class name of the router class.
-        #              The class must extend akka.routing.CustomRouterConfig and
+        #              The class must extend org.apache.pekko.routing.CustomRouterConfig and
         #              have a public constructor with com.typesafe.config.Config
-        #              and optional akka.actor.DynamicAccess parameter.
+        #              and optional org.apache.pekko.actor.DynamicAccess parameter.
         # - default is "from-code";
         # Whether or not an actor is transformed to a Router is decided in code
         # only (Props.withRouter). The type of router can be overridden in the
@@ -321,8 +323,8 @@ akka {
           # Probability of doing an exploration v.s. optimization.
           chance-of-exploration = 0.4
 
-          # When downsizing after a long streak of underutilization, the resizer
-          # will downsize the pool to the highest utiliziation multiplied by a
+          # When downsizing after a long streak of under-utilization, the resizer
+          # will downsize the pool to the highest utilization multiplied by a
           # a downsize ratio. This downsize ratio determines the new pools size
           # in comparison to the highest utilization.
           # E.g. if the highest utilization is 10, and the down size ratio
@@ -351,7 +353,7 @@ akka {
       }
 
       "/IO-DNS/inet-address/*" {
-        dispatcher = "akka.actor.default-blocking-io-dispatcher"
+        dispatcher = "pekko.actor.default-blocking-io-dispatcher"
       }
 
       "/IO-DNS/async-dns" {
@@ -366,7 +368,7 @@ akka {
       # Dispatcher, PinnedDispatcher, or a FQCN to a class inheriting
       # MessageDispatcherConfigurator with a public constructor with
       # both com.typesafe.config.Config parameter and
-      # akka.dispatch.DispatcherPrerequisites parameters.
+      # org.apache.pekko.dispatch.DispatcherPrerequisites parameters.
       # PinnedDispatcher must be used together with executor=thread-pool-executor.
       type = "Dispatcher"
 
@@ -392,7 +394,7 @@ akka {
       }
 
       # This will be used if you have set "executor = "affinity-pool-executor""
-      # Underlying thread pool implementation is akka.dispatch.affinity.AffinityPool.
+      # Underlying thread pool implementation is org.apache.pekko.dispatch.affinity.AffinityPool.
       # This executor is classified as "ApiMayChange".
       affinity-pool-executor {
         # Min number of threads to cap factor-based parallelism number to
@@ -415,8 +417,8 @@ akka {
 
         # FQCN of the Rejection handler used in the pool.
         # Must have an empty public constructor and must
-        # implement akka.actor.affinity.RejectionHandlerFactory.
-        rejection-handler = "akka.dispatch.affinity.ThrowOnOverflowRejectionHandler"
+        # implement org.apache.pekko.actor.affinity.RejectionHandlerFactory.
+        rejection-handler = "org.apache.pekko.dispatch.affinity.ThrowOnOverflowRejectionHandler"
 
         # Level of CPU time used, on a scale between 1 and 10, during backoff/idle.
         # The tradeoff is that to have low latency more CPU time must be used to be
@@ -426,14 +428,14 @@ akka {
         # Level 10 strongly prefer low latency over low CPU consumption.
         idle-cpu-level = 5
 
-        # FQCN of the akka.dispatch.affinity.QueueSelectorFactory.
+        # FQCN of the org.apache.pekko.dispatch.affinity.QueueSelectorFactory.
         # The Class of the FQCN must have a public constructor with a
         # (com.typesafe.config.Config) parameter.
-        # A QueueSelectorFactory create instances of akka.dispatch.affinity.QueueSelector,
+        # A QueueSelectorFactory create instances of org.apache.pekko.dispatch.affinity.QueueSelector,
         # that is responsible for determining which task queue a Runnable should be enqueued in.
-        queue-selector = "akka.dispatch.affinity.FairDistributionHashCache"
+        queue-selector = "org.apache.pekko.dispatch.affinity.FairDistributionHashCache"
 
-        # When using the "akka.dispatch.affinity.FairDistributionHashCache" queue selector
+        # When using the "org.apache.pekko.dispatch.affinity.FairDistributionHashCache" queue selector
         # internally the AffinityPool uses two methods to determine which task
         # queue to allocate a Runnable to:
         # - map based - maintains a round robin counter and a map of Runnable
@@ -480,6 +482,10 @@ akka {
         # Setting to "FIFO" to use queue like peeking mode which "poll" or "LIFO" to use stack
         # like peeking mode which "pop".
         task-peeking-mode = "FIFO"
+
+        # This config is new in Pekko v1.1.0 and only has an effect if you are running with JDK 9 and above.
+        # Read the documentation on `java.util.concurrent.ForkJoinPool` to find out more. Default in hex is 0x7fff.
+        maximum-pool-size = 32767
       }
 
       # This will be used if you have set "executor = "thread-pool-executor""
@@ -554,7 +560,7 @@ akka {
       mailbox-requirement = ""
     }
 
-    # Default separate internal dispatcher to run Akka internal tasks and actors on
+    # Default separate internal dispatcher to run Pekko internal tasks and actors on
     # protecting them against starvation because of accidental blocking in user actors (which run on the
     # default dispatcher)
     internal-dispatcher {
@@ -581,8 +587,8 @@ akka {
     default-mailbox {
       # FQCN of the MailboxType. The Class of the FQCN must have a public
       # constructor with
-      # (akka.actor.ActorSystem.Settings, com.typesafe.config.Config) parameters.
-      mailbox-type = "akka.dispatch.UnboundedMailbox"
+      # (org.apache.pekko.actor.ActorSystem.Settings, com.typesafe.config.Config) parameters.
+      mailbox-type = "org.apache.pekko.dispatch.UnboundedMailbox"
 
       # If the mailbox is bounded then it uses this setting to determine its
       # capacity. The provided value must be positive.
@@ -605,88 +611,88 @@ akka {
 
     mailbox {
       # Mapping between message queue semantics and mailbox configurations.
-      # Used by akka.dispatch.RequiresMessageQueue[T] to enforce different
+      # Used by org.apache.pekko.dispatch.RequiresMessageQueue[T] to enforce different
       # mailbox types on actors.
       # If your Actor implements RequiresMessageQueue[T], then when you create
       # an instance of that actor its mailbox type will be decided by looking
       # up a mailbox configuration via T in this mapping
       requirements {
-        "akka.dispatch.UnboundedMessageQueueSemantics" =
-          akka.actor.mailbox.unbounded-queue-based
-        "akka.dispatch.BoundedMessageQueueSemantics" =
-          akka.actor.mailbox.bounded-queue-based
-        "akka.dispatch.DequeBasedMessageQueueSemantics" =
-          akka.actor.mailbox.unbounded-deque-based
-        "akka.dispatch.UnboundedDequeBasedMessageQueueSemantics" =
-          akka.actor.mailbox.unbounded-deque-based
-        "akka.dispatch.BoundedDequeBasedMessageQueueSemantics" =
-          akka.actor.mailbox.bounded-deque-based
-        "akka.dispatch.MultipleConsumerSemantics" =
-          akka.actor.mailbox.unbounded-queue-based
-        "akka.dispatch.ControlAwareMessageQueueSemantics" =
-          akka.actor.mailbox.unbounded-control-aware-queue-based
-        "akka.dispatch.UnboundedControlAwareMessageQueueSemantics" =
-          akka.actor.mailbox.unbounded-control-aware-queue-based
-        "akka.dispatch.BoundedControlAwareMessageQueueSemantics" =
-          akka.actor.mailbox.bounded-control-aware-queue-based
-        "akka.event.LoggerMessageQueueSemantics" =
-          akka.actor.mailbox.logger-queue
+        "org.apache.pekko.dispatch.UnboundedMessageQueueSemantics" =
+          pekko.actor.mailbox.unbounded-queue-based
+        "org.apache.pekko.dispatch.BoundedMessageQueueSemantics" =
+          pekko.actor.mailbox.bounded-queue-based
+        "org.apache.pekko.dispatch.DequeBasedMessageQueueSemantics" =
+          pekko.actor.mailbox.unbounded-deque-based
+        "org.apache.pekko.dispatch.UnboundedDequeBasedMessageQueueSemantics" =
+          pekko.actor.mailbox.unbounded-deque-based
+        "org.apache.pekko.dispatch.BoundedDequeBasedMessageQueueSemantics" =
+          pekko.actor.mailbox.bounded-deque-based
+        "org.apache.pekko.dispatch.MultipleConsumerSemantics" =
+          pekko.actor.mailbox.unbounded-queue-based
+        "org.apache.pekko.dispatch.ControlAwareMessageQueueSemantics" =
+          pekko.actor.mailbox.unbounded-control-aware-queue-based
+        "org.apache.pekko.dispatch.UnboundedControlAwareMessageQueueSemantics" =
+          pekko.actor.mailbox.unbounded-control-aware-queue-based
+        "org.apache.pekko.dispatch.BoundedControlAwareMessageQueueSemantics" =
+          pekko.actor.mailbox.bounded-control-aware-queue-based
+        "org.apache.pekko.event.LoggerMessageQueueSemantics" =
+          pekko.actor.mailbox.logger-queue
       }
 
       unbounded-queue-based {
         # FQCN of the MailboxType, The Class of the FQCN must have a public
-        # constructor with (akka.actor.ActorSystem.Settings,
+        # constructor with (org.apache.pekko.actor.ActorSystem.Settings,
         # com.typesafe.config.Config) parameters.
-        mailbox-type = "akka.dispatch.UnboundedMailbox"
+        mailbox-type = "org.apache.pekko.dispatch.UnboundedMailbox"
       }
 
       bounded-queue-based {
         # FQCN of the MailboxType, The Class of the FQCN must have a public
-        # constructor with (akka.actor.ActorSystem.Settings,
+        # constructor with (org.apache.pekko.actor.ActorSystem.Settings,
         # com.typesafe.config.Config) parameters.
-        mailbox-type = "akka.dispatch.BoundedMailbox"
+        mailbox-type = "org.apache.pekko.dispatch.BoundedMailbox"
       }
 
       unbounded-deque-based {
         # FQCN of the MailboxType, The Class of the FQCN must have a public
-        # constructor with (akka.actor.ActorSystem.Settings,
+        # constructor with (org.apache.pekko.actor.ActorSystem.Settings,
         # com.typesafe.config.Config) parameters.
-        mailbox-type = "akka.dispatch.UnboundedDequeBasedMailbox"
+        mailbox-type = "org.apache.pekko.dispatch.UnboundedDequeBasedMailbox"
       }
 
       bounded-deque-based {
         # FQCN of the MailboxType, The Class of the FQCN must have a public
-        # constructor with (akka.actor.ActorSystem.Settings,
+        # constructor with (org.apache.pekko.actor.ActorSystem.Settings,
         # com.typesafe.config.Config) parameters.
-        mailbox-type = "akka.dispatch.BoundedDequeBasedMailbox"
+        mailbox-type = "org.apache.pekko.dispatch.BoundedDequeBasedMailbox"
       }
 
       unbounded-control-aware-queue-based {
         # FQCN of the MailboxType, The Class of the FQCN must have a public
-        # constructor with (akka.actor.ActorSystem.Settings,
+        # constructor with (org.apache.pekko.actor.ActorSystem.Settings,
         # com.typesafe.config.Config) parameters.
-        mailbox-type = "akka.dispatch.UnboundedControlAwareMailbox"
+        mailbox-type = "org.apache.pekko.dispatch.UnboundedControlAwareMailbox"
       }
 
       bounded-control-aware-queue-based {
         # FQCN of the MailboxType, The Class of the FQCN must have a public
-        # constructor with (akka.actor.ActorSystem.Settings,
+        # constructor with (org.apache.pekko.actor.ActorSystem.Settings,
         # com.typesafe.config.Config) parameters.
-        mailbox-type = "akka.dispatch.BoundedControlAwareMailbox"
+        mailbox-type = "org.apache.pekko.dispatch.BoundedControlAwareMailbox"
       }
 
       # The LoggerMailbox will drain all messages in the mailbox
       # when the system is shutdown and deliver them to the StandardOutLogger.
       # Do not change this unless you know what you are doing.
       logger-queue {
-        mailbox-type = "akka.event.LoggerMailboxType"
+        mailbox-type = "org.apache.pekko.event.LoggerMailboxType"
       }
     }
 
     debug {
       # enable function of Actor.loggable(), which is to log any received message
-      # at DEBUG level, see the “Testing Actor Systems” section of the Akka
-      # Documentation at https://akka.io/docs
+      # at DEBUG level, see the “Testing Actor Systems” section of the Pekko
+      # Documentation at https://pekko.apache.org/docs/pekko/current/
       receive = off
 
       # enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill etc.)
@@ -714,8 +720,8 @@ akka {
     # This setting is a short-cut to
     # - using DisabledJavaSerializer instead of JavaSerializer
     #
-    # Completely disable the use of `akka.serialization.JavaSerialization` by the
-    # Akka Serialization extension, instead DisabledJavaSerializer will
+    # Completely disable the use of `org.apache.pekko.serialization.JavaSerialization` by the
+    # Pekko Serialization extension, instead DisabledJavaSerializer will
     # be inserted which will fail explicitly if attempts to use java serialization are made.
     #
     # The log messages emitted by such serializer SHOULD be treated as potential
@@ -741,13 +747,13 @@ akka {
 
     # Entries for pluggable serializers and their bindings.
     serializers {
-      java = "akka.serialization.JavaSerializer"
-      bytes = "akka.serialization.ByteArraySerializer"
-      primitive-long = "akka.serialization.LongSerializer"
-      primitive-int = "akka.serialization.IntSerializer"
-      primitive-string = "akka.serialization.StringSerializer"
-      primitive-bytestring = "akka.serialization.ByteStringSerializer"
-      primitive-boolean = "akka.serialization.BooleanSerializer"
+      java = "org.apache.pekko.serialization.JavaSerializer"
+      bytes = "org.apache.pekko.serialization.ByteArraySerializer"
+      primitive-long = "org.apache.pekko.serialization.LongSerializer"
+      primitive-int = "org.apache.pekko.serialization.IntSerializer"
+      primitive-string = "org.apache.pekko.serialization.StringSerializer"
+      primitive-bytestring = "org.apache.pekko.serialization.ByteStringSerializer"
+      primitive-boolean = "org.apache.pekko.serialization.BooleanSerializer"
     }
 
     # Class to Serializer binding. You only need to specify the name of an
@@ -762,9 +768,9 @@ akka {
       "java.io.Serializable" = java
 
       "java.lang.String" = primitive-string
-      "akka.util.ByteString$ByteString1C" = primitive-bytestring
-      "akka.util.ByteString$ByteString1" = primitive-bytestring
-      "akka.util.ByteString$ByteStrings" = primitive-bytestring
+      "org.apache.pekko.util.ByteString$ByteString1C" = primitive-bytestring
+      "org.apache.pekko.util.ByteString$ByteString1" = primitive-bytestring
+      "org.apache.pekko.util.ByteString$ByteStrings" = primitive-bytestring
       "java.lang.Long" = primitive-long
       "scala.Long" = primitive-long
       "java.lang.Integer" = primitive-int
@@ -775,13 +781,13 @@ akka {
 
     # Configuration namespace of serialization identifiers.
     # Each serializer implementation must have an entry in the following format:
-    # `akka.actor.serialization-identifiers."FQCN" = ID`
+    # `org.apache.pekko.actor.serialization-identifiers."FQCN" = ID`
     # where `FQCN` is fully qualified class name of the serializer implementation
     # and `ID` is globally unique serializer identifier number.
-    # Identifier values from 0 to 40 are reserved for Akka internal usage.
+    # Identifier values from 0 to 40 are reserved for Pekko internal usage.
     serialization-identifiers {
-      "akka.serialization.JavaSerializer" = 1
-      "akka.serialization.ByteArraySerializer" = 4
+      "org.apache.pekko.serialization.JavaSerializer" = 1
+      "org.apache.pekko.serialization.ByteArraySerializer" = 4
 
       primitive-long = 18
       primitive-int = 19
@@ -798,21 +804,20 @@ akka {
       "com.google.protobuf.GeneratedMessage",
       "com.google.protobuf.GeneratedMessageV3",
       "scalapb.GeneratedMessageCompanion",
-      "akka.protobuf.GeneratedMessage",
-      "akka.protobufv3.internal.GeneratedMessageV3"
+      "org.apache.pekko.protobufv3.internal.GeneratedMessageV3"
     ]
 
     # Additional classes that are allowed even if they are not defined in `serialization-bindings`.
     # It can be exact class name or name of super class or interfaces (one level).
     # This is useful when a class is not used for serialization any more and therefore removed
     # from `serialization-bindings`, but should still be possible to deserialize.
-    allowed-classes = ${akka.serialization.protobuf.whitelist-class}
+    allowed-classes = ${pekko.serialization.protobuf.whitelist-class}
 
   }
 
   # Used to set the behavior of the scheduler.
   # Changing the default values may change the system behavior drastically so make
-  # sure you know what you're doing! See the Scheduler section of the Akka
+  # sure you know what you're doing! See the Scheduler section of the Pekko
   # Documentation for more details.
   scheduler {
     # The LightArrayRevolverScheduler is used as the default scheduler in the
@@ -835,12 +840,12 @@ akka {
 
     # This setting selects the timer implementation which shall be loaded at
     # system start-up.
-    # The class given here must implement the akka.actor.Scheduler interface
+    # The class given here must implement the org.apache.pekko.actor.Scheduler interface
     # and offer a public constructor which takes three arguments:
     #  1) com.typesafe.config.Config
-    #  2) akka.event.LoggingAdapter
+    #  2) org.apache.pekko.event.LoggingAdapter
     #  3) java.util.concurrent.ThreadFactory
-    implementation = akka.actor.LightArrayRevolverScheduler
+    implementation = org.apache.pekko.actor.LightArrayRevolverScheduler
 
     # When shutting down the scheduler, there will typically be a thread which
     # needs to be stopped, and this timeout determines how long to wait for
@@ -910,19 +915,19 @@ akka {
 
       # Fully qualified config path which holds the dispatcher configuration
       # to be used for running the select() calls in the selectors
-      selector-dispatcher = "akka.io.pinned-dispatcher"
+      selector-dispatcher = "pekko.io.pinned-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # for the read/write worker actors
-      worker-dispatcher = "akka.actor.internal-dispatcher"
+      worker-dispatcher = "pekko.actor.internal-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # for the selector management actors
-      management-dispatcher = "akka.actor.internal-dispatcher"
+      management-dispatcher = "pekko.actor.internal-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # on which file IO tasks are scheduled
-      file-io-dispatcher = "akka.actor.default-blocking-io-dispatcher"
+      file-io-dispatcher = "pekko.actor.default-blocking-io-dispatcher"
 
       # The maximum number of bytes (or "unlimited") to transfer in one batch
       # when using `WriteFile` command which uses `FileChannel.transferTo` to
@@ -992,15 +997,15 @@ akka {
 
       # Fully qualified config path which holds the dispatcher configuration
       # to be used for running the select() calls in the selectors
-      selector-dispatcher = "akka.io.pinned-dispatcher"
+      selector-dispatcher = "pekko.io.pinned-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # for the read/write worker actors
-      worker-dispatcher = "akka.actor.internal-dispatcher"
+      worker-dispatcher = "pekko.actor.internal-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # for the selector management actors
-      management-dispatcher = "akka.actor.internal-dispatcher"
+      management-dispatcher = "pekko.actor.internal-dispatcher"
     }
 
     udp-connected {
@@ -1048,34 +1053,34 @@ akka {
 
       # Fully qualified config path which holds the dispatcher configuration
       # to be used for running the select() calls in the selectors
-      selector-dispatcher = "akka.io.pinned-dispatcher"
+      selector-dispatcher = "pekko.io.pinned-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # for the read/write worker actors
-      worker-dispatcher = "akka.actor.internal-dispatcher"
+      worker-dispatcher = "pekko.actor.internal-dispatcher"
 
       # Fully qualified config path which holds the dispatcher configuration
       # for the selector management actors
-      management-dispatcher = "akka.actor.internal-dispatcher"
+      management-dispatcher = "pekko.actor.internal-dispatcher"
     }
 
     dns {
       # Fully qualified config path which holds the dispatcher configuration
       # for the manager and resolver router actors.
-      # For actual router configuration see akka.actor.deployment./IO-DNS/*
-      dispatcher = "akka.actor.internal-dispatcher"
+      # For actual router configuration see pekko.actor.deployment./IO-DNS/*
+      dispatcher = "pekko.actor.internal-dispatcher"
 
-      # Name of the subconfig at path akka.io.dns, see inet-address below
+      # Name of the subconfig at path pekko.io.dns, see inet-address below
       #
       # Change to `async-dns` to use the new "native" DNS resolver,
       # which is also capable of resolving SRV records.
       resolver = "inet-address"
 
       # To-be-deprecated DNS resolver implementation which uses the Java InetAddress to resolve DNS records.
-      # To be replaced by `akka.io.dns.async` which implements the DNS protocol natively and without blocking (which InetAddress does)
+      # To be replaced by `pekko.io.dns.async` which implements the DNS protocol natively and without blocking (which InetAddress does)
       inet-address {
-        # Must implement akka.io.DnsProvider
-        provider-object = "akka.io.InetAddressDnsProvider"
+        # Must implement org.apache.pekko.io.DnsProvider
+        provider-object = "org.apache.pekko.io.InetAddressDnsProvider"
 
         # To set the time to cache name resolutions
         # Possible values:
@@ -1092,7 +1097,7 @@ akka {
       }
 
       async-dns {
-        provider-object = "akka.io.dns.internal.AsyncDnsProvider"
+        provider-object = "org.apache.pekko.io.dns.internal.AsyncDnsProvider"
 
         # Set upper bound for caching successfully resolved dns entries
         # if the DNS record has a smaller TTL value than the setting that
@@ -1142,6 +1147,14 @@ akka {
         # Defaults to a system dependent lookup (on Unix like OSes, will attempt to parse /etc/resolv.conf, on
         # other platforms, will default to 1).
         ndots = default
+
+        # The policy used to generate dns transaction ids. Options are `thread-local-random`,
+        # `enhanced-double-hash-random` or `secure-random`. Defaults to `enhanced-double-hash-random` which uses an
+        # enhanced double hashing algorithm optimized for minimizing collisions with a FIPS compliant initial seed.
+        # `thread-local-random` is similar to Netty and `secure-random` produces FIPS compliant random numbers every
+        # time but could block looking for entropy (these are short integers so are easy to brute-force, use
+        # `enhanced-double-hash-random` unless you really require FIPS compliant random numbers).
+        id-generator-policy = enhanced-double-hash-random
       }
     }
   }
@@ -1175,7 +1188,7 @@ akka {
 
     # Run the coordinated shutdown when the JVM process exits, e.g.
     # via kill SIGTERM signal (SIGINT ctrl-c doesn't work).
-    # This property is related to `akka.jvm-shutdown-hooks` above.
+    # This property is related to `pekko.jvm-shutdown-hooks` above.
     run-by-jvm-shutdown-hook = on
 
     # Run the coordinated shutdown when ActorSystem.terminate is called.
@@ -1191,17 +1204,17 @@ akka {
       # Overrides are applied using the `reason.getClass.getName`.
       # Overrides the `exit-code` when the `Reason` is a cluster
       # Downing or a Cluster Join Unsuccessful event
-      "akka.actor.CoordinatedShutdown$ClusterDowningReason$" {
+      "org.apache.pekko.actor.CoordinatedShutdown$ClusterDowningReason$" {
         exit-code = -1
       }
-      "akka.actor.CoordinatedShutdown$ClusterJoinUnsuccessfulReason$" {
+      "org.apache.pekko.actor.CoordinatedShutdown$ClusterJoinUnsuccessfulReason$" {
         exit-code = -1
       }
     }
 
     #//#coordinated-shutdown-phases
     # CoordinatedShutdown is enabled by default and will run the tasks that
-    # are added to these phases by individual Akka modules and user logic.
+    # are added to these phases by individual Pekko modules and user logic.
     #
     # The phases are ordered as a DAG by defining the dependencies between the phases
     # to make sure shutdown tasks are run in the right order.
@@ -1312,7 +1325,7 @@ akka {
   # identify or look up the circuit breaker.
   # Note: Circuit breakers created without ids are not affected by this configuration.
   # A child configuration section with the same name as the circuit breaker identifier
-  # will be used, with fallback to the `akka.circuit-breaker.default` section.
+  # will be used, with fallback to the `pekko.circuit-breaker.default` section.
   circuit-breaker {
 
     # Default configuration that is used if a configuration section
@@ -1340,7 +1353,7 @@ akka {
       # In order to skip this additional delay set as 0
       random-factor = 0.0
 
-      # A allowlist of fqcn of Exceptions that the CircuitBreaker
+      # A allow-list of fqcn of Exceptions that the CircuitBreaker
       # should not consider failures. By default all exceptions are
       # considered failures.
       exception-allowlist = []
similarity index 65%
rename from akka/repackaged-akka-jar/src/main/resources/actor_typed_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/actor_typed_reference.conf
index d34d52aeef9cb0041f16a5310573a58e72eb471c..208c68949710de5be6ef1ab4641764bf1e1a3cc7 100644 (file)
@@ -1,8 +1,10 @@
-akka.actor.typed {
+# SPDX-License-Identifier: Apache-2.0
 
-  # List FQCN of `akka.actor.typed.ExtensionId`s which shall be loaded at actor system startup.
+pekko.actor.typed {
+
+  # List FQCN of `org.apache.pekko.actor.typed.ExtensionId`s which shall be loaded at actor system startup.
   # Should be on the format: 'extensions = ["com.example.MyExtId1", "com.example.MyExtId2"]' etc.
-  # See the Akka Documentation for more info about Extensions
+  # See the Pekko Documentation for more info about Extensions
   extensions = []
 
   # List FQCN of extensions which shall be loaded at actor system startup.
@@ -13,10 +15,10 @@ akka.actor.typed {
   #
   # Should not be set by end user applications in 'application.conf', use the extensions property for that
   #
-  library-extensions = ${?akka.actor.typed.library-extensions} []
+  library-extensions = ${?pekko.actor.typed.library-extensions} []
 
   # Receptionist is started eagerly to allow clustered receptionist to gather remote registrations early on.
-  library-extensions += "akka.actor.typed.receptionist.Receptionist$"
+  library-extensions += "org.apache.pekko.actor.typed.receptionist.Receptionist$"
 
   # While an actor is restarted (waiting for backoff to expire and children to stop)
   # incoming messages and signals are stashed, and delivered later to the newly restarted
@@ -24,54 +26,54 @@ akka.actor.typed {
   # buffer. If the capacity is exceed then additional incoming messages are dropped.
   restart-stash-capacity = 1000
 
-  # Typed mailbox defaults to the single consumber mailbox as balancing dispatcher is not supported
+  # Typed mailbox defaults to the single consumer mailbox as balancing dispatcher is not supported
   default-mailbox {
-    mailbox-type = "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
+    mailbox-type = "org.apache.pekko.dispatch.SingleConsumerOnlyUnboundedMailbox"
   }
 }
 
 # Load typed extensions by a classic extension.
-akka.library-extensions += "akka.actor.typed.internal.adapter.ActorSystemAdapter$LoadTypedExtensions"
+pekko.library-extensions += "org.apache.pekko.actor.typed.internal.adapter.ActorSystemAdapter$LoadTypedExtensions"
 
-akka.actor {
+pekko.actor {
   serializers {
-    typed-misc = "akka.actor.typed.internal.MiscMessageSerializer"
-    service-key = "akka.actor.typed.internal.receptionist.ServiceKeySerializer"
+    typed-misc = "org.apache.pekko.actor.typed.internal.MiscMessageSerializer"
+    service-key = "org.apache.pekko.actor.typed.internal.receptionist.ServiceKeySerializer"
   }
 
   serialization-identifiers {
-    "akka.actor.typed.internal.MiscMessageSerializer" = 24
-    "akka.actor.typed.internal.receptionist.ServiceKeySerializer" = 26
+    "org.apache.pekko.actor.typed.internal.MiscMessageSerializer" = 24
+    "org.apache.pekko.actor.typed.internal.receptionist.ServiceKeySerializer" = 26
   }
 
   serialization-bindings {
-    "akka.actor.typed.ActorRef" = typed-misc
-    "akka.actor.typed.internal.adapter.ActorRefAdapter" = typed-misc
-    "akka.actor.typed.internal.receptionist.DefaultServiceKey" = service-key
+    "org.apache.pekko.actor.typed.ActorRef" = typed-misc
+    "org.apache.pekko.actor.typed.internal.adapter.ActorRefAdapter" = typed-misc
+    "org.apache.pekko.actor.typed.internal.receptionist.DefaultServiceKey" = service-key
   }
 }
 
-# When using Akka Typed (having akka-actor-typed in classpath) the
-# akka.event.slf4j.Slf4jLogger is enabled instead of the DefaultLogger
-# even though it has not been explicitly defined in `akka.loggers`
+# When using Pekko Typed (having pekko-actor-typed in classpath) the
+# org.apache.pekko.event.slf4j.Slf4jLogger is enabled instead of the DefaultLogger
+# even though it has not been explicitly defined in `pekko.loggers`
 # configuration.
 #
-# Slf4jLogger will be used for all Akka classic logging via eventStream,
-# including logging from Akka internals. The Slf4jLogger is then using
+# Slf4jLogger will be used for all Pekko classic logging via eventStream,
+# including logging from Pekko internals. The Slf4jLogger is then using
 # an ordinary org.slf4j.Logger to emit the log events.
 #
 # The Slf4jLoggingFilter is also enabled automatically.
 #
 # This behavior can be disabled by setting this property to `off`.
-akka.use-slf4j = on
+pekko.use-slf4j = on
 
-akka.reliable-delivery {
+pekko.reliable-delivery {
   producer-controller {
 
     # To avoid head of line blocking from serialization and transfer
     # of large messages this can be enabled.
     # Large messages are chunked into pieces of the given size in bytes. The
-    # chunked messages are sent separatetely and assembled on the consumer side.
+    # chunked messages are sent separately and assembled on the consumer side.
     # Serialization and deserialization is performed by the ProducerController and
     # ConsumerController respectively instead of in the remote transport layer.
     chunk-large-messages = off
@@ -112,7 +114,7 @@ akka.reliable-delivery {
   }
 
   work-pulling {
-    producer-controller = ${akka.reliable-delivery.producer-controller}
+    producer-controller = ${pekko.reliable-delivery.producer-controller}
     producer-controller {
       # Limit of how many messages that can be buffered when there
       # is no demand from the consumer side.
@@ -122,7 +124,7 @@ akka.reliable-delivery {
       internal-ask-timeout = 60s
 
       # Chunked messages not implemented for work-pulling yet. Override to not
-      # propagate property from akka.reliable-delivery.producer-controller.
+      # propagate property from pekko.reliable-delivery.producer-controller.
       chunk-large-messages = off
     }
   }
similarity index 88%
rename from akka/repackaged-akka-jar/src/main/resources/cluster_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/cluster_reference.conf
index 6fa0e9458603a656b344dbda8184534b3dd230b1..13a6f2a1b1ce1bf7a4fe2ede88e530fe2f4bba3b 100644 (file)
@@ -1,17 +1,19 @@
-######################################
-# Akka Cluster Reference Config File #
-######################################
+# SPDX-License-Identifier: Apache-2.0
+
+#######################################
+# Pekko Cluster Reference Config File #
+#######################################
 
 # This is the reference config file that contains all the default settings.
 # Make your edits/overrides in your application.conf.
 
-akka {
+pekko {
 
   cluster {
     # Initial contact points of the cluster.
     # The nodes to join automatically at startup.
     # Comma separated full URIs defined by a string on the form of
-    # "akka://system@hostname:port"
+    # "pekko://system@hostname:port"
     # Leave as empty if the node is supposed to be joined manually.
     seed-nodes = []
 
@@ -19,20 +21,20 @@ akka {
     # When this is the first seed node and there is no positive reply from the other
     # seed nodes within this timeout it will join itself to bootstrap the cluster.
     # When this is not the first seed node the join attempts will be performed with
-    # this interval.  
+    # this interval.
     seed-node-timeout = 5s
 
     # If a join request fails it will be retried after this period.
     # Disable join retry by specifying "off".
     retry-unsuccessful-join-after = 10s
-    
+
     # The joining of given seed nodes will by default be retried indefinitely until
     # a successful join. That process can be aborted if unsuccessful by defining this
     # timeout. When aborted it will run CoordinatedShutdown, which by default will
     # terminate the ActorSystem. CoordinatedShutdown can also be configured to exit
     # the JVM. It is useful to define this timeout if the seed-nodes are assembled
     # dynamically and a restart with new seed-nodes should be tried after unsuccessful
-    # attempts.   
+    # attempts.
     shutdown-after-unsuccessful-join-seed-nodes = off
 
     # Time margin after which shards or singletons that belonged to a downed/removed
@@ -43,8 +45,8 @@ akka {
     # e.g. by keeping the larger side of the partition and shutting down the smaller side.
     # Disable with "off" or specify a duration to enable.
     #
-    # When using the `akka.cluster.sbr.SplitBrainResolver` as downing provider it will use
-    # the akka.cluster.split-brain-resolver.stable-after as the default down-removal-margin
+    # When using the `org.apache.pekko.cluster.sbr.SplitBrainResolver` as downing provider it will use
+    # the org.apache.pekko.cluster.split-brain-resolver.stable-after as the default down-removal-margin
     # if this down-removal-margin is undefined.
     down-removal-margin = off
 
@@ -52,7 +54,7 @@ akka {
     # If this setting is left empty the `NoDowning` provider is used and no automatic downing will be performed.
     #
     # If specified the value must be the fully qualified class name of a subclass of
-    # `akka.cluster.DowningProvider` having a public one argument constructor accepting an `ActorSystem`
+    # `org.apache.pekko.cluster.DowningProvider` having a public one argument constructor accepting an `ActorSystem`
     downing-provider-class = ""
 
     # Artery only setting
@@ -75,7 +77,7 @@ akka {
     # special role assigned from the data-center a node belongs to (see the
     # multi-data-center section below)
     roles = []
-    
+
     # Run the coordinated shutdown from phase 'cluster-shutdown' when the cluster
     # is shutdown for other reasons than when leaving, e.g. when downing. This
     # will terminate the ActorSystem when the cluster extension is shutdown.
@@ -106,7 +108,7 @@ akka {
     #
     # It has support for https://github.com/dwijnand/sbt-dynver format with `+` or
     # `-` separator. The number of commits from the tag is handled as a numeric part.
-    # For example `1.0.0+3-73475dce26` is less than `1.0.10+10-ed316bd024` (3 < 10).
+    # For example `1.0.0+3-73475dce26` is less than `1.0.0+10-ed316bd024` (3 < 10).
     app-version = "0.0.0"
 
     # Minimum required number of members before the leader changes member status
@@ -116,20 +118,20 @@ akka {
     min-nr-of-members = 1
 
     # Enable/disable info level logging of cluster events.
-    # These are logged with logger name `akka.cluster.Cluster`.
+    # These are logged with logger name `org.apache.pekko.cluster.Cluster`.
     log-info = on
 
     # Enable/disable verbose info-level logging of cluster events
     # for temporary troubleshooting. Defaults to 'off'.
-    # These are logged with logger name `akka.cluster.Cluster`.
+    # These are logged with logger name `org.apache.pekko.cluster.Cluster`.
     log-info-verbose = off
 
     # Enable or disable JMX MBeans for management of the cluster
     jmx.enabled = on
 
     # Enable or disable multiple JMX MBeans in the same JVM
-    # If this is disabled, the MBean Object name is "akka:type=Cluster"
-    # If this is enabled, them MBean Object names become "akka:type=Cluster,port=$clusterPortNumber"
+    # If this is disabled, the MBean Object name is "pekko:type=Cluster"
+    # If this is enabled, them MBean Object names become "pekko:type=Cluster,port=$clusterPortNumber"
     jmx.multi-mbeans-in-same-jvm = off
 
     # how long should the node wait before starting the periodic tasks
@@ -138,7 +140,7 @@ akka {
 
     # how often should the node send out gossip information?
     gossip-interval = 1s
-    
+
     # discard incoming gossip messages if not handled within this duration
     gossip-time-to-live = 2s
 
@@ -156,13 +158,13 @@ akka {
 
     # The id of the dispatcher to use for cluster actors.
     # If specified you need to define the settings of the actual dispatcher.
-    use-dispatcher = "akka.actor.internal-dispatcher"
+    use-dispatcher = "pekko.actor.internal-dispatcher"
 
     # Gossip to random node with newer or older state information, if any with
     # this probability. Otherwise Gossip to any random live node.
     # Probability value is between 0.0 and 1.0. 0.0 means never, 1.0 means always.
     gossip-different-view-probability = 0.8
-    
+
     # Reduced the above probability when the number of nodes in the cluster
     # greater than this value.
     reduce-gossip-different-view-probability = 400
@@ -181,10 +183,10 @@ akka {
     failure-detector {
 
       # FQCN of the failure detector implementation.
-      # It must implement akka.remote.FailureDetector and have
+      # It must implement org.apache.pekko.remote.FailureDetector and have
       # a public constructor with a com.typesafe.config.Config and
-      # akka.actor.EventStream parameter.
-      implementation-class = "akka.remote.PhiAccrualFailureDetector"
+      # org.apache.pekko.actor.EventStream parameter.
+      implementation-class = "org.apache.pekko.remote.PhiAccrualFailureDetector"
 
       # How often keep-alive heartbeat messages should be sent to each connection.
       heartbeat-interval = 1 s
@@ -216,7 +218,7 @@ akka {
       # Number of member nodes that each member will send heartbeat messages to,
       # i.e. each node will be monitored by this number of other nodes.
       monitored-by-nr-of-members = 9
-      
+
       # After the heartbeat request has been sent the first failure detection
       # will start after this period, even though no heartbeat message has
       # been received.
@@ -227,11 +229,11 @@ akka {
     # Configures multi-dc specific heartbeating and other mechanisms,
     # many of them have a direct counter-part in "one datacenter mode",
     # in which case these settings would not be used at all - they only apply,
-    # if your cluster nodes are configured with at-least 2 different `akka.cluster.data-center` values.
+    # if your cluster nodes are configured with at-least 2 different `pekko.cluster.data-center` values.
     multi-data-center {
 
       # Defines which data center this node belongs to. It is typically used to make islands of the
-      # cluster that are colocated. This can be used to make the cluster aware that it is running
+      # cluster that are co-located. This can be used to make the cluster aware that it is running
       # across multiple availability zones or regions. It can also be used for other logical
       # grouping of nodes.
       self-data-center = "default"
@@ -250,21 +252,21 @@ akka {
 
       failure-detector {
         # FQCN of the failure detector implementation.
-        # It must implement akka.remote.FailureDetector and have
+        # It must implement org.apache.pekko.remote.FailureDetector and have
         # a public constructor with a com.typesafe.config.Config and
-        # akka.actor.EventStream parameter.
-        implementation-class = "akka.remote.DeadlineFailureDetector"
-  
+        # org.apache.pekko.actor.EventStream parameter.
+        implementation-class = "org.apache.pekko.remote.DeadlineFailureDetector"
+
         # Number of potentially lost/delayed heartbeats that will be
         # accepted before considering it to be an anomaly.
         # This margin is important to be able to survive sudden, occasional,
         # pauses in heartbeat arrivals, due to for example garbage collect or
         # network drop.
         acceptable-heartbeat-pause = 10 s
-        
+
         # How often keep-alive heartbeat messages should be sent to each connection.
         heartbeat-interval = 3 s
-  
+
         # After the heartbeat request has been sent the first failure detection
         # will start after this period, even though no heartbeat message has
         # been received.
@@ -275,7 +277,7 @@ akka {
     # If the tick-duration of the default scheduler is longer than the
     # tick-duration configured here a dedicated scheduler will be used for
     # periodic tasks of the cluster, otherwise the default scheduler is used.
-    # See akka.scheduler settings for more details.
+    # See pekko.scheduler settings for more details.
     scheduler {
       tick-duration = 33ms
       ticks-per-wheel = 512
@@ -283,7 +285,7 @@ akka {
 
     debug {
       # Log heartbeat events (very verbose, useful mostly when debugging heartbeating issues).
-      # These are logged with logger name `akka.cluster.ClusterHeartbeat`.
+      # These are logged with logger name `org.apache.pekko.cluster.ClusterHeartbeat`.
       verbose-heartbeat-logging = off
 
       # log verbose details about gossip
@@ -307,7 +309,7 @@ akka {
       # Checkers defined in reference.conf can be disabled by application by using empty string value
       # for the named entry.
       checkers {
-        akka-cluster = "akka.cluster.JoinConfigCompatCheckCluster"
+        pekko-cluster = "org.apache.pekko.cluster.JoinConfigCompatCheckCluster"
       }
 
       # Some configuration properties might not be appropriate to transfer between nodes
@@ -318,14 +320,14 @@ akka {
       # All properties starting with the paths defined here are excluded, i.e. you can add the path of a whole
       # section here to skip everything inside that section.
       sensitive-config-paths {
-        akka = [
+        pekko = [
           "user.home", "user.name", "user.dir",
           "socksNonProxyHosts", "http.nonProxyHosts", "ftp.nonProxyHosts",
-          "akka.remote.secure-cookie",
-          "akka.remote.classic.netty.ssl.security",
+          "pekko.remote.secure-cookie",
+          "pekko.remote.classic.netty.ssl.security",
           # Pre 2.6 path, keep around to avoid sending things misconfigured with old paths
-          "akka.remote.netty.ssl.security",
-          "akka.remote.artery.ssl"
+          "pekko.remote.netty.ssl.security",
+          "pekko.remote.artery.ssl"
         ]
       }
 
@@ -344,13 +346,13 @@ akka {
     # it will deploy 2 routees per new member in the cluster, up to
     # 25 members.
     max-nr-of-instances-per-node = 1
-    
+
     # Maximum number of routees that will be deployed, in total
     # on all nodes. See also description of max-nr-of-instances-per-node.
     # For backwards compatibility reasons, nr-of-instances
     # has the same purpose as max-total-nr-of-instances for cluster
     # aware routers and nr-of-instances (if defined by user) takes
-    # precedence over max-total-nr-of-instances. 
+    # precedence over max-total-nr-of-instances.
     max-total-nr-of-instances = 10000
 
     # Defines if routees are allowed to be located on the same node as
@@ -369,18 +371,18 @@ akka {
   # Protobuf serializer for cluster messages
   actor {
     serializers {
-      akka-cluster = "akka.cluster.protobuf.ClusterMessageSerializer"
+      pekko-cluster = "org.apache.pekko.cluster.protobuf.ClusterMessageSerializer"
     }
 
     serialization-bindings {
-      "akka.cluster.ClusterMessage" = akka-cluster
-      "akka.cluster.routing.ClusterRouterPool" = akka-cluster
+      "org.apache.pekko.cluster.ClusterMessage" = pekko-cluster
+      "org.apache.pekko.cluster.routing.ClusterRouterPool" = pekko-cluster
     }
-    
+
     serialization-identifiers {
-      "akka.cluster.protobuf.ClusterMessageSerializer" = 5
+      "org.apache.pekko.cluster.protobuf.ClusterMessageSerializer" = 5
     }
-    
+
   }
 
 }
@@ -388,9 +390,9 @@ akka {
 #//#split-brain-resolver
 
 # To enable the split brain resolver you first need to enable the provider in your application.conf:
-# akka.cluster.downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"
+# pekko.cluster.downing-provider-class = "org.apache.pekko.cluster.sbr.SplitBrainResolverProvider"
 
-akka.cluster.split-brain-resolver {
+pekko.cluster.split-brain-resolver {
   # Select one of the available strategies (see descriptions below):
   # static-quorum, keep-majority, keep-oldest, down-all, lease-majority
   active-strategy = keep-majority
@@ -437,7 +439,7 @@ akka.cluster.split-brain-resolver {
 # consists of 3 nodes each, i.e. each side thinks it has enough nodes to continue by
 # itself. A warning is logged if this recommendation is violated.
 #//#static-quorum
-akka.cluster.split-brain-resolver.static-quorum {
+pekko.cluster.split-brain-resolver.static-quorum {
   # minimum number of nodes that the cluster must have
   quorum-size = undefined
 
@@ -452,7 +454,7 @@ akka.cluster.split-brain-resolver.static-quorum {
 # Note that if there are more than two partitions and none is in majority each part
 # will shutdown itself, terminating the whole cluster.
 #//#keep-majority
-akka.cluster.split-brain-resolver.keep-majority {
+pekko.cluster.split-brain-resolver.keep-majority {
   # if the 'role' is defined the decision is based only on members with that 'role'
   role = ""
 }
@@ -469,7 +471,7 @@ akka.cluster.split-brain-resolver.keep-majority {
 # when 'down-if-alone' is 'on', otherwise they will down themselves if the
 # oldest node crashes, i.e. shutdown the whole cluster together with the oldest node.
 #//#keep-oldest
-akka.cluster.split-brain-resolver.keep-oldest {
+pekko.cluster.split-brain-resolver.keep-oldest {
   # Enable downing of the oldest node when it is partitioned from all other nodes
   down-if-alone = on
 
@@ -484,11 +486,11 @@ akka.cluster.split-brain-resolver.keep-oldest {
 # This is achieved by adding a delay before trying to acquire the lease on the
 # minority side.
 #//#lease-majority
-akka.cluster.split-brain-resolver.lease-majority {
+pekko.cluster.split-brain-resolver.lease-majority {
   lease-implementation = ""
 
-  # The recommended format for the lease name is "<service-name>-akka-sbr".
-  # When lease-name is not defined, the name will be set to "<actor-system-name>-akka-sbr"
+  # The recommended format for the lease name is "<service-name>-pekko-sbr".
+  # When lease-name is not defined, the name will be set to "<actor-system-name>-pekko-sbr"
   lease-name = ""
 
   # This delay is used on the minority side before trying to acquire the lease,
similarity index 80%
rename from akka/repackaged-akka-jar/src/main/resources/cluster_tools_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/cluster_tools_reference.conf
index 783326f1851e687a3104e2acbeeb423e4dc33c3b..3405a3f194ecc0553fc4b8abec1e3803a2e6f8f7 100644 (file)
@@ -1,13 +1,15 @@
-############################################
-# Akka Cluster Tools Reference Config File #
-############################################
+# SPDX-License-Identifier: Apache-2.0
+
+#############################################
+# Pekko Cluster Tools Reference Config File #
+#############################################
 
 # This is the reference config file that contains all the default settings.
 # Make your edits/overrides in your application.conf.
 
 # //#pub-sub-ext-config
 # Settings for the DistributedPubSub extension
-akka.cluster.pub-sub {
+pekko.cluster.pub-sub {
   # Actor name of the mediator actor, /system/distributedPubSubMediator
   name = distributedPubSubMediator
 
@@ -34,28 +36,28 @@ akka.cluster.pub-sub {
 
   # The id of the dispatcher to use for DistributedPubSubMediator actors.
   # If specified you need to define the settings of the actual dispatcher.
-  use-dispatcher = "akka.actor.internal-dispatcher"
+  use-dispatcher = "pekko.actor.internal-dispatcher"
 }
 # //#pub-sub-ext-config
 
 # Protobuf serializer for cluster DistributedPubSubMeditor messages
-akka.actor {
+pekko.actor {
   serializers {
-    akka-pubsub = "akka.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer"
+    pekko-pubsub = "org.apache.pekko.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer"
   }
   serialization-bindings {
-    "akka.cluster.pubsub.DistributedPubSubMessage" = akka-pubsub
-    "akka.cluster.pubsub.DistributedPubSubMediator$Internal$SendToOneSubscriber" = akka-pubsub
+    "org.apache.pekko.cluster.pubsub.DistributedPubSubMessage" = pekko-pubsub
+    "org.apache.pekko.cluster.pubsub.DistributedPubSubMediator$Internal$SendToOneSubscriber" = pekko-pubsub
   }
   serialization-identifiers {
-    "akka.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer" = 9
+    "org.apache.pekko.cluster.pubsub.protobuf.DistributedPubSubMessageSerializer" = 9
   }
 }
 
 
 # //#receptionist-ext-config
 # Settings for the ClusterClientReceptionist extension
-akka.cluster.client.receptionist {
+pekko.cluster.client.receptionist {
   # Actor name of the ClusterReceptionist actor, /system/receptionist
   name = receptionist
 
@@ -72,7 +74,7 @@ akka.cluster.client.receptionist {
 
   # The id of the dispatcher to use for ClusterReceptionist actors.
   # If specified you need to define the settings of the actual dispatcher.
-  use-dispatcher = "akka.actor.internal-dispatcher"
+  use-dispatcher = "pekko.actor.internal-dispatcher"
 
   # How often failure detection heartbeat messages should be received for
   # each ClusterClient
@@ -80,7 +82,7 @@ akka.cluster.client.receptionist {
 
   # Number of potentially lost/delayed heartbeats that will be
   # accepted before considering it to be an anomaly.
-  # The ClusterReceptionist is using the akka.remote.DeadlineFailureDetector, which
+  # The ClusterReceptionist is using the org.apache.pekko.remote.DeadlineFailureDetector, which
   # will trigger if there are no heartbeats within the duration
   # heartbeat-interval + acceptable-heartbeat-pause, i.e. 15 seconds with
   # the default settings.
@@ -93,12 +95,12 @@ akka.cluster.client.receptionist {
 
 # //#cluster-client-config
 # Settings for the ClusterClient
-akka.cluster.client {
+pekko.cluster.client {
   # Actor paths of the ClusterReceptionist actors on the servers (cluster nodes)
   # that the client will try to contact initially. It is mandatory to specify
   # at least one initial contact.
   # Comma separated full actor paths defined by a string on the form of
-  # "akka://system@hostname:port/system/receptionist"
+  # "pekko://system@hostname:port/system/receptionist"
   initial-contacts = []
 
   # Interval at which the client retries to establish contact with one of
@@ -114,7 +116,7 @@ akka.cluster.client {
 
   # Number of potentially lost/delayed heartbeats that will be
   # accepted before considering it to be an anomaly.
-  # The ClusterClient is using the akka.remote.DeadlineFailureDetector, which
+  # The ClusterClient is using the org.apache.pekko.remote.DeadlineFailureDetector, which
   # will trigger if there are no heartbeats within the duration
   # heartbeat-interval + acceptable-heartbeat-pause, i.e. 15 seconds with
   # the default settings.
@@ -128,7 +130,7 @@ akka.cluster.client {
   # Maximum allowed buffer size is 10000.
   buffer-size = 1000
 
-  # If connection to the receiptionist is lost and the client has not been
+  # If connection to the receptionist is lost and the client has not been
   # able to acquire a new connection for this long the client will stop itself.
   # This duration makes it possible to watch the cluster client and react on a more permanent
   # loss of connection with the cluster, for example by accessing some kind of
@@ -140,20 +142,20 @@ akka.cluster.client {
 # //#cluster-client-config
 
 # Protobuf serializer for ClusterClient messages
-akka.actor {
+pekko.actor {
   serializers {
-    akka-cluster-client = "akka.cluster.client.protobuf.ClusterClientMessageSerializer"
+    pekko-cluster-client = "org.apache.pekko.cluster.client.protobuf.ClusterClientMessageSerializer"
   }
   serialization-bindings {
-    "akka.cluster.client.ClusterClientMessage" = akka-cluster-client
+    "org.apache.pekko.cluster.client.ClusterClientMessage" = pekko-cluster-client
   }
   serialization-identifiers {
-    "akka.cluster.client.protobuf.ClusterClientMessageSerializer" = 15
+    "org.apache.pekko.cluster.client.protobuf.ClusterClientMessageSerializer" = 15
   }
 }
 
 # //#singleton-config
-akka.cluster.singleton {
+pekko.cluster.singleton {
   # The actor name of the child singleton actor.
   singleton-name = "singleton"
 
@@ -164,11 +166,11 @@ akka.cluster.singleton {
   # When a node is becoming oldest it sends hand-over request to previous oldest,
   # that might be leaving the cluster. This is retried with this interval until
   # the previous oldest confirms that the hand over has started or the previous
-  # oldest member is removed from the cluster (+ akka.cluster.down-removal-margin).
+  # oldest member is removed from the cluster (+ pekko.cluster.down-removal-margin).
   hand-over-retry-interval = 1s
 
   # The number of retries are derived from hand-over-retry-interval and
-  # akka.cluster.down-removal-margin (or ClusterSingletonManagerSettings.removalMargin),
+  # pekko.cluster.down-removal-margin (or ClusterSingletonManagerSettings.removalMargin),
   # but it will never be less than this property.
   # After the hand over retries and it's still not able to exchange the hand over messages
   # with the previous oldest it will restart itself by throwing ClusterSingletonManagerIsStuck,
@@ -193,9 +195,9 @@ akka.cluster.singleton {
 # //#singleton-config
 
 # //#singleton-proxy-config
-akka.cluster.singleton-proxy {
+pekko.cluster.singleton-proxy {
   # The actor name of the singleton actor that is started by the ClusterSingletonManager
-  singleton-name = ${akka.cluster.singleton.singleton-name}
+  singleton-name = ${pekko.cluster.singleton.singleton-name}
 
   # The role of the cluster nodes where the singleton can be deployed.
   # Corresponding to the role used by the `ClusterSingletonManager`. If the role is not
@@ -218,14 +220,14 @@ akka.cluster.singleton-proxy {
 # //#singleton-proxy-config
 
 # Serializer for cluster ClusterSingleton messages
-akka.actor {
+pekko.actor {
   serializers {
-    akka-singleton = "akka.cluster.singleton.protobuf.ClusterSingletonMessageSerializer"
+    pekko-singleton = "org.apache.pekko.cluster.singleton.protobuf.ClusterSingletonMessageSerializer"
   }
   serialization-bindings {
-    "akka.cluster.singleton.ClusterSingletonMessage" = akka-singleton
+    "org.apache.pekko.cluster.singleton.ClusterSingletonMessage" = pekko-singleton
   }
   serialization-identifiers {
-    "akka.cluster.singleton.protobuf.ClusterSingletonMessageSerializer" = 14
+    "org.apache.pekko.cluster.singleton.protobuf.ClusterSingletonMessageSerializer" = 14
   }
 }
similarity index 65%
rename from akka/repackaged-akka-jar/src/main/resources/cluster_typed_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/cluster_typed_reference.conf
index 4cd45a5d24f6c4f9a76fdaf3b873ff048e227bdc..ddfdd555f5116b2e24d4a4d572b3b6ba5a3ea3f8 100644 (file)
@@ -1,11 +1,13 @@
-############################################
-# Akka Cluster Typed Reference Config File #
-############################################
+# SPDX-License-Identifier: Apache-2.0
+
+#############################################
+# Pekko Cluster Typed Reference Config File #
+#############################################
 
 # This is the reference config file that contains all the default settings.
 # Make your edits/overrides in your application.conf.
 
-akka.cluster.typed.receptionist {
+pekko.cluster.typed.receptionist {
   # Updates with Distributed Data are done with this consistency level.
   # Possible values: local, majority, all, 2, 3, 4 (n)
   write-consistency = local
@@ -26,13 +28,13 @@ akka.cluster.typed.receptionist {
   distributed-key-count = 5
 
   # Settings for the Distributed Data replicator used by Receptionist.
-  # Same layout as akka.cluster.distributed-data.
-  distributed-data = ${akka.cluster.distributed-data}
+  # Same layout as pekko.cluster.distributed-data.
+  distributed-data = ${pekko.cluster.distributed-data}
   # make sure that by default it's for all roles (Play loads config in different way)
   distributed-data.role = ""
 }
 
-akka.cluster.ddata.typed {
+pekko.cluster.ddata.typed {
   # The timeout to use for ask operations in ReplicatorMessageAdapter.
   # This should be longer than the timeout given in Replicator.WriteConsistency and
   # Replicator.ReadConsistency. The replicator will always send a reply within those
@@ -44,23 +46,23 @@ akka.cluster.ddata.typed {
   replicator-message-adapter-unexpected-ask-timeout = 20 s
 }
 
-akka {
+pekko {
   actor {
     serialization-identifiers {
-      "akka.cluster.typed.internal.AkkaClusterTypedSerializer" = 28
-      "akka.cluster.typed.internal.delivery.ReliableDeliverySerializer" = 36
+      "org.apache.pekko.cluster.typed.internal.PekkoClusterTypedSerializer" = 28
+      "org.apache.pekko.cluster.typed.internal.delivery.ReliableDeliverySerializer" = 36
     }
     serializers {
-      typed-cluster = "akka.cluster.typed.internal.AkkaClusterTypedSerializer"
-      reliable-delivery = "akka.cluster.typed.internal.delivery.ReliableDeliverySerializer"
+      typed-cluster = "org.apache.pekko.cluster.typed.internal.PekkoClusterTypedSerializer"
+      reliable-delivery = "org.apache.pekko.cluster.typed.internal.delivery.ReliableDeliverySerializer"
     }
     serialization-bindings {
-      "akka.cluster.typed.internal.receptionist.ClusterReceptionist$Entry" = typed-cluster
-      "akka.actor.typed.internal.pubsub.TopicImpl$MessagePublished" = typed-cluster
-      "akka.actor.typed.delivery.internal.DeliverySerializable" = reliable-delivery
+      "org.apache.pekko.cluster.typed.internal.receptionist.ClusterReceptionist$Entry" = typed-cluster
+      "org.apache.pekko.actor.typed.internal.pubsub.TopicImpl$MessagePublished" = typed-cluster
+      "org.apache.pekko.actor.typed.delivery.internal.DeliverySerializable" = reliable-delivery
     }
   }
   cluster.configuration-compatibility-check.checkers {
-    receptionist = "akka.cluster.typed.internal.receptionist.ClusterReceptionistConfigCompatChecker"
+    receptionist = "org.apache.pekko.cluster.typed.internal.receptionist.ClusterReceptionistConfigCompatChecker"
   }
 }
similarity index 79%
rename from akka/repackaged-akka-jar/src/main/resources/distributed_data_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/distributed_data_reference.conf
index f716157bd5d2bf8ff47d24c009009ea3a0a42c60..dc5cf966f9adf3244567e0e37dafa2287548dc60 100644 (file)
@@ -1,6 +1,8 @@
-##############################################
-# Akka Distributed DataReference Config File #
-##############################################
+# SPDX-License-Identifier: Apache-2.0
+
+###############################################
+# Pekko Distributed DataReference Config File #
+###############################################
 
 # This is the reference config file that contains all the default settings.
 # Make your edits/overrides in your application.conf.
@@ -8,7 +10,7 @@
 
 #//#distributed-data
 # Settings for the DistributedData extension
-akka.cluster.distributed-data {
+pekko.cluster.distributed-data {
   # Actor name of the Replicator actor, /system/ddataReplicator
   name = ddataReplicator
 
@@ -18,7 +20,7 @@ akka.cluster.distributed-data {
 
   # How often the Replicator should send out gossip information
   gossip-interval = 2 s
-  
+
   # How often the subscribers will be notified of changes, if any
   notify-subscribers-interval = 500 ms
 
@@ -33,34 +35,34 @@ akka.cluster.distributed-data {
   # The actual number of data entries in each Gossip message is dynamically
   # adjusted to not exceed the maximum remote message size (maximum-frame-size).
   max-delta-elements = 500
-  
+
   # The id of the dispatcher to use for Replicator actors.
   # If specified you need to define the settings of the actual dispatcher.
-  use-dispatcher = "akka.actor.internal-dispatcher"
+  use-dispatcher = "pekko.actor.internal-dispatcher"
 
   # How often the Replicator checks for pruning of data associated with
   # removed cluster nodes. If this is set to 'off' the pruning feature will
   # be completely disabled.
   pruning-interval = 120 s
-  
+
   # How long time it takes to spread the data to all other replica nodes.
   # This is used when initiating and completing the pruning process of data associated
-  # with removed cluster nodes. The time measurement is stopped when any replica is 
+  # with removed cluster nodes. The time measurement is stopped when any replica is
   # unreachable, but it's still recommended to configure this with certain margin.
   # It should be in the magnitude of minutes even though typical dissemination time
-  # is shorter (grows logarithmic with number of nodes). There is no advantage of 
+  # is shorter (grows logarithmic with number of nodes). There is no advantage of
   # setting this too low. Setting it to large value will delay the pruning process.
   max-pruning-dissemination = 300 s
-  
+
   # The markers of that pruning has been performed for a removed node are kept for this
   # time and thereafter removed. If and old data entry that was never pruned is somehow
   # injected and merged with existing data after this time the value will not be correct.
   # This would be possible (although unlikely) in the case of a long network partition.
-  # It should be in the magnitude of hours. For durable data it is configured by 
-  # 'akka.cluster.distributed-data.durable.pruning-marker-time-to-live'.
+  # It should be in the magnitude of hours. For durable data it is configured by
+  # 'pekko.cluster.distributed-data.durable.pruning-marker-time-to-live'.
  pruning-marker-time-to-live = 6 h
-  
-  # Serialized Write and Read messages are cached when they are sent to 
+
+  # Serialized Write and Read messages are cached when they are sent to
   # several nodes. If no further activity they are removed from the cache
   # after this duration.
   serializer-cache-time-to-live = 10s
@@ -68,47 +70,47 @@ akka.cluster.distributed-data {
   # Update and Get operations are sent to oldest nodes first.
   # This is useful together with Cluster Singleton, which is running on oldest nodes.
   prefer-oldest = off
-  
+
   # Settings for delta-CRDT
   delta-crdt {
     # enable or disable delta-CRDT replication
     enabled = on
-    
+
     # Some complex deltas grow in size for each update and above this
     # threshold such deltas are discarded and sent as full state instead.
     # This is number of elements or similar size hint, not size in bytes.
     max-delta-size = 50
   }
-  
+
   durable {
     # List of keys that are durable. Prefix matching is supported by using * at the
-    # end of a key.  
+    # end of a key.
     keys = []
-    
+
     # The markers of that pruning has been performed for a removed node are kept for this
     # time and thereafter removed. If and old data entry that was never pruned is
     # injected and merged with existing data after this time the value will not be correct.
     # This would be possible if replica with durable data didn't participate in the pruning
-    # (e.g. it was shutdown) and later started after this time. A durable replica should not 
+    # (e.g. it was shutdown) and later started after this time. A durable replica should not
     # be stopped for longer time than this duration and if it is joining again after this
     # duration its data should first be manually removed (from the lmdb directory).
     # It should be in the magnitude of days. Note that there is a corresponding setting
-    # for non-durable data: 'akka.cluster.distributed-data.pruning-marker-time-to-live'.
+    # for non-durable data: 'pekko.cluster.distributed-data.pruning-marker-time-to-live'.
     pruning-marker-time-to-live = 10 d
-    
+
     # Fully qualified class name of the durable store actor. It must be a subclass
-    # of akka.actor.Actor and handle the protocol defined in 
-    # akka.cluster.ddata.DurableStore. The class must have a constructor with 
+    # of pekko.actor.Actor and handle the protocol defined in
+    # org.apache.pekko.cluster.ddata.DurableStore. The class must have a constructor with
     # com.typesafe.config.Config parameter.
-    store-actor-class = akka.cluster.ddata.LmdbDurableStore
-    
-    use-dispatcher = akka.cluster.distributed-data.durable.pinned-store
-    
+    store-actor-class = org.apache.pekko.cluster.ddata.LmdbDurableStore
+
+    use-dispatcher = pekko.cluster.distributed-data.durable.pinned-store
+
     pinned-store {
       executor = thread-pool-executor
       type = PinnedDispatcher
     }
-    
+
     # Config for the LmdbDurableStore
     lmdb {
       # Directory of LMDB file. There are two options:
@@ -120,40 +122,40 @@ akka.cluster.distributed-data {
       #
       # When running in production you may want to configure this to a specific
       # path (alt 2), since the default directory contains the remote port of the
-      # actor system to make the name unique. If using a dynamically assigned 
-      # port (0) it will be different each time and the previously stored data 
+      # actor system to make the name unique. If using a dynamically assigned
+      # port (0) it will be different each time and the previously stored data
       # will not be loaded.
       dir = "ddata"
-      
+
       # Size in bytes of the memory mapped file.
       map-size = 100 MiB
-      
+
       # Accumulate changes before storing improves performance with the
       # risk of losing the last writes if the JVM crashes.
       # The interval is by default set to 'off' to write each update immediately.
-      # Enabling write behind by specifying a duration, e.g. 200ms, is especially 
-      # efficient when performing many writes to the same key, because it is only 
-      # the last value for each key that will be serialized and stored.  
+      # Enabling write behind by specifying a duration, e.g. 200ms, is especially
+      # efficient when performing many writes to the same key, because it is only
+      # the last value for each key that will be serialized and stored.
       # write-behind-interval = 200 ms
       write-behind-interval = off
     }
   }
-  
+
 }
 #//#distributed-data
 
 # Protobuf serializer for cluster DistributedData messages
-akka.actor {
+pekko.actor {
   serializers {
-    akka-data-replication = "akka.cluster.ddata.protobuf.ReplicatorMessageSerializer"
-    akka-replicated-data = "akka.cluster.ddata.protobuf.ReplicatedDataSerializer"
+    pekko-data-replication = "org.apache.pekko.cluster.ddata.protobuf.ReplicatorMessageSerializer"
+    pekko-replicated-data = "org.apache.pekko.cluster.ddata.protobuf.ReplicatedDataSerializer"
   }
   serialization-bindings {
-    "akka.cluster.ddata.Replicator$ReplicatorMessage" = akka-data-replication
-    "akka.cluster.ddata.ReplicatedDataSerialization" = akka-replicated-data
+    "org.apache.pekko.cluster.ddata.Replicator$ReplicatorMessage" = pekko-data-replication
+    "org.apache.pekko.cluster.ddata.ReplicatedDataSerialization" = pekko-replicated-data
   }
   serialization-identifiers {
-    "akka.cluster.ddata.protobuf.ReplicatedDataSerializer" = 11
-    "akka.cluster.ddata.protobuf.ReplicatorMessageSerializer" = 12
+    "org.apache.pekko.cluster.ddata.protobuf.ReplicatedDataSerializer" = 11
+    "org.apache.pekko.cluster.ddata.protobuf.ReplicatorMessageSerializer" = 12
   }
 }
similarity index 80%
rename from akka/repackaged-akka-jar/src/main/resources/persistence_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/persistence_reference.conf
index db9ae1ecbea08a517f4d8cb8cd20bf640ee482e1..a72e779f8158f599b2f48bb82603c03b174a7b99 100644 (file)
@@ -1,31 +1,30 @@
+# SPDX-License-Identifier: Apache-2.0
+
 ###########################################################
-# Akka Persistence Extension Reference Configuration File #
+# Pekko Persistence Extension Reference Configuration File #
 ###########################################################
 
 # This is the reference config file that contains all the default settings.
 # Make your edits in your application.conf in order to override these settings.
 
-# Directory of persistence journal and snapshot store plugins is available at the 
-# Akka Community Projects page https://akka.io/community/
-
 # Default persistence extension settings.
-akka.persistence {
+pekko.persistence {
 
     # When starting many persistent actors at the same time the journal
     # and its data store is protected from being overloaded by limiting number
     # of recoveries that can be in progress at the same time. When
     # exceeding the limit the actors will wait until other recoveries have
-    # been completed.   
+    # been completed.
     max-concurrent-recoveries = 50
 
     # Fully qualified class name providing a default internal stash overflow strategy.
-    # It needs to be a subclass of akka.persistence.StashOverflowStrategyConfigurator.
+    # It needs to be a subclass of org.apache.pekko.persistence.StashOverflowStrategyConfigurator.
     # The default strategy throws StashOverflowException.
-    internal-stash-overflow-strategy = "akka.persistence.ThrowExceptionConfigurator"
+    internal-stash-overflow-strategy = "org.apache.pekko.persistence.ThrowExceptionConfigurator"
     journal {
-        # Absolute path to the journal plugin configuration entry used by 
+        # Absolute path to the journal plugin configuration entry used by
         # persistent actor by default.
-        # Persistent actor can override `journalPluginId` method 
+        # Persistent actor can override `journalPluginId` method
         # in order to rely on a different journal plugin.
         plugin = ""
         # List of journal plugins to start automatically. Use "" for the default journal plugin.
@@ -39,27 +38,27 @@ akka.persistence {
         # It is not mandatory to specify a snapshot store plugin.
         # If you don't use snapshots you don't have to configure it.
         # Note that Cluster Sharding is using snapshots, so if you
-        # use Cluster Sharding you need to define a snapshot store plugin. 
+        # use Cluster Sharding you need to define a snapshot store plugin.
         plugin = ""
         # List of snapshot stores to start automatically. Use "" for the default snapshot store.
         auto-start-snapshot-stores = []
     }
-    # used as default-snapshot store if no plugin configured 
-    # (see `akka.persistence.snapshot-store`)
+    # used as default-snapshot store if no plugin configured
+    # (see `pekko.persistence.snapshot-store`)
     no-snapshot-store {
-      class = "akka.persistence.snapshot.NoSnapshotStore"
+      class = "org.apache.pekko.persistence.snapshot.NoSnapshotStore"
     }
     # Default reliable delivery settings.
     at-least-once-delivery {
         # Interval between re-delivery attempts.
         redeliver-interval = 5s
-        # Maximum number of unconfirmed messages that will be sent in one 
+        # Maximum number of unconfirmed messages that will be sent in one
         # re-delivery burst.
         redelivery-burst-limit = 10000
-        # After this number of delivery attempts a 
+        # After this number of delivery attempts a
         # `ReliableRedelivery.UnconfirmedWarning`, message will be sent to the actor.
         warn-after-number-of-unconfirmed-attempts = 5
-        # Maximum number of unconfirmed messages that an actor with 
+        # Maximum number of unconfirmed messages that an actor with
         # AtLeastOnceDelivery is allowed to hold in memory.
         max-unconfirmed-messages = 100000
     }
@@ -102,10 +101,10 @@ akka.persistence {
       class = ""
 
       # Dispatcher for the plugin actor.
-      plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+      plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 
       # Dispatcher for message replay.
-      replay-dispatcher = "akka.persistence.dispatchers.default-replay-dispatcher"
+      replay-dispatcher = "pekko.persistence.dispatchers.default-replay-dispatcher"
 
       # Removed: used to be the Maximum size of a persistent message batch written to the journal.
       # Now this setting is without function, PersistentActor will write as many messages
@@ -161,7 +160,7 @@ akka.persistence {
       class = ""
 
       # Dispatcher for the plugin actor.
-      plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+      plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
 
       circuit-breaker {
         max-failures = 5
@@ -205,18 +204,18 @@ akka.persistence {
 }
 
 # Protobuf serialization for the persistent extension messages.
-akka.actor {
+pekko.actor {
     serializers {
-        akka-persistence-message = "akka.persistence.serialization.MessageSerializer"
-        akka-persistence-snapshot = "akka.persistence.serialization.SnapshotSerializer"
+        pekko-persistence-message = "org.apache.pekko.persistence.serialization.MessageSerializer"
+        pekko-persistence-snapshot = "org.apache.pekko.persistence.serialization.SnapshotSerializer"
     }
     serialization-bindings {
-        "akka.persistence.serialization.Message" = akka-persistence-message
-        "akka.persistence.serialization.Snapshot" = akka-persistence-snapshot
+        "org.apache.pekko.persistence.serialization.Message" = pekko-persistence-message
+        "org.apache.pekko.persistence.serialization.Snapshot" = pekko-persistence-snapshot
     }
     serialization-identifiers {
-        "akka.persistence.serialization.MessageSerializer" = 7
-        "akka.persistence.serialization.SnapshotSerializer" = 8
+        "org.apache.pekko.persistence.serialization.MessageSerializer" = 7
+        "org.apache.pekko.persistence.serialization.SnapshotSerializer" = 8
     }
 }
 
@@ -226,43 +225,43 @@ akka.actor {
 ###################################################
 
 # In-memory journal plugin.
-akka.persistence.journal.inmem {
+pekko.persistence.journal.inmem {
     # Class name of the plugin.
-    class = "akka.persistence.journal.inmem.InmemJournal"
+    class = "org.apache.pekko.persistence.journal.inmem.InmemJournal"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.actor.default-dispatcher"
+    plugin-dispatcher = "pekko.actor.default-dispatcher"
 
     # Turn this on to test serialization of the events
     test-serialization = off
 }
 
 # Local file system snapshot store plugin.
-akka.persistence.snapshot-store.local {
+pekko.persistence.snapshot-store.local {
     # Class name of the plugin.
-    class = "akka.persistence.snapshot.local.LocalSnapshotStore"
+    class = "org.apache.pekko.persistence.snapshot.local.LocalSnapshotStore"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
     # Dispatcher for streaming snapshot IO.
-    stream-dispatcher = "akka.persistence.dispatchers.default-stream-dispatcher"
+    stream-dispatcher = "pekko.persistence.dispatchers.default-stream-dispatcher"
     # Storage location of snapshot files.
     dir = "snapshots"
     # Number load attempts when recovering from the latest snapshot fails
     # yet older snapshot files are available. Each recovery attempt will try
-    # to recover using an older than previously failed-on snapshot file 
+    # to recover using an older than previously failed-on snapshot file
     # (if any are present). If all attempts fail the recovery will fail and
     # the persistent actor will be stopped.
     max-load-attempts = 3
 }
 
 # LevelDB journal plugin.
-# Note: this plugin requires explicit LevelDB dependency, see below. 
-akka.persistence.journal.leveldb {
+# Note: this plugin requires explicit LevelDB dependency, see below.
+pekko.persistence.journal.leveldb {
     # Class name of the plugin.
-    class = "akka.persistence.journal.leveldb.LeveldbJournal"
+    class = "org.apache.pekko.persistence.journal.leveldb.LeveldbJournal"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+    plugin-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
     # Dispatcher for message replay.
-    replay-dispatcher = "akka.persistence.dispatchers.default-replay-dispatcher"
+    replay-dispatcher = "pekko.persistence.dispatchers.default-replay-dispatcher"
     # Storage location of LevelDB files.
     dir = "journal"
     # Use fsync on write.
@@ -277,19 +276,19 @@ akka.persistence.journal.leveldb {
 }
 
 # Shared LevelDB journal plugin (for testing only).
-# Note: this plugin requires explicit LevelDB dependency, see below. 
-akka.persistence.journal.leveldb-shared {
+# Note: this plugin requires explicit LevelDB dependency, see below.
+pekko.persistence.journal.leveldb-shared {
     # Class name of the plugin.
-    class = "akka.persistence.journal.leveldb.SharedLeveldbJournal"
+    class = "org.apache.pekko.persistence.journal.leveldb.SharedLeveldbJournal"
     # Dispatcher for the plugin actor.
-    plugin-dispatcher = "akka.actor.default-dispatcher"
+    plugin-dispatcher = "pekko.actor.default-dispatcher"
     # Timeout for async journal operations.
     timeout = 10s
     store {
         # Dispatcher for shared store actor.
-        store-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+        store-dispatcher = "pekko.persistence.dispatchers.default-plugin-dispatcher"
         # Dispatcher for message replay.
-        replay-dispatcher = "akka.persistence.dispatchers.default-replay-dispatcher"
+        replay-dispatcher = "pekko.persistence.dispatchers.default-replay-dispatcher"
         # Storage location of LevelDB files.
         dir = "journal"
         # Use fsync on write.
@@ -304,11 +303,11 @@ akka.persistence.journal.leveldb-shared {
     }
 }
 
-akka.persistence.journal.proxy {
+pekko.persistence.journal.proxy {
   # Class name of the plugin.
-  class = "akka.persistence.journal.PersistencePluginProxy"
+  class = "org.apache.pekko.persistence.journal.PersistencePluginProxy"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.actor.default-dispatcher"
+  plugin-dispatcher = "pekko.actor.default-dispatcher"
   # Set this to on in the configuration of the ActorSystem
   # that will host the target journal
   start-target-journal = off
@@ -320,11 +319,11 @@ akka.persistence.journal.proxy {
   init-timeout = 10s
 }
 
-akka.persistence.snapshot-store.proxy {
+pekko.persistence.snapshot-store.proxy {
   # Class name of the plugin.
-  class = "akka.persistence.journal.PersistencePluginProxy"
+  class = "org.apache.pekko.persistence.journal.PersistencePluginProxy"
   # Dispatcher for the plugin actor.
-  plugin-dispatcher = "akka.actor.default-dispatcher"
+  plugin-dispatcher = "pekko.actor.default-dispatcher"
   # Set this to on in the configuration of the ActorSystem
   # that will host the target snapshot-store
   start-target-snapshot-store = off
similarity index 79%
rename from akka/repackaged-akka-jar/src/main/resources/remote_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/remote_reference.conf
index a30bce7190f20664ec5b88de2609b4a4209359ff..0235ed8d5e4bbf58d16d908c3ca5aaad4d6e556f 100644 (file)
@@ -1,47 +1,40 @@
+# SPDX-License-Identifier: Apache-2.0
+
 #//#shared
-#####################################
-# Akka Remote Reference Config File #
-#####################################
+######################################
+# Pekko Remote Reference Config File #
+######################################
 
 # This is the reference config file that contains all the default settings.
 # Make your edits/overrides in your application.conf.
 
-# comments about akka.actor settings left out where they are already in akka-
+# comments about pekko.actor settings left out where they are already in pekko-
 # actor.jar, because otherwise they would be repeated in config rendering.
 #
 # For the configuration of the new remoting implementation (Artery) please look
 # at the bottom section of this file as it is listed separately.
 
-akka {
+pekko {
 
   actor {
 
     serializers {
-      akka-containers = "akka.remote.serialization.MessageContainerSerializer"
-      akka-misc = "akka.remote.serialization.MiscMessageSerializer"
-      artery = "akka.remote.serialization.ArteryMessageSerializer"
-      proto = "akka.remote.serialization.ProtobufSerializer"
-      daemon-create = "akka.remote.serialization.DaemonMsgCreateSerializer"
-      akka-system-msg = "akka.remote.serialization.SystemMessageSerializer"
+      pekko-containers = "org.apache.pekko.remote.serialization.MessageContainerSerializer"
+      pekko-misc = "org.apache.pekko.remote.serialization.MiscMessageSerializer"
+      artery = "org.apache.pekko.remote.serialization.ArteryMessageSerializer"
+      proto = "org.apache.pekko.remote.serialization.ProtobufSerializer"
+      daemon-create = "org.apache.pekko.remote.serialization.DaemonMsgCreateSerializer"
+      pekko-system-msg = "org.apache.pekko.remote.serialization.SystemMessageSerializer"
     }
 
     serialization-bindings {
-      "akka.actor.ActorSelectionMessage" = akka-containers
+      "org.apache.pekko.actor.ActorSelectionMessage" = pekko-containers
 
-      "akka.remote.DaemonMsgCreate" = daemon-create
+      "org.apache.pekko.remote.DaemonMsgCreate" = daemon-create
 
-      "akka.remote.artery.ArteryMessage" = artery
+      "org.apache.pekko.remote.artery.ArteryMessage" = artery
 
-      # Since akka.protobuf.Message does not extend Serializable but
-      # GeneratedMessage does, need to use the more specific one here in order
-      # to avoid ambiguity.
-      # This is only loaded if akka-protobuf is on the classpath
-      # It should not be used and users should migrate to using the protobuf classes
-      # directly
-      # Remove in 2.7
-      "akka.protobuf.GeneratedMessage" = proto
-
-      "akka.protobufv3.internal.GeneratedMessageV3" = proto
+      "org.apache.pekko.protobufv3.internal.GeneratedMessageV3" = proto
 
       # Since com.google.protobuf.Message does not extend Serializable but
       # GeneratedMessage does, need to use the more specific one here in order
@@ -51,66 +44,66 @@ akka {
       "com.google.protobuf.GeneratedMessage" = proto
       "com.google.protobuf.GeneratedMessageV3" = proto
 
-      "akka.actor.Identify" = akka-misc
-      "akka.actor.ActorIdentity" = akka-misc
-      "scala.Some" = akka-misc
-      "scala.None$" = akka-misc
-      "java.util.Optional" = akka-misc
-      "akka.actor.Status$Success" = akka-misc
-      "akka.actor.Status$Failure" = akka-misc
-      "akka.actor.ActorRef" = akka-misc
-      "akka.actor.PoisonPill$" = akka-misc
-      "akka.actor.Kill$" = akka-misc
-      "akka.remote.RemoteWatcher$Heartbeat$" = akka-misc
-      "akka.remote.RemoteWatcher$HeartbeatRsp" = akka-misc
-      "akka.Done" = akka-misc
-      "akka.NotUsed" = akka-misc
-      "akka.actor.Address" = akka-misc
-      "akka.remote.UniqueAddress" = akka-misc
-
-      "akka.actor.ActorInitializationException" = akka-misc
-      "akka.actor.IllegalActorStateException" = akka-misc
-      "akka.actor.ActorKilledException" = akka-misc
-      "akka.actor.InvalidActorNameException" = akka-misc
-      "akka.actor.InvalidMessageException" = akka-misc
-      "java.util.concurrent.TimeoutException" = akka-misc
-      "akka.remote.serialization.ThrowableNotSerializableException" = akka-misc
-
-      "akka.actor.LocalScope$" = akka-misc
-      "akka.remote.RemoteScope" = akka-misc
-
-      "com.typesafe.config.impl.SimpleConfig" = akka-misc
-      "com.typesafe.config.Config" = akka-misc
-
-      "akka.routing.FromConfig" = akka-misc
-      "akka.routing.DefaultResizer" = akka-misc
-      "akka.routing.BalancingPool" = akka-misc
-      "akka.routing.BroadcastGroup" = akka-misc
-      "akka.routing.BroadcastPool" = akka-misc
-      "akka.routing.RandomGroup" = akka-misc
-      "akka.routing.RandomPool" = akka-misc
-      "akka.routing.RoundRobinGroup" = akka-misc
-      "akka.routing.RoundRobinPool" = akka-misc
-      "akka.routing.ScatterGatherFirstCompletedGroup" = akka-misc
-      "akka.routing.ScatterGatherFirstCompletedPool" = akka-misc
-      "akka.routing.SmallestMailboxPool" = akka-misc
-      "akka.routing.TailChoppingGroup" = akka-misc
-      "akka.routing.TailChoppingPool" = akka-misc
-      "akka.remote.routing.RemoteRouterConfig" = akka-misc
-
-      "akka.pattern.StatusReply" = akka-misc
-
-      "akka.dispatch.sysmsg.SystemMessage" = akka-system-msg
+      "org.apache.pekko.actor.Identify" = pekko-misc
+      "org.apache.pekko.actor.ActorIdentity" = pekko-misc
+      "scala.Some" = pekko-misc
+      "scala.None$" = pekko-misc
+      "java.util.Optional" = pekko-misc
+      "org.apache.pekko.actor.Status$Success" = pekko-misc
+      "org.apache.pekko.actor.Status$Failure" = pekko-misc
+      "org.apache.pekko.actor.ActorRef" = pekko-misc
+      "org.apache.pekko.actor.PoisonPill$" = pekko-misc
+      "org.apache.pekko.actor.Kill$" = pekko-misc
+      "org.apache.pekko.remote.RemoteWatcher$Heartbeat$" = pekko-misc
+      "org.apache.pekko.remote.RemoteWatcher$HeartbeatRsp" = pekko-misc
+      "org.apache.pekko.Done" = pekko-misc
+      "org.apache.pekko.NotUsed" = pekko-misc
+      "org.apache.pekko.actor.Address" = pekko-misc
+      "org.apache.pekko.remote.UniqueAddress" = pekko-misc
+
+      "org.apache.pekko.actor.ActorInitializationException" = pekko-misc
+      "org.apache.pekko.actor.IllegalActorStateException" = pekko-misc
+      "org.apache.pekko.actor.ActorKilledException" = pekko-misc
+      "org.apache.pekko.actor.InvalidActorNameException" = pekko-misc
+      "org.apache.pekko.actor.InvalidMessageException" = pekko-misc
+      "java.util.concurrent.TimeoutException" = pekko-misc
+      "org.apache.pekko.remote.serialization.ThrowableNotSerializableException" = pekko-misc
+
+      "org.apache.pekko.actor.LocalScope$" = pekko-misc
+      "org.apache.pekko.remote.RemoteScope" = pekko-misc
+
+      "com.typesafe.config.impl.SimpleConfig" = pekko-misc
+      "com.typesafe.config.Config" = pekko-misc
+
+      "org.apache.pekko.routing.FromConfig" = pekko-misc
+      "org.apache.pekko.routing.DefaultResizer" = pekko-misc
+      "org.apache.pekko.routing.BalancingPool" = pekko-misc
+      "org.apache.pekko.routing.BroadcastGroup" = pekko-misc
+      "org.apache.pekko.routing.BroadcastPool" = pekko-misc
+      "org.apache.pekko.routing.RandomGroup" = pekko-misc
+      "org.apache.pekko.routing.RandomPool" = pekko-misc
+      "org.apache.pekko.routing.RoundRobinGroup" = pekko-misc
+      "org.apache.pekko.routing.RoundRobinPool" = pekko-misc
+      "org.apache.pekko.routing.ScatterGatherFirstCompletedGroup" = pekko-misc
+      "org.apache.pekko.routing.ScatterGatherFirstCompletedPool" = pekko-misc
+      "org.apache.pekko.routing.SmallestMailboxPool" = pekko-misc
+      "org.apache.pekko.routing.TailChoppingGroup" = pekko-misc
+      "org.apache.pekko.routing.TailChoppingPool" = pekko-misc
+      "org.apache.pekko.remote.routing.RemoteRouterConfig" = pekko-misc
+
+      "org.apache.pekko.pattern.StatusReply" = pekko-misc
+
+      "org.apache.pekko.dispatch.sysmsg.SystemMessage" = pekko-system-msg
 
       # Java Serializer is by default used for exceptions and will by default
       # not be allowed to be serialized, but in certain cases they are replaced
-      # by `akka.remote.serialization.ThrowableNotSerializableException` if
+      # by `org.apache.pekko.remote.serialization.ThrowableNotSerializableException` if
       # no specific serializer has been defined:
-      # - when wrapped in `akka.actor.Status.Failure` for ask replies
+      # - when wrapped in `org.apache.pekko.actor.Status.Failure` for ask replies
       # - when wrapped in system messages for exceptions from remote deployed child actors
       #
       # It's recommended that you implement custom serializer for exceptions that are
-      # sent remotely, You can add binding to akka-misc (MiscMessageSerializer) for the
+      # sent remotely, You can add binding to pekko-misc (MiscMessageSerializer) for the
       # exceptions that have a constructor with single message String or constructor with
       # message String as first parameter and cause Throwable as second parameter. Note that it's not
       # safe to add this binding for general exceptions such as IllegalArgumentException
@@ -119,22 +112,22 @@ akka {
     }
 
     serialization-identifiers {
-      "akka.remote.serialization.ProtobufSerializer" = 2
-      "akka.remote.serialization.DaemonMsgCreateSerializer" = 3
-      "akka.remote.serialization.MessageContainerSerializer" = 6
-      "akka.remote.serialization.MiscMessageSerializer" = 16
-      "akka.remote.serialization.ArteryMessageSerializer" = 17
-
-      "akka.remote.serialization.SystemMessageSerializer" = 22
-
-      # deprecated in 2.6.0, moved to akka-actor
-      "akka.remote.serialization.LongSerializer" = 18
-      # deprecated in 2.6.0, moved to akka-actor
-      "akka.remote.serialization.IntSerializer" = 19
-      # deprecated in 2.6.0, moved to akka-actor
-      "akka.remote.serialization.StringSerializer" = 20
-      # deprecated in 2.6.0, moved to akka-actor
-      "akka.remote.serialization.ByteStringSerializer" = 21
+      "org.apache.pekko.remote.serialization.ProtobufSerializer" = 2
+      "org.apache.pekko.remote.serialization.DaemonMsgCreateSerializer" = 3
+      "org.apache.pekko.remote.serialization.MessageContainerSerializer" = 6
+      "org.apache.pekko.remote.serialization.MiscMessageSerializer" = 16
+      "org.apache.pekko.remote.serialization.ArteryMessageSerializer" = 17
+
+      "org.apache.pekko.remote.serialization.SystemMessageSerializer" = 22
+
+      # deprecated in Akka 2.6.0, moved to pekko-actor
+      "org.apache.pekko.remote.serialization.LongSerializer" = 18
+      # deprecated in Akka 2.6.0, moved to pekko-actor
+      "org.apache.pekko.remote.serialization.IntSerializer" = 19
+      # deprecated in Akka 2.6.0, moved to pekko-actor
+      "org.apache.pekko.remote.serialization.StringSerializer" = 20
+      # deprecated in Akka 2.6.0, moved to pekko-actor
+      "org.apache.pekko.remote.serialization.ByteStringSerializer" = 21
     }
 
     deployment {
@@ -142,14 +135,14 @@ akka {
       default {
 
         # if this is set to a valid remote address, the named actor will be
-        # deployed at that node e.g. "akka://sys@host:port"
+        # deployed at that node e.g. "pekko://sys@host:port"
         remote = ""
 
         target {
 
           # A list of hostnames and ports for instantiating the children of a
           # router
-          #   The format should be on "akka://sys@host:port", where:
+          #   The format should be on "pekko://sys@host:port", where:
           #    - sys is the remote actor system name
           #    - hostname can be either hostname or IP address the remote actor
           #      should connect to
@@ -182,6 +175,33 @@ akka {
     # is 'off'. Set this to 'off' to suppress these.
     warn-unsafe-watch-outside-cluster = on
 
+    # When receiving requests from other remote actors, what are the valid
+    # prefixes to check against. Useful for when dealing with rolling cluster
+    # migrations with compatible systems such as Lightbend's Akka.
+    # By default, we only support "pekko" protocol.
+    # If you want to also support Akka, change this config to:
+    # pekko.remote.accept-protocol-names = ["pekko", "akka"]
+    # A ConfigurationException will be thrown at runtime if the array is empty
+    # or contains values other than "pekko" and/or "akka".
+    accept-protocol-names = ["pekko"]
+
+    # The protocol name to use when sending requests to other remote actors.
+    # Useful when dealing with rolling migration, i.e. temporarily change
+    # the protocol name to match another compatible actor implementation
+    # such as Lightbend's "akka" (whilst making sure accept-protocol-names
+    # contains "akka") so that you can gracefully migrate all nodes to Apache
+    # Pekko and then change the protocol-name back to "pekko" once all
+    # nodes have been are running on Apache Pekko.
+    # A ConfigurationException will be thrown at runtime if the value is not
+    # set to "pekko" or "akka".
+    protocol-name = "pekko"
+
+    # When pekko.remote.accept-protocol-names contains "akka", then we
+    # need to know the Akka version. If you include the Akka jars on the classpath,
+    # we can use the akka.version from their configuration. This configuration
+    # setting is only used if we can't find an akka.version setting.
+    akka.version = "2.6.21"
+
     # Settings for the Phi accrual failure detector (http://www.jaist.ac.jp/~defago/files/pdf/IS_RR_2004_010.pdf
     # [Hayashibara et al]) used for remote death watch.
     # The default PhiAccrualFailureDetector will trigger if there are no heartbeats within
@@ -190,10 +210,10 @@ akka {
     watch-failure-detector {
 
       # FQCN of the failure detector implementation.
-      # It must implement akka.remote.FailureDetector and have
+      # It must implement org.apache.pekko.remote.FailureDetector and have
       # a public constructor with a com.typesafe.config.Config and
-      # akka.actor.EventStream parameter.
-      implementation-class = "akka.remote.PhiAccrualFailureDetector"
+      # org.apache.pekko.actor.EventStream parameter.
+      implementation-class = "org.apache.pekko.remote.PhiAccrualFailureDetector"
 
       # How often keep-alive heartbeat messages should be sent to each connection.
       heartbeat-interval = 1 s
@@ -228,7 +248,7 @@ akka {
       unreachable-nodes-reaper-interval = 1s
 
       # After the heartbeat request has been sent the first failure detection
-      # will start after this period, even though no heartbeat mesage has
+      # will start after this period, even though no heartbeat message has
       # been received.
       expected-response-after = 1 s
 
@@ -239,15 +259,15 @@ akka {
       # deprecated, use `enable-allow-list`
       enable-whitelist = off
 
-      # If true, will only allow specific classes listed in `allowed-actor-classes` to be instanciated on this
+      # If true, will only allow specific classes listed in `allowed-actor-classes` to be instantiated on this
       # system via remote deployment
-      enable-allow-list = ${akka.remote.deployment.enable-whitelist}
+      enable-allow-list = ${pekko.remote.deployment.enable-whitelist}
 
 
       # deprecated, use `allowed-actor-classes`
       whitelist = []
 
-      allowed-actor-classes = ${akka.remote.deployment.whitelist}
+      allowed-actor-classes = ${pekko.remote.deployment.whitelist}
     }
 
     ### Default dispatcher for the remoting subsystem
@@ -266,7 +286,7 @@ akka {
 
 }
 
-akka {
+pekko {
 
   remote {
   #//#classic
@@ -274,13 +294,15 @@ akka {
 
       ### Configuration for classic remoting. Classic remoting is deprecated, use artery.
 
+      # Used as part of the Actor name for the Protocol Manager.
+      manager-name-prefix = "pekkoprotocolmanager"
 
       # If set to a nonempty string remoting will use the given dispatcher for
       # its internal actors otherwise the default dispatcher is used. Please note
       # that since remoting can load arbitrary 3rd party drivers (see
       # "enabled-transport" and "adapters" entries) it is not guaranteed that
       # every module will respect this setting.
-      use-dispatcher = "akka.remote.default-remote-dispatcher"
+      use-dispatcher = "pekko.remote.default-remote-dispatcher"
 
       # Settings for the failure detector to monitor connections.
       # For TCP it is not important to have fast failure detection, since
@@ -291,10 +313,10 @@ akka {
       transport-failure-detector {
 
         # FQCN of the failure detector implementation.
-        # It must implement akka.remote.FailureDetector and have
+        # It must implement org.apache.pekko.remote.FailureDetector and have
         # a public constructor with a com.typesafe.config.Config and
-        # akka.actor.EventStream parameter.
-        implementation-class = "akka.remote.DeadlineFailureDetector"
+        # org.apache.pekko.actor.EventStream parameter.
+        implementation-class = "org.apache.pekko.remote.DeadlineFailureDetector"
 
         # How often keep-alive heartbeat messages should be sent to each connection.
         heartbeat-interval = 4 s
@@ -313,7 +335,7 @@ akka {
       # enabled-transports section) need longer time to be loaded.
       startup-timeout = 10 s
 
-      # Timout after which the graceful shutdown of the remoting subsystem is
+      # Timeout after which the graceful shutdown of the remoting subsystem is
       # considered to be failed. After the timeout the remoting system is
       # forcefully shut down. Increase this value if your transport drivers
       # (see the enabled-transports section) need longer time to stop properly.
@@ -335,7 +357,7 @@ akka {
       command-ack-timeout = 30 s
 
       # The timeout for outbound associations to perform the handshake.
-      # If the transport is akka.remote.classic.netty.tcp or akka.remote.classic.netty.ssl
+      # If the transport is pekko.remote.classic.netty.tcp or pekko.remote.classic.netty.ssl
       # the configured connection-timeout for the transport will be used instead.
       handshake-timeout = 15 s
 
@@ -354,15 +376,15 @@ akka {
 
       ### Logging
 
-      # If this is "on", Akka will log all inbound messages at DEBUG level,
+      # If this is "on", Pekko will log all inbound messages at DEBUG level,
       # if off then they are not logged
       log-received-messages = off
 
-      # If this is "on", Akka will log all outbound messages at DEBUG level,
+      # If this is "on", Pekko will log all outbound messages at DEBUG level,
       # if off then they are not logged
       log-sent-messages = off
 
-      # Sets the log granularity level at which Akka logs remoting events. This setting
+      # Sets the log granularity level at which Pekko logs remoting events. This setting
       # can take the values OFF, ERROR, WARNING, INFO, DEBUG, or ON. For compatibility
       # reasons the setting "on" will default to "debug" level. Please note that the effective
       # logging level is still determined by the global logging level of the actor system:
@@ -466,40 +488,40 @@ akka {
       # pointing to an implementation class of the Transport interface.
       # If multiple transports are provided, the address of the first
       # one will be used as a default address.
-      enabled-transports = ["akka.remote.classic.netty.tcp"]
+      enabled-transports = ["pekko.remote.classic.netty.tcp"]
 
       # Transport drivers can be augmented with adapters by adding their
       # name to the applied-adapters setting in the configuration of a
       # transport. The available adapters should be configured in this
       # section by providing a name, and the fully qualified name of
       # their corresponding implementation. The class given here
-      # must implement akka.akka.remote.transport.TransportAdapterProvider
+      # must implement org.apache.pekko.remote.transport.TransportAdapterProvider
       # and have public constructor without parameters.
       adapters {
-        gremlin = "akka.remote.transport.FailureInjectorProvider"
-        trttl = "akka.remote.transport.ThrottlerProvider"
+        gremlin = "org.apache.pekko.remote.transport.FailureInjectorProvider"
+        trttl = "org.apache.pekko.remote.transport.ThrottlerProvider"
       }
 
       ### Default configuration for the Netty based transport drivers
 
       netty.tcp {
-        # The class given here must implement the akka.remote.transport.Transport
+        # The class given here must implement the org.apache.pekko.remote.transport.Transport
         # interface and offer a public constructor which takes two arguments:
-        #  1) akka.actor.ExtendedActorSystem
+        #  1) org.apache.pekko.actor.ExtendedActorSystem
         #  2) com.typesafe.config.Config
-        transport-class = "akka.remote.transport.netty.NettyTransport"
+        transport-class = "org.apache.pekko.remote.transport.netty.NettyTransport"
 
         # Transport drivers can be augmented with adapters by adding their
         # name to the applied-adapters list. The last adapter in the
         # list is the adapter immediately above the driver, while
         # the first one is the top of the stack below the standard
-        # Akka protocol
+        # Pekko protocol
         applied-adapters = []
 
         # The default remote server port clients should connect to.
-        # Default is 2552 (AKKA), use 0 if you want a random available port
+        # Default is 7355 (PEKK on a telephone keypad), use 0 if you want a random available port
         # This port needs to be unique for each actor system on the same machine.
-        port = 2552
+        port = 7355
 
         # The hostname or ip clients should connect to.
         # InetAddress.getLocalHost.getHostAddress is used if empty
@@ -507,41 +529,41 @@ akka {
 
         # Use this setting to bind a network interface to a different port
         # than remoting protocol expects messages at. This may be used
-        # when running akka nodes in a separated networks (under NATs or docker containers).
+        # when running pekko nodes in a separated networks (under NATs or docker containers).
         # Use 0 if you want a random available port. Examples:
         #
-        # akka.remote.classic.netty.tcp.port = 2552
-        # akka.remote.classic.netty.tcp.bind-port = 2553
-        # Network interface will be bound to the 2553 port, but remoting protocol will
-        # expect messages sent to port 2552.
+        # pekko.remote.classic.netty.tcp.port = 7355
+        # pekko.remote.classic.netty.tcp.bind-port = 7356
+        # Network interface will be bound to the 7356 port, but remoting protocol will
+        # expect messages sent to port 7355.
         #
-        # akka.remote.classic.netty.tcp.port = 0
-        # akka.remote.classic.netty.tcp.bind-port = 0
+        # pekko.remote.classic.netty.tcp.port = 0
+        # pekko.remote.classic.netty.tcp.bind-port = 0
         # Network interface will be bound to a random port, and remoting protocol will
         # expect messages sent to the bound port.
         #
-        # akka.remote.classic.netty.tcp.port = 2552
-        # akka.remote.classic.netty.tcp.bind-port = 0
+        # pekko.remote.classic.netty.tcp.port = 7355
+        # pekko.remote.classic.netty.tcp.bind-port = 0
         # Network interface will be bound to a random port, but remoting protocol will
-        # expect messages sent to port 2552.
+        # expect messages sent to port 7355.
         #
-        # akka.remote.classic.netty.tcp.port = 0
-        # akka.remote.classic.netty.tcp.bind-port = 2553
-        # Network interface will be bound to the 2553 port, and remoting protocol will
+        # pekko.remote.classic.netty.tcp.port = 0
+        # pekko.remote.classic.netty.tcp.bind-port = 7356
+        # Network interface will be bound to the 7356 port, and remoting protocol will
         # expect messages sent to the bound port.
         #
-        # akka.remote.classic.netty.tcp.port = 2552
-        # akka.remote.classic.netty.tcp.bind-port = ""
-        # Network interface will be bound to the 2552 port, and remoting protocol will
+        # pekko.remote.classic.netty.tcp.port = 7355
+        # pekko.remote.classic.netty.tcp.bind-port = ""
+        # Network interface will be bound to the 7355 port, and remoting protocol will
         # expect messages sent to the bound port.
         #
-        # akka.remote.classic.netty.tcp.port if empty
+        # pekko.remote.classic.netty.tcp.port if empty
         bind-port = ""
 
         # Use this setting to bind a network interface to a different hostname or ip
         # than remoting protocol expects messages at.
         # Use "0.0.0.0" to bind to all interfaces.
-        # akka.remote.classic.netty.tcp.hostname if empty
+        # pekko.remote.classic.netty.tcp.hostname if empty
         bind-hostname = ""
 
         # Enables SSL support on this transport
@@ -555,7 +577,7 @@ akka {
         # will be used to accept inbound connections, and perform IO. If "" then
         # dedicated threads will be used.
         # Please note that the Netty driver only uses this configuration and does
-        # not read the "akka.remote.use-dispatcher" entry. Instead it has to be
+        # not read the "pekko.remote.use-dispatcher" entry. Instead it has to be
         # configured manually to point to the same dispatcher if needed.
         use-dispatcher-for-io = ""
 
@@ -589,7 +611,7 @@ akka {
         # Enables the TCP_NODELAY flag, i.e. disables Nagle’s algorithm
         tcp-nodelay = on
 
-        # Enables TCP Keepalive, subject to the O/S kernel’s configuration
+        # Enables TCP Keep-alive, subject to the O/S kernel’s configuration
         tcp-keepalive = on
 
         # Enables SO_REUSEADDR, which determines when an ActorSystem can open
@@ -632,24 +654,24 @@ akka {
 
       }
 
-      netty.ssl = ${akka.remote.classic.netty.tcp}
+      netty.ssl = ${pekko.remote.classic.netty.tcp}
       netty.ssl = {
         # Enable SSL/TLS encryption.
         # This must be enabled on both the client and server to work.
         enable-ssl = true
 
         # Factory of SSLEngine.
-        # Must implement akka.remote.transport.netty.SSLEngineProvider and have a public
+        # Must implement org.apache.pekko.remote.transport.netty.SSLEngineProvider and have a public
         # constructor with an ActorSystem parameter.
         # The default ConfigSSLEngineProvider is configured by properties in section
-        # akka.remote.classic.netty.ssl.security
+        # pekko.remote.classic.netty.ssl.security
         #
         # The SSLEngineProvider can also be defined via ActorSystemSetup with
         # SSLEngineProviderSetup  when starting the ActorSystem. That is useful when
         # the SSLEngineProvider implementation requires other external constructor
         # parameters or is created before the ActorSystem is created.
         # If such SSLEngineProviderSetup is defined this config property is not used.
-        ssl-engine-provider = akka.remote.transport.netty.ConfigSSLEngineProvider
+        ssl-engine-provider = org.apache.pekko.remote.transport.netty.ConfigSSLEngineProvider
 
         security {
           # This is the Java Key Store used by the server connection
@@ -670,11 +692,11 @@ akka {
           # Protocol to use for SSL encryption.
           protocol = "TLSv1.2"
 
-          # Example: ["TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", 
+          # Example: ["TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
           #   "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
           #   "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
           #   "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"]
-          # When doing rolling upgrades, make sure to include both the algorithm used 
+          # When doing rolling upgrades, make sure to include both the algorithm used
           # by old nodes and the preferred algorithm.
           # If you use a JDK 8 prior to 8u161 you need to install
           # the JCE Unlimited Strength Jurisdiction Policy Files to use AES 256.
@@ -698,18 +720,6 @@ akka {
           # the passive side will also request and verify a certificate from the connecting peer.
           #
           # To prevent man-in-the-middle attacks this setting is enabled by default.
-          #
-          # Note: Nodes that are configured with this setting to 'on' might not be able to receive messages from nodes that
-          # run on older versions of akka-remote. This is because in versions of Akka < 2.4.12 the active side of the remoting
-          # connection will not send over certificates even if asked.
-          #
-          # However, starting with Akka 2.4.12, even with this setting "off", the active side (TLS client side)
-          # will use the given key-store to send over a certificate if asked. A rolling upgrade from versions of
-          # Akka < 2.4.12 can therefore work like this:
-          #   - upgrade all nodes to an Akka version >= 2.4.12, in the best case the latest version, but keep this setting at "off"
-          #   - then switch this flag to "on" and do again a rolling upgrade of all nodes
-          # The first step ensures that all nodes will send over a certificate when asked to. The second
-          # step will ensure that all nodes finally enforce the secure checking of client certificates.
           require-mutual-authentication = on
         }
       }
@@ -736,7 +746,7 @@ akka {
 #//#classic
 
 #//#artery
-akka {
+pekko {
 
   remote {
 
@@ -749,7 +759,7 @@ akka {
       # Select the underlying transport implementation.
       #
       # Possible values: aeron-udp, tcp, tls-tcp
-      # See https://doc.akka.io/docs/akka/current/remoting-artery.html#selecting-a-transport for the tradeoffs
+      # See https://pekko.apache.org/docs/pekko/current/remoting-artery.html#selecting-a-transport for the tradeoffs
       # for each transport
       transport = tcp
 
@@ -758,9 +768,9 @@ akka {
       canonical {
 
         # The default remote server port clients should connect to.
-        # Default is 25520, use 0 if you want a random available port
+        # Default is 17355, use 0 if you want a random available port
         # This port needs to be unique for each actor system on the same machine.
-        port = 25520
+        port = 17355
 
         # Hostname clients should connect to. Can be set to an ip, hostname
         # or one of the following special values:
@@ -771,7 +781,7 @@ akka {
       }
 
       # Use these settings to bind a network interface to a different address
-      # than artery expects messages at. This may be used when running Akka
+      # than artery expects messages at. This may be used when running Pekko
       # nodes in a separated networks (under NATs or in containers). If canonical
       # and bind addresses are different, then network configuration that relays
       # communications from canonical to bind addresses is expected.
@@ -780,14 +790,14 @@ akka {
         # Port to bind a network interface to. Can be set to a port number
         # of one of the following special values:
         #   0    random available port
-        #   ""   akka.remote.artery.canonical.port
+        #   ""   pekko.remote.artery.canonical.port
         #
         port = ""
 
         # Hostname to bind a network interface to. Can be set to an ip, hostname
         # or one of the following special values:
         #   "0.0.0.0"            all interfaces
-        #   ""                   akka.remote.artery.canonical.hostname
+        #   ""                   pekko.remote.artery.canonical.hostname
         #   "<getHostAddress>"   InetAddress.getLocalHost.getHostAddress
         #   "<getHostName>"      InetAddress.getLocalHost.getHostName
         #
@@ -854,7 +864,7 @@ akka {
         buffer-pool-size = 128
 
         # Maximum serialized message size for the large messages, including header data.
-        # If the value of akka.remote.artery.transport is set to aeron-udp, it is currently
+        # If the value of pekko.remote.artery.transport is set to aeron-udp, it is currently
         # restricted to 1/8th the size of a term buffer that can be configured by setting the
         # 'aeron.term.buffer.length' system property.
         # See 'large-message-destinations'.
@@ -869,21 +879,21 @@ akka {
         # collected, which is not as efficient as reusing buffers in the pool.
         large-buffer-pool-size = 32
 
-        # For enabling testing features, such as blackhole in akka-remote-testkit.
+        # For enabling testing features, such as blackhole in pekko-remote-testkit.
         test-mode = off
 
         # Settings for the materializer that is used for the remote streams.
-        materializer = ${akka.stream.materializer}
+        materializer = ${pekko.stream.materializer}
 
         # Remoting will use the given dispatcher for the ordinary and large message
         # streams.
-        use-dispatcher = "akka.remote.default-remote-dispatcher"
+        use-dispatcher = "pekko.remote.default-remote-dispatcher"
 
         # Remoting will use the given dispatcher for the control stream.
         # It can be good to not use the same dispatcher for the control stream as
         # the dispatcher for the ordinary message stream so that heartbeat messages
         # are not disturbed.
-        use-control-stream-dispatcher = "akka.actor.internal-dispatcher"
+        use-control-stream-dispatcher = "pekko.actor.internal-dispatcher"
 
 
         # Total number of inbound lanes, shared among all inbound associations. A value
@@ -907,7 +917,7 @@ akka {
         # the queue becomes full. This may happen if you send a burst of many messages
         # without end-to-end flow control. Note that there is one such queue per
         # outbound association. The trade-off of using a larger queue size is that
-        # it consumes more memory, since the queue is based on preallocated array with
+        # it consumes more memory, since the queue is based on pre-allocated array with
         # fixed size.
         outbound-message-queue-size = 3072
 
@@ -968,7 +978,7 @@ akka {
         # need to survive.
         # The value must also be greater than stop-idle-outbound-after.
         # Once every 1/10 of this duration an extra handshake message will be sent.
-        # Therfore it's also recommended to use a value that is greater than 10 times
+        # Therefore it's also recommended to use a value that is greater than 10 times
         # the stop-idle-outbound-after, since otherwise the idle streams will not be
         # stopped.
         quarantine-idle-outbound-after = 6 hours
@@ -985,7 +995,7 @@ akka {
         # and also unused for this duration before it's removed. When removed the historical
         # information about which UIDs that were quarantined for that hostname:port is
         # gone which could result in communication with a previously quarantined node
-        # if it wakes up again. Therfore this shouldn't be set too low.
+        # if it wakes up again. Therefore this shouldn't be set too low.
         remove-quarantined-association-after = 1 h
 
         # during ActorSystem termination the remoting will wait this long for
@@ -993,7 +1003,7 @@ akka {
         # remote messages has been completed
         shutdown-flush-timeout = 1 second
 
-        # Before sending notificaiton of terminated actor (DeathWatchNotification) other messages
+        # Before sending notification of terminated actor (DeathWatchNotification) other messages
         # will be flushed to make sure that the Terminated message arrives after other messages.
         # It will wait this long for the flush acknowledgement before continuing.
         # The flushing can be disabled by setting this to `off`.
@@ -1048,14 +1058,14 @@ akka {
 
         # List of fully qualified class names of remote instruments which should
         # be initialized and used for monitoring of remote messages.
-        # The class must extend akka.remote.artery.RemoteInstrument and
+        # The class must extend org.apache.pekko.remote.artery.RemoteInstrument and
         # have a public constructor with empty parameters or one ExtendedActorSystem
         # parameter.
         # A new instance of RemoteInstrument will be created for each encoder and decoder.
-        # It's only called from the stage, so if it dosn't delegate to any shared instance
+        # It's only called from the stage, so if it doesn't delegate to any shared instance
         # it doesn't have to be thread-safe.
-        # Refer to `akka.remote.artery.RemoteInstrument` for more information.
-        instruments = ${?akka.remote.artery.advanced.instruments} []
+        # Refer to `org.apache.pekko.remote.artery.RemoteInstrument` for more information.
+        instruments = ${?pekko.remote.artery.advanced.instruments} []
 
         # Only used when transport is aeron-udp
         aeron {
@@ -1098,7 +1108,7 @@ akka {
           # Only used when transport is aeron-udp.
           client-liveness-timeout = 20 seconds
 
-          # Timout after after which an uncommitted publication will be unblocked
+          # Timeout after after which an uncommitted publication will be unblocked
           # Only used when transport is aeron-udp.
           publication-unblock-timeout = 40 seconds
 
@@ -1128,13 +1138,13 @@ akka {
       # SSL configuration that is used when transport=tls-tcp.
       ssl {
         # Factory of SSLEngine.
-        # Must implement akka.remote.artery.tcp.SSLEngineProvider and have a public
+        # Must implement org.apache.pekko.remote.artery.tcp.SSLEngineProvider and have a public
         # constructor with an ActorSystem parameter.
         # The default ConfigSSLEngineProvider is configured by properties in section
-        # akka.remote.artery.ssl.config-ssl-engine
-        ssl-engine-provider = akka.remote.artery.tcp.ConfigSSLEngineProvider
+        # pekko.remote.artery.ssl.config-ssl-engine
+        ssl-engine-provider = org.apache.pekko.remote.artery.tcp.ConfigSSLEngineProvider
 
-        # Config of akka.remote.artery.tcp.ConfigSSLEngineProvider
+        # Config of org.apache.pekko.remote.artery.tcp.ConfigSSLEngineProvider
         config-ssl-engine {
 
           # This is the Java Key Store used by the server connection
@@ -1161,11 +1171,11 @@ akka {
           # Protocol to use for SSL encryption.
           protocol = "TLSv1.2"
 
-          # Example: ["TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", 
+          # Example: ["TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
           #   "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
           #   "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
           #   "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"]
-          # When doing rolling upgrades, make sure to include both the algorithm used 
+          # When doing rolling upgrades, make sure to include both the algorithm used
           # by old nodes and the preferred algorithm.
           # If you use a JDK 8 prior to 8u161 you need to install
           # the JCE Unlimited Strength Jurisdiction Policy Files to use AES 256.
@@ -1198,34 +1208,34 @@ akka {
           hostname-verification = off
         }
 
-        # Config of akka.remote.artery.tcp.ssl.RotatingKeysSSLEngineProvider
+        # Config of org.apache.pekko.remote.artery.tcp.ssl.RotatingKeysSSLEngineProvider
         # This engine provider reads PEM files from a mount point shared with the secret
         # manager. The constructed SSLContext is cached some time (configurable) so when
         # the credentials rotate the new credentials are eventually picked up.
         # By default mTLS is enabled.
         # This provider also includes a verification phase that runs after the TLS handshake
         # phase. In this verification, both peers run an authorization and verify they are
-        # part of the same akka cluster. The verification happens via comparing the subject
+        # part of the same pekko cluster. The verification happens via comparing the subject
         # names in the peer's certificate with the name on the own certificate so if you
         # use this SSLEngineProvider you should make sure all nodes on the cluster include
         # at least one common subject name (CN or SAN).
         # The Key setup this implementation supports has some limitations:
         #   1. the private key must be provided on a PKCS#1 or a non-encrypted PKCS#8 PEM-formatted file
-        #   2. the private key must be be of an algorythm supported by `akka-pki` tools (e.g. "RSA", not "EC")
+        #   2. the private key must be be of an algorithm supported by `pekko-pki` tools (e.g. "RSA", not "EC")
         #   3. the node certificate must be issued by a root CA (not an intermediate CA)
         #   4. both the node and the CA certificates must be provided in PEM-formatted files
         rotating-keys-engine {
 
           # This is a convention that people may follow if they wish to save themselves some configuration
-          secret-mount-point = /var/run/secrets/akka-tls/rotating-keys-engine
+          secret-mount-point = /var/run/secrets/pekko-tls/rotating-keys-engine
 
           # The absolute path the PEM file with the private key.
-          key-file = ${akka.remote.artery.ssl.rotating-keys-engine.secret-mount-point}/tls.key
+          key-file = ${pekko.remote.artery.ssl.rotating-keys-engine.secret-mount-point}/tls.key
           # The absolute path to the PEM file of the certificate for the private key above.
-          cert-file = ${akka.remote.artery.ssl.rotating-keys-engine.secret-mount-point}/tls.crt
-          # The absolute path to the PEM file of the certificate of the CA that emited
+          cert-file = ${pekko.remote.artery.ssl.rotating-keys-engine.secret-mount-point}/tls.crt
+          # The absolute path to the PEM file of the certificate of the CA that emitted
           # the node certificate above.
-          ca-cert-file = ${akka.remote.artery.ssl.rotating-keys-engine.secret-mount-point}/ca.crt
+          ca-cert-file = ${pekko.remote.artery.ssl.rotating-keys-engine.secret-mount-point}/ca.crt
 
           # There are two options, and the default SecureRandom is recommended:
           # "" or "SecureRandom" => (default)
similarity index 84%
rename from akka/repackaged-akka-jar/src/main/resources/stream_reference.conf
rename to pekko/repackaged-pekko-jar/src/main/resources/stream_reference.conf
index 66d9130e38a46a893496965a37531334be0f3c2b..a2af72d3e9241033d74861f09c9c44542c39c80f 100644 (file)
@@ -1,10 +1,12 @@
-#####################################
-# Akka Stream Reference Config File #
-#####################################
+# SPDX-License-Identifier: Apache-2.0
+
+######################################
+# Pekko Stream Reference Config File #
+######################################
 
 # eager creation of the system wide materializer
-akka.library-extensions += "akka.stream.SystemMaterializer$"
-akka {
+pekko.library-extensions += "org.apache.pekko.stream.SystemMaterializer$"
+pekko {
   stream {
 
     # Default materializer settings
@@ -17,12 +19,20 @@ akka {
 
       # Fully qualified config path which holds the dispatcher configuration
       # or full dispatcher configuration to be used by ActorMaterializer when creating Actors.
-      dispatcher = "akka.actor.default-dispatcher"
+      dispatcher = "pekko.actor.default-dispatcher"
+
+      # FQCN of the MailboxType. The Class of the FQCN must have a public
+      # constructor with
+      # (org.apache.pekko.actor.ActorSystem.Settings, com.typesafe.config.Config) parameters.
+      # defaults to the single consumer mailbox for better performance.
+      mailbox {
+        mailbox-type = "org.apache.pekko.dispatch.SingleConsumerOnlyUnboundedMailbox"
+      }
 
       # Fully qualified config path which holds the dispatcher configuration
       # or full dispatcher configuration to be used by stream operators that
       # perform blocking operations
-      blocking-io-dispatcher = "akka.actor.default-blocking-io-dispatcher"
+      blocking-io-dispatcher = "pekko.actor.default-blocking-io-dispatcher"
 
       # Cleanup leaked publishers and subscribers when they are not used within a given
       # deadline
@@ -37,7 +47,7 @@ akka {
         mode = cancel
 
         # time after which a subscriber / publisher is considered stale and eligible
-        # for cancelation (see `akka.stream.subscription-timeout.mode`)
+        # for cancellation (see `pekko.stream.subscription-timeout.mode`)
         timeout = 5s
       }
 
@@ -162,15 +172,15 @@ akka {
       //#stream-ref
     }
 
-    # Deprecated, left here to not break Akka HTTP which refers to it
-    blocking-io-dispatcher = "akka.actor.default-blocking-io-dispatcher"
+    # Deprecated, left here to not break Pekko HTTP which refers to it
+    blocking-io-dispatcher = "pekko.actor.default-blocking-io-dispatcher"
 
-    # Deprecated, will not be used unless user code refer to it, use 'akka.stream.materializer.blocking-io-dispatcher'
+    # Deprecated, will not be used unless user code refer to it, use 'pekko.stream.materializer.blocking-io-dispatcher'
     # instead, or if from code, prefer the 'ActorAttributes.IODispatcher' attribute
-    default-blocking-io-dispatcher = "akka.actor.default-blocking-io-dispatcher"
+    default-blocking-io-dispatcher = "pekko.actor.default-blocking-io-dispatcher"
   }
 
-  # configure overrides to ssl-configuration here (to be used by akka-streams, and akka-http – i.e. when serving https connections)
+  # configure overrides to ssl-configuration here (to be used by pekko-streams, and pekko-http – i.e. when serving https connections)
   ssl-config {
     protocol = "TLSv1.2"
   }
@@ -178,23 +188,23 @@ akka {
   actor {
 
     serializers {
-      akka-stream-ref = "akka.stream.serialization.StreamRefSerializer"
+      pekko-stream-ref = "org.apache.pekko.stream.serialization.StreamRefSerializer"
     }
 
     serialization-bindings {
-      "akka.stream.SinkRef"                           = akka-stream-ref
-      "akka.stream.SourceRef"                         = akka-stream-ref
-      "akka.stream.impl.streamref.StreamRefsProtocol" = akka-stream-ref
+      "org.apache.pekko.stream.SinkRef"                           = pekko-stream-ref
+      "org.apache.pekko.stream.SourceRef"                         = pekko-stream-ref
+      "org.apache.pekko.stream.impl.streamref.StreamRefsProtocol" = pekko-stream-ref
     }
 
     serialization-identifiers {
-      "akka.stream.serialization.StreamRefSerializer" = 30
+      "org.apache.pekko.stream.serialization.StreamRefSerializer" = 30
     }
   }
 }
 
 # ssl configuration
-# folded in from former ssl-config-akka module
+# folded in from former ssl-config-pekko module
 ssl-config {
-  logger = "com.typesafe.sslconfig.akka.util.AkkaLoggerBridge"
+  logger = "com.typesafe.sslconfig.pekko.util.PekkoLoggerBridge"
 }
similarity index 94%
rename from akka/repackaged-akka/pom.xml
rename to pekko/repackaged-pekko/pom.xml
index 9928003201606ccdf39807178bf0168cf0fb7f4b..54ed0a009bc52b39a02de4591b554fe120d3322e 100644 (file)
@@ -17,7 +17,7 @@
         <relativePath>../../bundle-parent</relativePath>
     </parent>
 
-    <artifactId>repackaged-akka</artifactId>
+    <artifactId>repackaged-pekko</artifactId>
     <packaging>bundle</packaging>
     <name>${project.artifactId}</name>
 
@@ -33,7 +33,7 @@
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
-            <artifactId>repackaged-akka-jar</artifactId>
+            <artifactId>repackaged-pekko-jar</artifactId>
             <version>${project.version}</version>
             <scope>provided</scope>
         </dependency>
                     <execution>
                         <id>unpack-license</id>
                         <configuration>
-                            <!-- Akka is Apache-2.0 licensed -->
+                            <!-- Pekko is Apache-2.0 licensed -->
                             <skip>true</skip>
                         </configuration>
                     </execution>
                             <artifactItems>
                                 <artifactItem>
                                     <groupId>org.opendaylight.controller</groupId>
-                                    <artifactId>repackaged-akka-jar</artifactId>
+                                    <artifactId>repackaged-pekko-jar</artifactId>
                                     <version>${project.version}</version>
                                 </artifactItem>
                                 <artifactItem>
                                     <groupId>com.hierynomus</groupId>
                                     <artifactId>asn-one</artifactId>
-                                    <version>0.4.0</version>
+                                    <version>0.5.0</version>
                                 </artifactItem>
                             </artifactItems>
                             <overWriteReleases>false</overWriteReleases>
                         </goals>
                         <configuration>
                             <classifier>sources</classifier>
-                            <includeArtifactIds>repackaged-akka-jar</includeArtifactIds>
+                            <includeArtifactIds>repackaged-pekko-jar</includeArtifactIds>
                             <outputDirectory>${project.build.directory}/shaded-sources</outputDirectory>
                         </configuration>
                     </execution>
                         <id>shaded-sources</id>
                         <phase>prepare-package</phase>
                         <goals>
-                           <goal>add-source</goal>
+                            <goal>add-source</goal>
                         </goals>
                         <configuration>
                             <sources>${project.build.directory}/shaded-sources</sources>
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
-                        <Automatic-Module-Name>org.opendaylight.controller.repackaged.akka</Automatic-Module-Name>
+                        <Automatic-Module-Name>org.opendaylight.controller.repackaged.pekko</Automatic-Module-Name>
                         <Export-Package>
-                            akka.*,
+                            org.apache.pekko.*,
                             com.typesafe.sslconfig.akka.*,
                             jdk.jfr,
                         </Export-Package>
diff --git a/pom.xml b/pom.xml
index 79776584edffb1e82d789c5b76ad3c3ece94d164..8db293433837b120f4a96bcc90f0b5a6a08438ef 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
     <module>features</module>
     <module>karaf</module>
 
-    <module>akka</module>
+    <module>pekko</module>
     <module>atomix-storage</module>
     <module>bundle-parent</module>
     <module>benchmark</module>