added reindexProvider to Config (#326)
This commit is contained in:
@@ -42,6 +42,7 @@ import ca.uhn.fhir.rest.server.interceptor.RequestValidatingInterceptor;
|
||||
import ca.uhn.fhir.rest.server.interceptor.ResponseHighlighterInterceptor;
|
||||
import ca.uhn.fhir.rest.server.interceptor.ResponseValidatingInterceptor;
|
||||
import ca.uhn.fhir.rest.server.interceptor.partition.RequestTenantPartitionInterceptor;
|
||||
import ca.uhn.fhir.rest.server.provider.ReindexProvider;
|
||||
import ca.uhn.fhir.rest.server.provider.ResourceProviderFactory;
|
||||
import ca.uhn.fhir.rest.server.tenant.UrlBaseTenantIdentificationStrategy;
|
||||
import ca.uhn.fhir.rest.server.util.ISearchParamRegistry;
|
||||
@@ -95,6 +96,8 @@ public class BaseJpaRestfulServer extends RestfulServer {
|
||||
@Autowired
|
||||
ValueSetOperationProvider valueSetOperationProvider;
|
||||
@Autowired
|
||||
ReindexProvider reindexProvider;
|
||||
@Autowired
|
||||
BinaryStorageInterceptor binaryStorageInterceptor;
|
||||
@Autowired
|
||||
IPackageInstallerSvc packageInstallerSvc;
|
||||
@@ -373,6 +376,9 @@ public class BaseJpaRestfulServer extends RestfulServer {
|
||||
// valueSet Operations i.e $expand
|
||||
registerProvider(valueSetOperationProvider);
|
||||
|
||||
//reindex Provider $reindex
|
||||
registerProvider(reindexProvider);
|
||||
|
||||
// Partitioning
|
||||
if (appProperties.getPartitioning() != null) {
|
||||
registerInterceptor(new RequestTenantPartitionInterceptor());
|
||||
|
||||
Reference in New Issue
Block a user