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

Commit 673a33d

Browse files
author
jofriedm-msft
authored
Merge pull request #99 from jofriedm-msft/dev
Dev
2 parents 66659cc + b0268b7 commit 673a33d

File tree

9 files changed

+6
-54
lines changed

9 files changed

+6
-54
lines changed

ChangeLog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
2017.XX.XX Version X.X.X
1+
2017.11.01 Version 6.1.0
22
* Added support for the last time the tier was modified.
33

44
2017.10.06 Version 6.0.0

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>6.0.0</version>
33+
<version>6.1.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>6.0.0</version>
29+
<version>6.1.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

microsoft-azure-storage-samples/src/com/microsoft/azure/storage/logging/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>6.0.0</version>
29+
<version>6.1.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.microsoft.azure</groupId>

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ public void testBlobIPAccountSas() throws InvalidKeyException, StorageException,
208208
}
209209
catch (StorageException ex) {
210210
assertEquals(HttpURLConnection.HTTP_FORBIDDEN, ex.getHttpStatusCode());
211-
212-
final String[] words = ex.getMessage().split(" ");
213-
// final word
214-
String lastWord = words[words.length - 1];
215-
// strip trailing period
216-
lastWord = lastWord.substring(0, lastWord.length() - 1);
217-
218-
sourceIP = new IPRange(lastWord);
219211
}
220212
finally {
221213
this.blobContainer.deleteIfExists();
@@ -340,14 +332,6 @@ public void testFileIPAccountSas() throws InvalidKeyException, StorageException,
340332
}
341333
catch (StorageException ex) {
342334
assertEquals(HttpURLConnection.HTTP_FORBIDDEN, ex.getHttpStatusCode());
343-
344-
final String[] words = ex.getMessage().split(" ");
345-
// final word
346-
String lastWord = words[words.length - 1];
347-
// strip trailing period
348-
lastWord = lastWord.substring(0, lastWord.length() - 1);
349-
350-
sourceIP = new IPRange(lastWord);
351335
}
352336
finally {
353337
this.fileShare.deleteIfExists();
@@ -474,14 +458,6 @@ public void testQueueIPAccountSas()
474458
}
475459
catch (StorageException ex) {
476460
assertEquals(HttpURLConnection.HTTP_FORBIDDEN, ex.getHttpStatusCode());
477-
478-
final String[] words = ex.getMessage().split(" ");
479-
// final word
480-
String lastWord = words[words.length - 1];
481-
// strip trailing period
482-
lastWord = lastWord.substring(0, lastWord.length() - 1);
483-
484-
sourceIP = new IPRange(lastWord);
485461
}
486462
finally {
487463
this.queueQueue.deleteIfExists();
@@ -608,14 +584,6 @@ public void testTableIPAccountSas() throws InvalidKeyException, StorageException
608584
}
609585
catch (StorageException ex) {
610586
assertEquals(HttpURLConnection.HTTP_FORBIDDEN, ex.getHttpStatusCode());
611-
612-
final String[] words = ex.getMessage().split(" ");
613-
// final word
614-
String lastWord = words[words.length - 1];
615-
// strip trailing period
616-
lastWord = lastWord.substring(0, lastWord.length() - 1);
617-
618-
sourceIP = new IPRange(lastWord);
619587
}
620588
finally {
621589
this.tableTable.deleteIfExists();

microsoft-azure-storage-test/src/com/microsoft/azure/storage/blob/SasTests.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,6 @@ public void testIpAcl()
137137
}
138138
catch (StorageException ex) {
139139
assertEquals(HttpURLConnection.HTTP_FORBIDDEN, ex.getHttpStatusCode());
140-
141-
final String[] words = ex.getMessage().split(" ");
142-
// final word
143-
String lastWord = words[words.length - 1];
144-
// strip trailing period
145-
lastWord = lastWord.substring(0, lastWord.length() - 1);
146-
147-
sourceIP = new IPRange(lastWord);
148140
}
149141

150142
// Ensure access attempt from the single allowed IP succeeds

microsoft-azure-storage-test/src/com/microsoft/azure/storage/file/FileSasTests.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,6 @@ public void testIpAcl()
181181
}
182182
catch (StorageException ex) {
183183
assertEquals(HttpURLConnection.HTTP_FORBIDDEN, ex.getHttpStatusCode());
184-
185-
final String[] words = ex.getMessage().split(" ");
186-
// final word
187-
String lastWord = words[words.length - 1];
188-
// strip trailing period
189-
lastWord = lastWord.substring(0, lastWord.length() - 1);
190-
191-
sourceIP = new IPRange(lastWord);
192184
}
193185

194186
// Ensure access attempt from the single allowed IP succeeds

microsoft-azure-storage/src/com/microsoft/azure/storage/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ public static class HeaderConstants {
661661
/**
662662
* Specifies the value to use for UserAgent header.
663663
*/
664-
public static final String USER_AGENT_VERSION = "6.0.0";
664+
public static final String USER_AGENT_VERSION = "6.1.0";
665665

666666
/**
667667
* The default type for content-type and accept

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<modelVersion>4.0.0</modelVersion>
1111
<groupId>com.microsoft.azure</groupId>
1212
<artifactId>azure-storage</artifactId>
13-
<version>6.0.0</version>
13+
<version>6.1.0</version>
1414
<packaging>jar</packaging>
1515

1616
<name>Microsoft Azure Storage Client SDK</name>

0 commit comments

Comments
 (0)