Skip to content

Commit

Permalink
Upgrade to jclouds 2.0.0-SNAPSHOT
Browse files Browse the repository at this point in the history
This release allows larger than 2 GB single-part blobs and supports
object metadata with the filesystem provider on Linux and Windows.  It
also includes support for object size in container lists.  Fixes #1.
Fixes #6.
  • Loading branch information
gaul committed Jan 22, 2015
1 parent 50eb30b commit 23f8e77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jclouds.version>1.8.1</jclouds.version>
<jclouds.version>2.0.0-SNAPSHOT</jclouds.version>
</properties>

<prerequisites>
Expand All @@ -274,6 +274,11 @@
<artifactId>jclouds-allblobstore</artifactId>
<version>${jclouds.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds.api</groupId>
<artifactId>filesystem</artifactId>
<version>${jclouds.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds.driver</groupId>
<artifactId>jclouds-slf4j</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/gaul/s3proxy/S3ProxyHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -745,9 +745,8 @@ private void handleBlobList(HttpServletRequest request,
xml.writeEndElement();
}

// TODO: StorageMetadata does not contain size
xml.writeStartElement("Size");
xml.writeCharacters("0");
xml.writeCharacters(String.valueOf(metadata.getSize()));
xml.writeEndElement();

xml.writeStartElement("StorageClass");
Expand Down

0 comments on commit 23f8e77

Please sign in to comment.