Skip to content

Commit

Permalink
renamed ConciergeForwarderActor to EdgeCommandForwarderActor
Browse files Browse the repository at this point in the history
* removed DispatcherActor.java
* prepared EdgeCommandForwarderActor also to handle ThingSearchCommands
*

Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed May 19, 2022
1 parent 6c32831 commit 22a5355
Show file tree
Hide file tree
Showing 10 changed files with 153 additions and 405 deletions.
Expand Up @@ -27,7 +27,7 @@
import org.eclipse.ditto.connectivity.service.messaging.persistence.ConnectionPersistenceOperationsActor;
import org.eclipse.ditto.connectivity.service.messaging.persistence.ConnectionPersistenceStreamingActorCreator;
import org.eclipse.ditto.connectivity.service.messaging.persistence.ConnectionSupervisorActor;
import org.eclipse.ditto.edge.api.dispatching.ConciergeForwarderActor;
import org.eclipse.ditto.edge.api.dispatching.EdgeCommandForwarderActor;
import org.eclipse.ditto.edge.api.dispatching.ShardRegions;
import org.eclipse.ditto.internal.utils.akka.logging.DittoLoggerFactory;
import org.eclipse.ditto.internal.utils.cluster.ClusterUtil;
Expand Down Expand Up @@ -178,8 +178,8 @@ private ActorRef getHealthCheckingActor(final ConnectivityConfig connectivityCon

private ActorRef getCommandForwarder(final ClusterConfig clusterConfig, final ActorRef pubSubMediator) {

return startChildActor(ConciergeForwarderActor.ACTOR_NAME,
ConciergeForwarderActor.props(pubSubMediator,
return startChildActor(EdgeCommandForwarderActor.ACTOR_NAME,
EdgeCommandForwarderActor.props(pubSubMediator,
ShardRegions.of(getContext().getSystem(), clusterConfig)));
}

Expand Down
6 changes: 3 additions & 3 deletions edge/api/pom.xml
Expand Up @@ -56,14 +56,14 @@
<groupId>org.eclipse.ditto</groupId>
<artifactId>ditto-connectivity-model</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.ditto</groupId>
<artifactId>ditto-things-api</artifactId>
<artifactId>ditto-thingsearch-model</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.ditto</groupId>
<artifactId>ditto-thingsearch-api</artifactId> <!-- required for DispatcherActor - TODO CR-11297 check if this is wanted here -->
<artifactId>ditto-thingsearch-api</artifactId>
</dependency>

<dependency>
Expand Down

This file was deleted.

0 comments on commit 22a5355

Please sign in to comment.