Merge pull request #851 from hapifhir/rel_8_5-tracking
This commit is contained in:
6
pom.xml
6
pom.xml
@@ -5,8 +5,8 @@
|
||||
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
<hapi.fhir.jpa.server.starter.revision>4</hapi.fhir.jpa.server.starter.revision>
|
||||
<clinical-reasoning.version>3.28.0</clinical-reasoning.version>
|
||||
<hapi.fhir.jpa.server.starter.revision>1</hapi.fhir.jpa.server.starter.revision>
|
||||
<clinical-reasoning.version>4.0.0</clinical-reasoning.version>
|
||||
</properties>
|
||||
|
||||
<!-- one-liner to take you to the cloud with settings form the application.yaml file: -->
|
||||
@@ -20,7 +20,7 @@
|
||||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>hapi-fhir</artifactId>
|
||||
<version>8.4.0</version>
|
||||
<version>8.6.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>hapi-fhir-jpaserver-starter</artifactId>
|
||||
|
||||
@@ -34,7 +34,9 @@ public class PartitionModeConfigurer {
|
||||
myPartitionSettings.setUnnamedPartitionMode(true);
|
||||
} else if (partitioning.getRequest_tenant_partitioning_mode()) {
|
||||
ourLog.info("Partitioning mode enabled in: Request tenant partitioning mode");
|
||||
myRestfulServer.registerInterceptor(new RequestTenantPartitionInterceptor());
|
||||
RequestTenantPartitionInterceptor tenantPartitionInterceptor = new RequestTenantPartitionInterceptor();
|
||||
tenantPartitionInterceptor.setPartitionSettings(myPartitionSettings);
|
||||
myRestfulServer.registerInterceptor(tenantPartitionInterceptor);
|
||||
myRestfulServer.setTenantIdentificationStrategy(new UrlBaseTenantIdentificationStrategy());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user