kopia lustrzana https://github.com/gaul/s3proxy
Porównaj commity
6 Commity
33e8c55dc8
...
ec12ae0fe5
Autor | SHA1 | Data |
---|---|---|
![]() |
ec12ae0fe5 | |
![]() |
b147909ff3 | |
![]() |
ae7a20f845 | |
![]() |
2bdd10ca88 | |
![]() |
fcda97197a | |
![]() |
ede9777a5f |
10
pom.xml
10
pom.xml
|
@ -297,7 +297,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.github.spotbugs</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
<version>4.8.3.0</version>
|
<version>4.8.3.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<effort>Max</effort>
|
<effort>Max</effort>
|
||||||
<omitVisitors>CrossSiteScripting,DefaultEncodingDetector,FindNullDeref</omitVisitors>
|
<omitVisitors>CrossSiteScripting,DefaultEncodingDetector,FindNullDeref</omitVisitors>
|
||||||
|
@ -363,7 +363,7 @@
|
||||||
<java.version>11</java.version>
|
<java.version>11</java.version>
|
||||||
<jclouds.version>2.6.0-SNAPSHOT</jclouds.version>
|
<jclouds.version>2.6.0-SNAPSHOT</jclouds.version>
|
||||||
<jetty.version>11.0.20</jetty.version>
|
<jetty.version>11.0.20</jetty.version>
|
||||||
<slf4j.version>2.0.11</slf4j.version>
|
<slf4j.version>2.0.12</slf4j.version>
|
||||||
<shade.prefix>${project.groupId}.shaded</shade.prefix>
|
<shade.prefix>${project.groupId}.shaded</shade.prefix>
|
||||||
<surefire.version>3.0.0</surefire.version>
|
<surefire.version>3.0.0</surefire.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -399,7 +399,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ch.qos.logback</groupId>
|
<groupId>ch.qos.logback</groupId>
|
||||||
<artifactId>logback-classic</artifactId>
|
<artifactId>logback-classic</artifactId>
|
||||||
<version>1.4.14</version>
|
<version>1.5.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.xml.bind</groupId>
|
<groupId>javax.xml.bind</groupId>
|
||||||
|
@ -416,14 +416,14 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
<artifactId>junit-jupiter</artifactId>
|
<artifactId>junit-jupiter</artifactId>
|
||||||
<version>5.9.0</version>
|
<version>5.10.2</version>
|
||||||
<!-- Required for S3ProxyExtension -->
|
<!-- Required for S3ProxyExtension -->
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||||||
<artifactId>jackson-dataformat-xml</artifactId>
|
<artifactId>jackson-dataformat-xml</artifactId>
|
||||||
<version>2.13.3</version>
|
<version>2.16.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.spotbugs</groupId>
|
<groupId>com.github.spotbugs</groupId>
|
||||||
|
|
|
@ -2253,7 +2253,7 @@ public class S3ProxyHandler {
|
||||||
PutOptions options;
|
PutOptions options;
|
||||||
if (Quirks.MULTIPART_REQUIRES_STUB.contains(getBlobStoreType(
|
if (Quirks.MULTIPART_REQUIRES_STUB.contains(getBlobStoreType(
|
||||||
blobStore))) {
|
blobStore))) {
|
||||||
metadata = blobStore.getBlob(containerName, uploadId).getMetadata();
|
metadata = blobStore.blobMetadata(containerName, uploadId);
|
||||||
BlobAccess access = blobStore.getBlobAccess(containerName,
|
BlobAccess access = blobStore.getBlobAccess(containerName,
|
||||||
uploadId);
|
uploadId);
|
||||||
options = new PutOptions().setBlobAccess(access);
|
options = new PutOptions().setBlobAccess(access);
|
||||||
|
@ -2632,6 +2632,7 @@ public class S3ProxyHandler {
|
||||||
blobName, uploadId, createFakeBlobMetadata(blobStore),
|
blobName, uploadId, createFakeBlobMetadata(blobStore),
|
||||||
new PutOptions());
|
new PutOptions());
|
||||||
|
|
||||||
|
// TODO: Blob can leak on precondition failures.
|
||||||
Blob blob = blobStore.getBlob(sourceContainerName, sourceBlobName,
|
Blob blob = blobStore.getBlob(sourceContainerName, sourceBlobName,
|
||||||
options);
|
options);
|
||||||
if (blob == null) {
|
if (blob == null) {
|
||||||
|
|
Ładowanie…
Reference in New Issue