Skip to content

Commit e5d49ee

Browse files
authored
Merge pull request #851 from hapifhir/rel_8_5-tracking
2 parents 9512ce1 + 39b991a commit e5d49ee

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
<properties>
77
<java.version>17</java.version>
8-
<hapi.fhir.jpa.server.starter.revision>4</hapi.fhir.jpa.server.starter.revision>
9-
<clinical-reasoning.version>3.28.0</clinical-reasoning.version>
8+
<hapi.fhir.jpa.server.starter.revision>1</hapi.fhir.jpa.server.starter.revision>
9+
<clinical-reasoning.version>4.0.0</clinical-reasoning.version>
1010
</properties>
1111

1212
<!-- one-liner to take you to the cloud with settings form the application.yaml file: -->
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>ca.uhn.hapi.fhir</groupId>
2222
<artifactId>hapi-fhir</artifactId>
23-
<version>8.4.0</version>
23+
<version>8.6.0</version>
2424
</parent>
2525

2626
<artifactId>hapi-fhir-jpaserver-starter</artifactId>

src/main/java/ca/uhn/fhir/jpa/starter/common/PartitionModeConfigurer.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ public PartitionModeConfigurer(
3434
myPartitionSettings.setUnnamedPartitionMode(true);
3535
} else if (partitioning.getRequest_tenant_partitioning_mode()) {
3636
ourLog.info("Partitioning mode enabled in: Request tenant partitioning mode");
37-
myRestfulServer.registerInterceptor(new RequestTenantPartitionInterceptor());
37+
RequestTenantPartitionInterceptor tenantPartitionInterceptor = new RequestTenantPartitionInterceptor();
38+
tenantPartitionInterceptor.setPartitionSettings(myPartitionSettings);
39+
myRestfulServer.registerInterceptor(tenantPartitionInterceptor);
3840
myRestfulServer.setTenantIdentificationStrategy(new UrlBaseTenantIdentificationStrategy());
3941
}
4042

0 commit comments

Comments
 (0)