Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull master to dev #296

Merged
merged 61 commits into from
Mar 14, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
8a143d8
update the unit tests so that the job integration tests have the right
Jan 14, 2013
624cfa2
add TaskHistoricalEvent to the queue.
Jan 14, 2013
84c6bd5
partial checkin for task historical event
Jan 15, 2013
76d9ecc
initial check in to add task historical event type.
Jan 15, 2013
8e9fdcf
Merge pull request #101 from WindowsAzure/dev
Jan 15, 2013
7d5b4b6
second checkin to support task historical events.
Jan 16, 2013
2cebbbd
Merge pull request #99 from gcheng/bettertests
Jan 21, 2013
c3cfb9f
Merge pull request #626 from gcheng/dev
Jan 21, 2013
6760316
Merge pull request #104 from WindowsAzure/dev
Jan 22, 2013
b76886a
Merge pull request #105 from gcheng/dev
Jan 22, 2013
466c43b
add job integration test for taskhistorical event
Jan 23, 2013
cc327c0
Merge branch 'dev' of https://github.com/WindowsAzure/azure-sdk-for-j…
jcookems Jan 24, 2013
455f906
Merge pull request #631 from jcookems/dev
jcookems Jan 24, 2013
f7dce4b
code review feedback.
Jan 25, 2013
0ef9985
Merge pull request #100 from gcheng/historicalevents
Jan 25, 2013
6db3cad
a missed unit test.
Jan 25, 2013
3531068
Merge pull request #106 from gcheng/historicalevents
Jan 25, 2013
04160b9
Merge pull request #632 from gcheng/dev
Jan 25, 2013
78067fc
Minor changes to address the compile-time warnings
jcookems Jan 28, 2013
7a8812e
Remove trivial TODO comments from tests
jcookems Jan 29, 2013
dda240d
Removing trivial TODO Auto-generated comments
jcookems Jan 29, 2013
40bd3e5
Replace trivial *if* statement with more useful Assert
jcookems Jan 29, 2013
269db3f
Remove "catch (InterruptedException e)" that could obscure unexpected…
jcookems Jan 29, 2013
da209fe
Merge pull request #32 from jcookems/fixWarnings
jcookems Jan 29, 2013
0413d38
Merge pull request #634 from jcookems/dev
jcookems Jan 29, 2013
4bf887e
Remove hard-coded Fiddler code in tests
jcookems Jan 29, 2013
277921f
Adding deltas to assertEquals for Date and Double, which are likely t…
jcookems Jan 29, 2013
614e96e
Merge pull request #33 from jcookems/fix205
jcookems Feb 6, 2013
eaf464c
Merge pull request #639 from jcookems/dev
jcookems Feb 6, 2013
38b3a52
[JXSCL] : Make OperationContext RequestResults thread safe,
Feb 20, 2013
f5e7c15
CR Feedback - Update tasks to provide result affinity. Now the Reque…
Feb 21, 2013
118bac1
Make BlobOutputStream use latest instead of uncommitted.
Feb 21, 2013
08648cc
Merge branch 'dev' of https://github.com/WindowsAzure/azure-sdk-for-j…
Feb 22, 2013
11b1a31
CR feedback: Update tasks to provide result affinity
Feb 25, 2013
bed1f7d
Merge branch 'dev' of https://github.com/WindowsAzure/azure-sdk-for-j…
guangyang Feb 25, 2013
19ef20c
fix the broken unit test due to nimbus server upgrade.
Feb 26, 2013
4f692bb
fix another unit test due to nimbus server upgrade.
Feb 26, 2013
77c9477
Merge pull request #107 from gcheng/unittestclean
Feb 26, 2013
ce4a3bf
Merge pull request #644 from gcheng/dev
Feb 26, 2013
782319d
CR feedback remove extra line
Feb 27, 2013
cba4c0d
Merge branch 'dev' of https://github.com/WindowsAzure/azure-sdk-for-j…
Feb 27, 2013
c5345f2
Merge branch 'dev' of https://github.com/sozler/azure-sdk-for-java in…
Feb 28, 2013
57335fe
Update Changelog for latest fixes
Feb 28, 2013
927e31e
Merge branch 'dev' of https://github.com/WindowsAzure/azure-sdk-for-j…
Mar 1, 2013
557804b
Merge branch 'dev' of https://github.com/sozler/azure-sdk-for-java in…
Mar 1, 2013
22961d2
Merge branch 'release' of github.com:WindowsAzure/azure-sdk-for-java …
jcookems Mar 8, 2013
6ad950a
Merge branch 'release' of https://github.com/WindowsAzure/azure-sdk-f…
Mar 8, 2013
0145416
Merge pull request #34 from jcookems/int
jcookems Mar 8, 2013
7f614ec
Merge pull request #651 from jcookems/dev
jcookems Mar 8, 2013
48ca51e
Merge pull request #9 from jcookems/int
jcookems Mar 8, 2013
492299f
Merge pull request #290 from jcookems/release
jcookems Mar 8, 2013
398e721
Updating POM version
jcookems Mar 8, 2013
11ec4a9
Merge pull request #291 from jcookems/release
jcookems Mar 8, 2013
5fc77e0
Merge pull request #289 from joeg/devMerge
Mar 9, 2013
b6928e0
Merge branch 'release' of https://github.com/WindowsAzure/azure-sdk-f…
guangyang Mar 11, 2013
baff388
update changelog for 0.4.1
guangyang Mar 11, 2013
1944273
update change log and readme.md based on PR review feedback
guangyang Mar 11, 2013
dd74ec3
fixing policheck issues
guangyang Mar 11, 2013
f0d6ca3
fixing policheck issues
guangyang Mar 11, 2013
e92621b
Merge pull request #292 from guangyang/release
guangyang Mar 11, 2013
fb2b701
Merge pull request #295 from WindowsAzure/release
Mar 14, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
2013.02.22 Version 0.4.1
2013.03.12 Version 0.4.1
* Added "Azure-SDK-For-Java/<version>" To User-Agent HTTP header
* Added connection string support for Service Bus
* Added new methods to break lease for Storage Blob which doesn't require a lease id and returns the result as an object. Deprecated the old breakLease() methods.
* Added a new method to get the historical events for Media Services
* Fixed Storage Table encoding issue for special characters
* BlobOutputStream now commits block list using LATEST instead of UNCOMMITTED
* Added RequestResult to StorageEvents
* Fixed issue when accessing OperationContext RequestResults
* Fixed the return value of BlobInputStream.read
* Fixed CloudPageBlob.downloadPageRanges to retrieve the blob length
* Fixed MD5 validation in BlobInputStream
Expand All @@ -7,8 +15,8 @@
2013.01.18 Version 0.4.0
* Added support for Windows Azure Media Services
* Updated dependencies to non-beta stable versions
* Add a Sending Request Event to OperationContext in Storage Client code
* Fix a bug in the STorage client in blob download resume for blobs greater than 2GB
* Added a Sending Request Event to OperationContext in Storage Client code
* Fixed a bug in the Storage client in blob download resume for blobs greater than 2GB

