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

Commit d108c11

Browse files
committed
Merge pull request #55 from emgerner-msft/master
Java Storage Client Library 4.0.0
2 parents 9248873 + eabe17d commit d108c11

File tree

91 files changed

+4781
-4347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4781
-4347
lines changed

BreakingChanges.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Changes in 4.0.0
2+
3+
TABLE
4+
* Removed deprecated table AtomPub support.
5+
6+
OTHER
7+
* Removed deprecated constructors which take service clients in favor of constructors which take credentials.
8+
* Removed deprecated Credentials and StorageKey classes. Please use the appropriate methods on StorageCredentialsAccountAndKey instead.
9+
110
Changes in 3.0.0
211

312
BLOB

ChangeLog.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2015.10.05 Version 4.0.0
2+
* Removed deprecated table AtomPub support.
3+
* Removed deprecated constructors which take service clients in favor of constructors which take credentials.
4+
* Added support for "Add" permissions on Blob SAS.
5+
* Added support for "Create" permissions on Blob and File SAS.
6+
* Added support for IP Restricted SAS and Protocol SAS.
7+
* Added support for Account SAS to all services.
8+
* Added support for Minute and Hour Metrics to FileServiceProperties and added support for File Metrics to CloudAnalyticsClient.
9+
* Removed deprecated startCopyFromBlob() on CloudBlob. Use startCopy() instead.
10+
* Removed deprecated Credentials and StorageKey classes. Please use the appropriate methods on StorageCredentialsAccountAndKey instead.
11+
112
2015.09.16 Version 3.1.0
213
* 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.
314
* Fixed a bug in table where JsonParser was automatically closing the response stream before it was completely drained causing socket exhaustion.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3030
<dependency>
3131
<groupId>com.microsoft.azure</groupId>
3232
<artifactId>azure-storage</artifactId>
33-
<version>3.1.0</version>
33+
<version>4.0.0</version>
3434
</dependency>
3535
```
3636

microsoft-azure-storage-samples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>com.microsoft.azure</groupId>
2828
<artifactId>azure-storage</artifactId>
29-
<version>3.1.0</version>
29+
<version>4.0.0</version>
3030
</dependency>
3131
</dependencies>
3232
</project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
org.slf4j.simpleLogger.defaultLogLevel = trace
2+
org.slf4j.simpleLogger.log.limited = error
3+
org.slf4j.simpleLogger.showThreadName = false

microsoft-azure-storage-test/src/com/microsoft/azure/storage/AccountSasTests.java

Lines changed: 1669 additions & 0 deletions
Large diffs are not rendered by default.

microsoft-azure-storage-test/src/com/microsoft/azure/storage/LoggerTests.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.junit.AfterClass;
2727
import org.junit.Before;
2828
import org.junit.BeforeClass;
29-
import org.junit.Ignore;
3029
import org.junit.Test;
3130
import org.junit.experimental.categories.Category;
3231
import org.slf4j.LoggerFactory;
@@ -42,27 +41,6 @@
4241
import com.microsoft.azure.storage.core.Logger;
4342

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

8158
private final static String TRACE = "TRACE";

0 commit comments

Comments
 (0)