Skip to content

Commit

Permalink
Bump HAPI version, switch to DatabaseBinaryContentStorageSvcImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek committed Apr 19, 2024
1 parent 79c43b4 commit 70da0dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir</artifactId>
<version>7.1.8-SNAPSHOT</version>
<version>7.1.10-SNAPSHOT</version>
</parent>

<artifactId>hapi-fhir-jpaserver-starter</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import ca.uhn.fhir.jpa.api.config.JpaStorageSettings;
import ca.uhn.fhir.jpa.binary.api.IBinaryStorageSvc;
import ca.uhn.fhir.jpa.binstore.DatabaseBlobBinaryStorageSvcImpl;
import ca.uhn.fhir.jpa.binstore.DatabaseBinaryContentStorageSvcImpl;
import ca.uhn.fhir.jpa.config.HibernatePropertiesProvider;
import ca.uhn.fhir.jpa.model.config.PartitionSettings;
import ca.uhn.fhir.jpa.model.config.PartitionSettings.CrossPartitionReferenceMode;
Expand Down Expand Up @@ -88,7 +88,7 @@ public FhirServerConfigCommon(AppProperties appProperties) {
}

/**
* Configure FHIR properties around the the JPA server via this bean
* Configure FHIR properties around the JPA server via this bean
*/
@Bean
public JpaStorageSettings jpaStorageSettings(AppProperties appProperties) {
Expand Down Expand Up @@ -261,7 +261,7 @@ protected StorageSettings storageSettings(AppProperties appProperties, JpaStorag
@Lazy
@Bean
public IBinaryStorageSvc binaryStorageSvc(AppProperties appProperties) {
DatabaseBlobBinaryStorageSvcImpl binaryStorageSvc = new DatabaseBlobBinaryStorageSvcImpl();
DatabaseBinaryContentStorageSvcImpl binaryStorageSvc = new DatabaseBinaryContentStorageSvcImpl();

if (appProperties.getMax_binary_size() != null) {
binaryStorageSvc.setMaximumBinarySize(appProperties.getMax_binary_size());
Expand Down

0 comments on commit 70da0dc

Please sign in to comment.