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

Commit e5d51ee

Browse files
authored
Merge pull request #408 from Azure/dev
Dev
2 parents 5365419 + 13abebb commit e5d51ee

File tree

16 files changed

+821
-114
lines changed

16 files changed

+821
-114
lines changed

ChangeLog.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2018.11.19 Version 10.3.0
2+
* Added support for SLF4J.
3+
* Included default logging to log warnings and errors to the temp directory by default.
4+
* Fixed a bug in hierarchical listings that would sometimes return incomplete results.
5+
* Included the whole HTTP Request in log statements (except for sensitive authorization information, which is redacted).
6+
* Fixed a bug that made the request property on the response object always null.
7+
18
2018.10.29 Version 10.2.0
29
* Added overloads which only accept the required parameters.
310
* Added CopyFromURL, which will do a synchronous server-side copy, meaning the service will not return an HTTP response until it has completed the copy.
@@ -53,4 +60,4 @@
5360
* Updated the defaults for RequestRetryOptions.
5461

5562
2018.04.27 Version 10.0.0-preview
56-
* Initial Release. Please see the README and wiki for information on the new design.
63+
* Initial Release. Please see the README and wiki for information on the new design.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
3737
<dependency>
3838
<groupId>com.microsoft.azure</groupId>
3939
<artifactId>azure-storage-blob</artifactId>
40-
<version>10.2.0</version>
40+
<version>10.3.0</version>
4141
</dependency>
4242
```
4343

pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>com.microsoft.azure</groupId>
1616
<artifactId>azure-storage-blob</artifactId>
17-
<version>10.2.0</version>
17+
<version>10.3.0</version>
1818

1919
<name>Azure Storage Blob</name>
2020
<description>The Azure Storage Java Blob library.</description>
@@ -67,6 +67,11 @@
6767
<artifactId>client-runtime</artifactId>
6868
<version>2.0.0</version>
6969
</dependency>
70+
<dependency>
71+
<groupId>org.slf4j</groupId>
72+
<artifactId>slf4j-api</artifactId>
73+
<version>1.7.25</version>
74+
</dependency>
7075
<dependency>
7176
<groupId>junit</groupId>
7277
<artifactId>junit</artifactId>
@@ -97,6 +102,12 @@
97102
<version>2.6</version>
98103
<scope>test</scope>
99104
</dependency>
105+
<dependency>
106+
<groupId>uk.org.lidalia</groupId>
107+
<artifactId>slf4j-test</artifactId>
108+
<version>1.2.0</version>
109+
<scope>test</scope>
110+
</dependency>
100111
</dependencies>
101112

102113
<build>

src/main/java/com/microsoft/azure/storage/blob/Constants.java

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ final class Constants {
5555
* The query parameter for snapshots.
5656
*/
5757
static final String SNAPSHOT_QUERY_PARAMETER = "snapshot";
58+
/**
59+
* The word redacted.
60+
*/
61+
static final String REDACTED = "REDACTED";
5862
/**
5963
* The default amount of parallelism for TransferManager operations.
6064
*/
@@ -152,6 +156,16 @@ static final class HeaderConstants {
152156
*/
153157
static final String RANGE_HEADER_FORMAT = "bytes=%d-%d";
154158

159+
/**
160+
* The copy source header.
161+
*/
162+
static final String COPY_SOURCE = "x-ms-copy-source";
163+
164+
/**
165+
* The version header.
166+
*/
167+
static final String VERSION = "x-ms-version";
168+
155169
/**
156170
* The current storage version header value.
157171
*/
@@ -170,10 +184,97 @@ static final class HeaderConstants {
170184
/**
171185
* Specifies the value to use for UserAgent header.
172186
*/
173-
static final String USER_AGENT_VERSION = "10.2.0";
187+
static final String USER_AGENT_VERSION = "10.3.0";
174188

175189
private HeaderConstants() {
176190
// Private to prevent construction.
177191
}
178192
}
193+
194+
static final class UrlConstants {
195+
196+
/**
197+
* The SAS service version parameter.
198+
*/
199+
static final String SAS_SERVICE_VERSION = "sv";
200+
201+
/**
202+
* The SAS services parameter.
203+
*/
204+
static final String SAS_SERVICES = "ss";
205+
206+
/**
207+
* The SAS resource types parameter.
208+
*/
209+
static final String SAS_RESOURCES_TYPES = "srt";
210+
211+
/**
212+
* The SAS protocol parameter.
213+
*/
214+
static final String SAS_PROTOCOL = "spr";
215+
216+
/**
217+
* The SAS start time parameter.
218+
*/
219+
static final String SAS_START_TIME = "st";
220+
221+
/**
222+
* The SAS expiration time parameter.
223+
*/
224+
static final String SAS_EXPIRY_TIME = "se";
225+
226+
/**
227+
* The SAS IP range parameter.
228+
*/
229+
static final String SAS_IP_RANGE = "sip";
230+
231+
/**
232+
* The SAS signed identifier parameter.
233+
*/
234+
static final String SAS_SIGNED_IDENTIFIER = "si";
235+
236+
/**
237+
* The SAS signed resource parameter.
238+
*/
239+
static final String SAS_SIGNED_RESOURCE = "sr";
240+
241+
/**
242+
* The SAS signed permissions parameter.
243+
*/
244+
static final String SAS_SIGNED_PERMISSIONS = "sp";
245+
246+
/**
247+
* The SAS signature parameter.
248+
*/
249+
static final String SAS_SIGNATURE = "sig";
250+
251+
/**
252+
* The SAS cache control parameter.
253+
*/
254+
static final String SAS_CACHE_CONTROL = "rscc";
255+
256+
/**
257+
* The SAS content disposition parameter.
258+
*/
259+
static final String SAS_CONTENT_DISPOSITION = "rscd";
260+
261+
/**
262+
* The SAS content encoding parameter.
263+
*/
264+
static final String SAS_CONTENT_ENCODING = "rsce";
265+
266+
/**
267+
* The SAS content language parameter.
268+
*/
269+
static final String SAS_CONTENT_LANGUAGE = "rscl";
270+
271+
/**
272+
* The SAS content type parameter.
273+
*/
274+
static final String SAS_CONTENT_TYPE = "rsct";
275+
276+
private UrlConstants() {
277+
// Private to prevent construction.
278+
}
279+
}
179280
}

0 commit comments

Comments
 (0)