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>
|
<properties>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<hapi.fhir.jpa.server.starter.revision>4</hapi.fhir.jpa.server.starter.revision>
|
<hapi.fhir.jpa.server.starter.revision>1</hapi.fhir.jpa.server.starter.revision>
|
||||||
<clinical-reasoning.version>3.28.0</clinical-reasoning.version>
|
<clinical-reasoning.version>4.0.0</clinical-reasoning.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- one-liner to take you to the cloud with settings form the application.yaml file: -->
|
<!-- one-liner to take you to the cloud with settings form the application.yaml file: -->
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>hapi-fhir</artifactId>
|
<artifactId>hapi-fhir</artifactId>
|
||||||
<version>8.4.0</version>
|
<version>8.6.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>hapi-fhir-jpaserver-starter</artifactId>
|
<artifactId>hapi-fhir-jpaserver-starter</artifactId>
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ public class PartitionModeConfigurer {
|
|||||||
myPartitionSettings.setUnnamedPartitionMode(true);
|
myPartitionSettings.setUnnamedPartitionMode(true);
|
||||||
} else if (partitioning.getRequest_tenant_partitioning_mode()) {
|
} else if (partitioning.getRequest_tenant_partitioning_mode()) {
|
||||||
ourLog.info("Partitioning mode enabled in: Request 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());
|
myRestfulServer.setTenantIdentificationStrategy(new UrlBaseTenantIdentificationStrategy());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user