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