Skip to content

Commit

Permalink
Fix config key for unit tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
  • Loading branch information
yufei-cai committed Apr 14, 2022
1 parent 7fc5be3 commit 6fd6a58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions thingsearch/service/src/test/resources/actors-test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ditto {
}
}

things-search {
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"
search-update-observer.implementation = "org.eclipse.ditto.thingsearch.service.updater.actors.DefaultSearchUpdateObserver"
Expand Down Expand Up @@ -173,11 +173,11 @@ ditto {
akka {
cluster {
sharding {
role = "things-search"
role = "search"
}

roles = [
"things-search",
"search",
"blocked-namespaces-aware",
"thing-event-aware"
]
Expand Down Expand Up @@ -223,4 +223,4 @@ thing-cache-dispatcher {
}
}

include "things-search-extension.conf"
include "search-extension.conf"
6 changes: 3 additions & 3 deletions thingsearch/service/src/test/resources/test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ ditto {
}
}
limits {
# limiations for the "things-search" service
things-search {
# limiations for the "search" service
search {
default-page-size = 25
# the allowed maximum page size limit - e.g. specified when doing a search via HTTP:
# /api/1/search/things?filter=...&option=limit(0,200)
max-page-size = 200
}
}
things-search {
search {
query {
mongodb.timeout = 5s
}
Expand Down

0 comments on commit 6fd6a58

Please sign in to comment.