Skip to content

Commit

Permalink
fix instantiation of DefaultThingEventObserver
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Guggemos <dominik.guggemos@bosch.io>
  • Loading branch information
dguggemos committed Nov 30, 2021
1 parent d783418 commit 226378f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@

import org.eclipse.ditto.things.model.signals.events.ThingEvent;

import akka.actor.ActorSystem;

/**
* Default ThingEventObserver implementation.
*/
public class DefaultThingEventObserver extends ThingEventObserver {

public DefaultThingEventObserver(final ActorSystem system) {
// nothing to do
}

@Override
public void processThingEvent(final ThingEvent<?> event) {
// noop
Expand Down
1 change: 1 addition & 0 deletions thingsearch/service/src/test/resources/actors-test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ditto {
things-search {
query-criteria-validator.implementation = "org.eclipse.ditto.thingsearch.service.persistence.query.validation.DefaultQueryCriteriaValidator"
search-update-mapper.implementation = "org.eclipse.ditto.thingsearch.service.persistence.write.streaming.DefaultSearchUpdateMapper"
thing-event-observer.implementation = "org.eclipse.ditto.thingsearch.service.updater.actors.DefaultThingEventObserver"
mongo-hints-by-namespace = ${?MONGO_HINTS_BY_NAMESPACE}

index-initialization {
Expand Down
1 change: 1 addition & 0 deletions thingsearch/service/src/test/resources/test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ditto {
}
query-criteria-validator = "org.eclipse.ditto.thingsearch.service.persistence.query.validation.DefaultQueryCriteriaValidator"
search-update-mapper.implementation = "org.eclipse.ditto.thingsearch.service.persistence.write.streaming.DefaultSearchUpdateMapper"
thing-event-observer.implementation = "org.eclipse.ditto.thingsearch.service.updater.actors.DefaultThingEventObserver"
}
}

Expand Down

0 comments on commit 226378f

Please sign in to comment.