2012.10.29 Version 0.3.3
* In the blob client, fixed a bug which allows users to call write APIs on a blob snapshot reference
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ within your project you can also have them installed by the Java package manager
<dependency>
<groupId>com.microsoft.windowsazure</groupId>
<artifactId>microsoft-windowsazure-api</artifactId>
<version>0.4.0</version>
<version>0.4.1</version>
</dependency>

##Minimum Requirements
Expand Down
2 changes: 1 addition & 1 deletion microsoft-azure-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.windowsazure</groupId>
<artifactId>microsoft-windowsazure-api</artifactId>
<version>0.4.0</version>
<version>0.4.1</version>
<packaging>jar</packaging>

<name>Microsoft Windows Azure Client API</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private synchronized void dispatchWrite(final int writeLength) throws IOExceptio
if (this.streamType == BlobType.BLOCK_BLOB) {
final CloudBlockBlob blobRef = (CloudBlockBlob) this.parentBlobRef;
final String blockID = Base64.encode(Utility.getBytesFromLong(this.blockIdSequenceNumber++));
this.blockList.add(new BlockEntry(blockID, BlockSearchMode.UNCOMMITTED));
this.blockList.add(new BlockEntry(blockID, BlockSearchMode.LATEST));

worker = new Callable<Void>() {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public String execute(final CloudBlobClient client, final CloudBlob blob, final

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_CREATED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -410,7 +410,7 @@ public Long execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_ACCEPTED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -544,7 +544,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op
BlobRequest.addMetadata(request, blob.metadata, opContext);
client.getCredentials().signRequest(request, 0);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_ACCEPTED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -623,7 +623,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, 0);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_ACCEPTED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -698,7 +698,7 @@ public CloudBlob execute(final CloudBlobClient client, final CloudBlob blob,

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_CREATED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -787,7 +787,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, -1L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_ACCEPTED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -878,7 +878,7 @@ public Boolean execute(final CloudBlobClient client, final CloudBlob blob, final

client.getCredentials().signRequest(request, -1L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() == HttpURLConnection.HTTP_ACCEPTED) {
return true;
Expand Down Expand Up @@ -961,8 +961,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op
blobOptions.getTimeoutIntervalInMs(), blob.snapshotID, accessCondition, blobOptions, opContext);

client.getCredentials().signRequest(request, -1L);
final InputStream streamRef = ExecutionEngine.getInputStream(request, opContext);
this.setResult(opContext.getLastResult());
final InputStream streamRef = ExecutionEngine.getInputStream(request, opContext, this.getResult());

final String contentMD5 = request.getHeaderField(Constants.HeaderConstants.CONTENT_MD5);
final Boolean validateMD5 = !blobOptions.getDisableContentMD5Validation()
Expand Down Expand Up @@ -1015,8 +1014,8 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op
if ((ex.getHttpStatusCode() == Constants.HeaderConstants.HTTP_UNUSED_306 && !ex.getErrorCode().equals(
StorageErrorCodeStrings.OUT_OF_RANGE_INPUT))
|| ex.getHttpStatusCode() == HttpURLConnection.HTTP_PRECON_FAILED
|| !dummyPolicy.shouldRetry(0, opContext.getLastResult().getStatusCode(),
(Exception) ex.getCause(), opContext).isShouldRetry()) {
|| !dummyPolicy.shouldRetry(0, impl.getResult().getStatusCode(), (Exception) ex.getCause(),
opContext).isShouldRetry()) {
opContext.setIntermediateMD5(null);
throw ex;
}
Expand Down Expand Up @@ -1141,7 +1140,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, -1L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -1298,8 +1297,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, -1L);

final InputStream sourceStream = ExecutionEngine.getInputStream(request, opContext);
this.setResult(opContext.getLastResult());
final InputStream sourceStream = ExecutionEngine.getInputStream(request, opContext, this.getResult());

int totalRead = 0;
int nextRead = buffer.length - bufferOffset;
Expand Down Expand Up @@ -1435,7 +1433,7 @@ public Boolean execute(final CloudBlobClient client, final CloudBlob blob, final

client.getCredentials().signRequest(request, -1L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() == HttpURLConnection.HTTP_OK) {
final BlobAttributes retrievedAttributes = BlobResponse.getAttributes(request, blob.getUri(),
Expand Down Expand Up @@ -1922,7 +1920,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -2002,7 +2000,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -2091,7 +2089,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -2218,7 +2216,7 @@ public Long execute(final CloudBlobClient client, final CloudBlob blob, final Op

client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() == HttpURLConnection.HTTP_CONFLICT) {
final StorageException potentialConflictException = StorageException.translateException(request,
Expand Down Expand Up @@ -2368,7 +2366,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op
HttpURLConnection.HTTP_FORBIDDEN, null, null);
}

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_CREATED) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -2442,7 +2440,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op
BlobRequest.addMetadata(request, blob.metadata, opContext);
client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
this.setNonExceptionedRetryableFailure(true);
Expand Down Expand Up @@ -2516,7 +2514,7 @@ public Void execute(final CloudBlobClient client, final CloudBlob blob, final Op
BlobRequest.addMetadata(request, blob.metadata, opContext);
client.getCredentials().signRequest(request, 0L);

this.setResult(ExecutionEngine.processRequest(request, opContext));
ExecutionEngine.processRequest(request, opContext, this.getResult());

if (this.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
this.setNonExceptionedRetryableFailure(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ ResultSegment<CloudBlobContainer> listContainersCore(final String prefix,

this.getCredentials().signRequest(listContainerRequest, -1L);

taskReference.setResult(ExecutionEngine.processRequest(listContainerRequest, opContext));
ExecutionEngine.processRequest(listContainerRequest, opContext, taskReference.getResult());

if (taskReference.getResult().getStatusCode() != HttpURLConnection.HTTP_OK) {
taskReference.setNonExceptionedRetryableFailure(true);
Expand Down
Loading