Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #55 from emgerner-msft/master
Browse files Browse the repository at this point in the history
Java Storage Client Library 4.0.0
  • Loading branch information
emgerner-msft committed Oct 5, 2015
2 parents 9248873 + eabe17d commit d108c11
Show file tree
Hide file tree
Showing 91 changed files with 4,781 additions and 4,347 deletions.
9 changes: 9 additions & 0 deletions BreakingChanges.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Changes in 4.0.0

TABLE
* Removed deprecated table AtomPub support.

OTHER
* Removed deprecated constructors which take service clients in favor of constructors which take credentials.
* Removed deprecated Credentials and StorageKey classes. Please use the appropriate methods on StorageCredentialsAccountAndKey instead.

Changes in 3.0.0

BLOB
Expand Down
11 changes: 11 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2015.10.05 Version 4.0.0
* Removed deprecated table AtomPub support.
* Removed deprecated constructors which take service clients in favor of constructors which take credentials.
* Added support for "Add" permissions on Blob SAS.
* Added support for "Create" permissions on Blob and File SAS.
* Added support for IP Restricted SAS and Protocol SAS.
* Added support for Account SAS to all services.
* Added support for Minute and Hour Metrics to FileServiceProperties and added support for File Metrics to CloudAnalyticsClient.
* Removed deprecated startCopyFromBlob() on CloudBlob. Use startCopy() instead.
* Removed deprecated Credentials and StorageKey classes. Please use the appropriate methods on StorageCredentialsAccountAndKey instead.

2015.09.16 Version 3.1.0
* Fixed a bug in table where a select on a non-existent field resulted in a null reference exception if the corresponding field in the TableEntity was not nullable.
* Fixed a bug in table where JsonParser was automatically closing the response stream before it was completely drained causing socket exhaustion.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>3.1.0</version>
<version>4.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion microsoft-azure-storage-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>3.1.0</version>
<version>4.0.0</version>
</dependency>
</dependencies>
</project>
3 changes: 3 additions & 0 deletions microsoft-azure-storage-test/res/simplelogger.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
org.slf4j.simpleLogger.defaultLogLevel = trace
org.slf4j.simpleLogger.log.limited = error
org.slf4j.simpleLogger.showThreadName = false

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.slf4j.LoggerFactory;
Expand All @@ -42,27 +41,6 @@
import com.microsoft.azure.storage.core.Logger;

/*
* To run pass these tests you must:
*
* 1. Have the simple sl4j binding on your classpath. Add the following to the dependency section of your pom:
* <dependency>
* <groupId>org.slf4j</groupId>
* <artifactId>slf4j-simple</artifactId>
* <version>1.7.5</version>
* <scope>test</scope>
* </dependency>
*
* 2. Create a "resources" directory under src/test. In src/test/resources create a "simplelogger.properties" file with
* the following lines:
* org.slf4j.simpleLogger.defaultLogLevel = trace
* org.slf4j.simpleLogger.log.limited = error
* org.slf4j.simpleLogger.showThreadName = false
*
* 3. Remove or comment out the @Ignore annotation on the class
*
* See http://www.slf4j.org/apidocs/org/slf4j/impl/SimpleLogger.html for more information.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* If you'd like to use a different slf4j binding and/or not use Maven, you will need to add a different class path
* dependency and set the properties for it accordingly. The dependency and the properties file will need to be put in
* the appropriate locations for the logger implementation chosen.
Expand All @@ -75,7 +53,6 @@
* Then, you will need to modify the readAndCompareOutput method to parse the logs entries accordingly.
*/
@Category({ DevFabricTests.class, DevStoreTests.class, CloudTests.class })
@Ignore
public class LoggerTests {

private final static String TRACE = "TRACE";
Expand Down
Loading

0 comments on commit d108c11

Please sign in to comment.