Skip to content

Commit

Permalink
Upgrades ocfl-java to 1.4.3 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein authored Jan 26, 2022
1 parent ce26804 commit bd4e62b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
<source.plugin.version>3.0.1</source.plugin.version>
<javadoc.plugin.version>3.2.0</javadoc.plugin.version>
<ocfl-java.version>1.3.1</ocfl-java.version>
<ocfl-java.version>1.4.3</ocfl-java.version>
<sonatype.host>s01.oss.sonatype.org</sonatype.host>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import edu.wisc.library.ocfl.core.OcflRepositoryBuilder;
import edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig;
import edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers;
import edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage;
import edu.wisc.library.ocfl.core.storage.OcflStorageBuilder;
import org.apache.commons.lang3.SystemUtils;
import org.fcrepo.storage.ocfl.cache.NoOpCache;
import org.junit.Before;
Expand Down Expand Up @@ -57,7 +57,7 @@ public void setup() throws IOException {
ocflRepo = new OcflRepositoryBuilder()
.defaultLayoutConfig(new HashedNTupleLayoutConfig())
.logicalPathMapper(logicalPathMapper)
.storage(FileSystemOcflStorage.builder().repositoryRoot(ocflRoot).build())
.storage(OcflStorageBuilder.builder().fileSystem(ocflRoot).build())
.workDir(ocflTemp)
.buildMutable();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import edu.wisc.library.ocfl.core.OcflRepositoryBuilder;
import edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig;
import edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers;
import edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage;
import edu.wisc.library.ocfl.core.storage.OcflStorageBuilder;
import org.apache.commons.lang3.SystemUtils;
import org.fcrepo.storage.ocfl.cache.CaffeineCache;
import org.fcrepo.storage.ocfl.cache.NoOpCache;
Expand Down Expand Up @@ -107,7 +107,7 @@ public void setup() throws IOException {
ocflRepo = new OcflRepositoryBuilder()
.defaultLayoutConfig(new HashedNTupleLayoutConfig())
.logicalPathMapper(logicalPathMapper)
.storage(FileSystemOcflStorage.builder().repositoryRoot(ocflRoot).build())
.storage(OcflStorageBuilder.builder().fileSystem(ocflRoot).build())
.workDir(ocflTemp)
.buildMutable();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import edu.wisc.library.ocfl.core.OcflRepositoryBuilder;
import edu.wisc.library.ocfl.core.extension.storage.layout.config.HashedNTupleLayoutConfig;
import edu.wisc.library.ocfl.core.path.mapper.LogicalPathMappers;
import edu.wisc.library.ocfl.core.storage.filesystem.FileSystemOcflStorage;
import edu.wisc.library.ocfl.core.storage.OcflStorageBuilder;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.SystemUtils;
import org.fcrepo.storage.ocfl.CommitType;
Expand Down Expand Up @@ -90,7 +90,7 @@ public void setup() throws IOException {
ocflRepo = new OcflRepositoryBuilder()
.defaultLayoutConfig(new HashedNTupleLayoutConfig())
.logicalPathMapper(logicalPathMapper)
.storage(FileSystemOcflStorage.builder().repositoryRoot(ocflRoot).build())
.storage(OcflStorageBuilder.builder().fileSystem(ocflRoot).build())
.workDir(ocflTemp)
.buildMutable();

Expand Down

0 comments on commit bd4e62b

Please sign in to comment.