Merge pull request #295 from ashaban/master

registering ValueSetOperationProvider
This commit is contained in:
Jens Kristian Villadsen
2021-12-11 16:12:56 +01:00
committed by GitHub

View File

@@ -22,6 +22,7 @@ import ca.uhn.fhir.jpa.provider.JpaConformanceProviderDstu2;
import ca.uhn.fhir.jpa.provider.SubscriptionTriggeringProvider;
import ca.uhn.fhir.jpa.provider.TerminologyUploaderProvider;
import ca.uhn.fhir.jpa.provider.dstu3.JpaConformanceProviderDstu3;
import ca.uhn.fhir.jpa.provider.ValueSetOperationProvider;
import ca.uhn.fhir.jpa.search.DatabaseBackedPagingProvider;
import ca.uhn.fhir.jpa.subscription.util.SubscriptionDebugLogInterceptor;
import ca.uhn.fhir.mdm.provider.MdmProviderLoader;
@@ -92,6 +93,8 @@ public class BaseJpaRestfulServer extends RestfulServer {
@Autowired
PartitionManagementProvider partitionManagementProvider;
@Autowired
ValueSetOperationProvider valueSetOperationProvider;
@Autowired
BinaryStorageInterceptor binaryStorageInterceptor;
@Autowired
IPackageInstallerSvc packageInstallerSvc;
@@ -367,6 +370,9 @@ public class BaseJpaRestfulServer extends RestfulServer {
registerProvider(bulkDataExportProvider);
}
// valueSet Operations i.e $expand
registerProvider(valueSetOperationProvider);
// Partitioning
if (appProperties.getPartitioning() != null) {
registerInterceptor(new RequestTenantPartitionInterceptor());