Move validation settings bean
This commit is contained in:
parent
ceeff0ccf0
commit
dac516828e
|
@ -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();
|
||||
|
|
|
@ -96,12 +96,6 @@ public abstract class BaseConfigDstu3Plus extends BaseConfig {
|
|||
return val;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ValidationSettings validationSettings() {
|
||||
return new ValidationSettings();
|
||||
}
|
||||
|
||||
|
||||
@Bean
|
||||
public abstract ITermReadSvc terminologyService();
|
||||
|
||||
|
|
Loading…
Reference in New Issue