Move validation settings bean

This commit is contained in:
jamesagnew 2020-06-26 18:31:13 -04:00
parent ceeff0ccf0
commit dac516828e
2 changed files with 6 additions and 6 deletions

View File

@ -52,6 +52,7 @@ import ca.uhn.fhir.jpa.search.reindex.ResourceReindexingSvcImpl;
import ca.uhn.fhir.jpa.searchparam.config.SearchParamConfig;
import ca.uhn.fhir.jpa.searchparam.extractor.IResourceLinkResolver;
import ca.uhn.fhir.jpa.util.MemoryCacheService;
import ca.uhn.fhir.jpa.validation.ValidationSettings;
import ca.uhn.fhir.rest.api.server.RequestDetails;
import ca.uhn.fhir.rest.server.interceptor.consent.IConsentContextServices;
import ca.uhn.fhir.rest.server.interceptor.partition.RequestTenantPartitionInterceptor;
@ -213,6 +214,11 @@ public abstract class BaseConfig {
return new NpmJpaValidationSupport();
}
@Bean
public ValidationSettings validationSettings() {
return new ValidationSettings();
}
@Bean
public ISearchCacheSvc searchCacheSvc() {
return new DatabaseSearchCacheSvcImpl();

View File

@ -96,12 +96,6 @@ public abstract class BaseConfigDstu3Plus extends BaseConfig {
return val;
}
@Bean
public ValidationSettings validationSettings() {
return new ValidationSettings();
}
@Bean
public abstract ITermReadSvc terminologyService();