Skip to content

Commit

Permalink
Rename config of SearchService.
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 13, 2022
1 parent 5d08fd4 commit a3fc872
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Expand Up @@ -42,7 +42,7 @@
@Immutable
public final class DittoSearchConfig implements SearchConfig, WithConfigPath {

private static final String CONFIG_PATH = "things-search";
private static final String CONFIG_PATH = "search";

private final DittoServiceConfig dittoServiceConfig;
@Nullable private final String mongoHintsByNamespace;
Expand Down
Expand Up @@ -49,7 +49,7 @@ ditto {
caching-signal-enrichment-facade.provider = ${?THINGS_SEARCH_CACHING_SIGNAL_ENRICHMENT_PROVIDER}
}

things-search {
search {
query-criteria-validator.implementation = ${?QUERY_CRITERIA_VALIDATOR_IMPLEMENTATION}
search-update-mapper.implementation = ${?SEARCH_UPDATE_MAPPER_IMPLEMENTATION}
search-update-observer.implementation = ${?SEARCH_UPDATE_OBSERVER_IMPLEMENTATION}
Expand Down Expand Up @@ -311,4 +311,4 @@ thing-cache-dispatcher {
}
}

include "things-search-extension.conf"
include "search-extension.conf"
Expand Up @@ -16,6 +16,7 @@
import org.eclipse.ditto.thingsearch.service.common.config.DittoSearchConfig;
import org.eclipse.ditto.thingsearch.service.common.config.SearchConfig;
import org.eclipse.ditto.internal.utils.config.DefaultScopedConfig;
import org.eclipse.ditto.thingsearch.service.starter.SearchService;

import akka.actor.ActorSystem;
import akka.actor.Props;
Expand All @@ -27,7 +28,7 @@ public final class SearchRootActorTest extends AbstractDittoRootActorTest {

@Override
protected String serviceName() {
return "things-search";
return SearchService.SERVICE_NAME;
}

@Override
Expand Down

0 comments on commit a3fc872

Please sign in to comment.