From aea7eeb44dffd8dc14126e54d1031ff78fd0a3f7 Mon Sep 17 00:00:00 2001 From: Andrew Sung Date: Fri, 7 Aug 2020 17:46:06 -0400 Subject: [PATCH] Fixes as file backend API changes. --- src/main/java/gyro/azure/CloudBlobContainerFileBackend.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java b/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java index 51b2e1d1..3ec50f67 100644 --- a/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java +++ b/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java @@ -38,6 +38,7 @@ import com.psddev.dari.util.StringUtils; import gyro.azure.storage.StorageAccountResource; import gyro.core.FileBackend; +import gyro.core.FileBackendAccess; import gyro.core.GyroCore; import gyro.core.GyroException; import gyro.core.Type; @@ -115,7 +116,7 @@ public InputStream openInput(String file) throws Exception { } @Override - public OutputStream openOutput(String file) throws Exception { + public OutputStream openOutput(String file, FileBackendAccess acl) throws Exception { return getBlockBlobReference(file).openOutputStream(); } @@ -130,7 +131,7 @@ public boolean exists(String file) throws Exception { } @Override - public void copy(String source, String destination) throws Exception { + public void copy(String source, String destination, FileBackendAccess acl) throws Exception { CloudBlockBlob target = getBlockBlobReference(destination); target.startCopy(getBlockBlobReference(source));