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 request from release branch to master branch #378

Merged
merged 82 commits into from
Jul 2, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
671e917
message count details.
May 8, 2013
5a65fb2
Test commit
veena-udayabhanu May 9, 2013
e4d4e21
Include HttpURLConnection in the executor task to drain the response …
veena-udayabhanu May 9, 2013
3050031
Unit test fixes
veena-udayabhanu May 9, 2013
0b69853
Merge pull request #679 from WindowsAzure/release
May 15, 2013
a3c14da
Merge branch 'dev' of https://github.com/gcheng/azure-sdk-for-java-pr…
May 15, 2013
69b37ab
initial check in for forward to feature.
May 16, 2013
5481757
additional implementation of forward to feature.
May 16, 2013
a6a749f
implement subscription forward to feature.
May 16, 2013
ff2faf4
implementing update for forward to feature.
May 16, 2013
a1a095a
update forward to integration test.
May 16, 2013
f0609a8
add more integration tests for forward to feature.
May 17, 2013
eb11213
refactoring and documentation work.
May 18, 2013
d2b1d41
Merge pull request #120 from gcheng/forwardto
May 20, 2013
255b68b
Merge pull request #681 from gcheng/dev
May 20, 2013
928fafe
initial check in for multiple property filter
May 20, 2013
d6abcae
complete the schema change for correlation filter.
May 22, 2013
931004c
integration test for multiple properties filter.
May 23, 2013
92c356e
initial check in for OData support.
May 23, 2013
fc61698
implement the integration tests for odata query.
May 23, 2013
a7fddd0
Merge branch 'dev' of https://github.com/gcheng/azure-sdk-for-java-pr…
May 23, 2013
cdecace
modification of service bus integration test.
May 23, 2013
dc4e7d2
remove invalid scenarios.
May 24, 2013
8d1b771
fix a broken unit test for odata query.
May 24, 2013
2c564fc
separate message count details into a separated namespace.
May 25, 2013
d41dfe0
fix a typo for the schema.
May 25, 2013
8852c2f
Merge pull request #121 from gcheng/multipropfilter
May 25, 2013
73f1d90
Merge pull request #684 from gcheng/dev
May 25, 2013
54a3ff2
Merge pull request #682 from gcheng/odata
May 28, 2013
f88ea6c
Support all flavors of sharedkeysigning in java
veena-udayabhanu May 28, 2013
409a112
a fix for servicebus schema.
May 28, 2013
810ca6a
Merge pull request #122 from WindowsAzure/dev
Jun 3, 2013
704be53
remove bad service bus design.
Jun 3, 2013
e63622e
fix the schema for message count details.
Jun 4, 2013
004e9e6
Merge pull request #687 from gcheng/removeBadSBDesign
Jun 4, 2013
9e8f4a9
Merge branch 'dev' of https://github.com/gcheng/azure-sdk-for-java-pr…
Jun 4, 2013
15a6307
Merge pull request #123 from WindowsAzure/dev
Jun 4, 2013
7a16f2d
Merge branch 'dev' of https://github.com/gcheng/azure-sdk-for-java-pr…
Jun 4, 2013
74def0c
improving unit test for message count details.
Jun 5, 2013
5576dea
add javadoc for message count details.
Jun 5, 2013
1a61a24
remove newly introduced TODOs
Jun 5, 2013
2bfbfca
code review feedback
Jun 5, 2013
fe36b1f
Merge pull request #683 from gcheng/messagecount
Jun 5, 2013
b2eccda
Support all flavors of sharedkeysigning in Java
veena-udayabhanu Jun 5, 2013
8ee99c9
fixed README.md fixes #360
t-aniba Jun 10, 2013
07297a3
harmonize the design with mooncake requirement.
Jun 10, 2013
e419ce6
Merge pull request #363 from WindowsAzure/master
xuezhai Jun 10, 2013
400c45c
Merge pull request #688 from WindowsAzure/master
xuezhai Jun 10, 2013
3ebd298
improve the unit test to ensure that the created correlation filter d…
Jun 11, 2013
63e3fc9
address code review fedback by trimming the / at the end of the sts end
Jun 11, 2013
bb2dc56
Merge pull request #364 from gcheng/mooncake
Jun 11, 2013
60bb459
Merge branch 'dev' of https://github.com/WindowsAzure/azure-sdk-for-j…
t-aniba Jun 11, 2013
921395a
Merge pull request #362 from t-aniba/dev
t-aniba Jun 11, 2013
a458658
more test improvements to validate the properties on correlation filter.
Jun 11, 2013
dec8063
Merge pull request #689 from gcheng/getrule
Jun 11, 2013
e1440fa
Mark signRequest* methods as deprecated in StorageCredentialsAccountA…
veena-udayabhanu Jun 12, 2013
f9fb1ff
fixed mislabeled string
t-aniba Jun 13, 2013
2f76b2d
Merge pull request #365 from t-aniba/dev
t-aniba Jun 14, 2013
552f5f6
Documentation changes to deprecated methods
veena-udayabhanu Jun 20, 2013
9fd2c2b
Merge pull request #690 from WindowsAzure/dev
Jun 25, 2013
3413c7d
Merge branch 'release' of https://github.com/WindowsAzure/azure-sdk-f…
Jun 25, 2013
663f72a
Merge pull request #369 from WindowsAzure/dev
Jun 25, 2013
e7f6f49
Merge pull request #41 from WindowsAzure/dev
Jun 26, 2013
4d4faca
Merge pull request #42 from gcheng/dev
Jun 26, 2013
14c396a
Merge branch 'dev' of https://github.com/veena-udayabhanu/azure-sdk-f…
veena-udayabhanu Jun 26, 2013
7478ff9
update unit tests to fix failures on CI machines.
Jun 26, 2013
7a05a4c
Merge branch 'release' of https://github.com/gcheng/azure-sdk-for-jav…
Jun 26, 2013
200217c
fix a broken unit test on CI machine.
Jun 26, 2013
2b5c3f6
code review feedback regarding media processor integrration test.
Jun 27, 2013
a17cd2c
Merge pull request #370 from gcheng/release
Jun 27, 2013
23aa9f4
Updated changelog
veena-udayabhanu Jun 28, 2013
101c8e8
Update merge conflict in Changelog
veena-udayabhanu Jun 28, 2013
76428a8
Merge pull request #373 from veena-udayabhanu/release
guangyang Jun 28, 2013
c0c8d97
reduce the chance of a sporadic failure.
Jun 28, 2013
79ce3c3
update to 0.4.4
guangyang Jun 28, 2013
cff2775
update changelog and readme for 0.4.4
guangyang Jun 29, 2013
32af1c8
some minor fix
guangyang Jun 29, 2013
542361c
Merge pull request #375 from gcheng/release
Jun 29, 2013
423f270
incorporate feedback
guangyang Jul 1, 2013
6cb7c1a
Merge pull request #376 from guangyang/release
guangyang Jul 1, 2013
1602104
Fix test issue for DateTime comparison
veena-udayabhanu Jul 1, 2013
3e97d96
Merge pull request #377 from veena-udayabhanu/release
guangyang Jul 1, 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
9 changes: 9 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2013.07.03 Version 0.4.4
* Windows Azure China environemnt support
* Service Bus metadata support updated to the latest version
* Rich Odata entity query support for Service Bus Queue/Topic/Subscription
* Added support for Service Bus message forwarding
* Added support for Service Bus message count details
* Made sure the response stream is drained to prevent socket exhaustion in Storage
* Added support for all flavors of SharedKey and SharedKeyLite message signing through AuthenticationScheme property on client classes in Storage

2013.05.27 Version 0.4.3
* Added support for updating existing Queue/Topic/Subscription for Service Bus
* Added support for message lock renewal to support long running message processing for Service Bus
Expand Down
119 changes: 59 additions & 60 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ This project provides a client library in Java that makes it easy to consume Win
* Create/Read/Update/Delete queues
* Send/Receive/Unlock/Delete messages
* Renew message lock
* Message forwarding
* Topics
* Create/Read/Update/Delete topics
* Create/Read/Update/Delete subscriptions
* Create/Read/Update/Delete rules
* Send/Receive/Unlock/Delete messages
* Renew message lock
* Message forwarding
* Media Services
* Create/Read/Update/Delete access policies
* Create/Read/Update/Delete asset files
Expand All @@ -53,11 +55,13 @@ To get the source code of the SDK via git just type:
To get the binaries of this library as distributed by Microsoft, ready for use
within your project you can also have them installed by the Java package manager Maven.

<dependency>
<groupId>com.microsoft.windowsazure</groupId>
<artifactId>microsoft-windowsazure-api</artifactId>
<version>0.4.3</version>
</dependency>
```xml
<dependency>
<groupId>com.microsoft.windowsazure</groupId>
<artifactId>microsoft-windowsazure-api</artifactId>
<version>0.4.4</version>
</dependency>
```

##Minimum Requirements

Expand All @@ -72,67 +76,62 @@ account. To host your Java code in Windows Azure, you additionally need to down
the full Windows Azure SDK for Java - which includes packaging, emulation, and
deployment tools.

##Code Samples
##Code Sample

The following is a quick example on how to set up a Azure blob using the API
and uploading a file to it. For additional information on using the client libraries to access Azure services see the How To guides listed [here](http://www.windowsazure.com/en-us/develop/java/).

```java
import java.io.*;

import com.microsoft.windowsazure.services.core.storage.*;
import com.microsoft.windowsazure.services.blob.client.*;

public class BlobSample {
public static final String storageConnectionString =
"DefaultEndpointsProtocol=http;"
+ "AccountName=your_account_name;"
+ "AccountKey= your_account_key";

public static void main(String[] args) {
try {
CloudStorageAccount account;
CloudBlobClient serviceClient;
CloudBlobContainer container;
CloudBlockBlob blob;

account = CloudStorageAccount.parse(storageConnectionString);
serviceClient = account.createCloudBlobClient();
// Container name must be lower case.
container = serviceClient.getContainerReference("blobsample");
container.createIfNotExist();

// Set anonymous access on the container.
BlobContainerPermissions containerPermissions;
containerPermissions = new BlobContainerPermissions();
container.uploadPermissions(containerPermissions);

// Upload an image file.
blob = container.getBlockBlobReference("image1.jpg");
File fileReference = new File("c:\\myimages\\image1.jpg");
blob.upload(new FileInputStream(fileReference), fileReference.length());
} catch (FileNotFoundException fileNotFoundException) {
System.out.print("FileNotFoundException encountered: ");
System.out.println(fileNotFoundException.getMessage());
System.exit(-1);
} catch (StorageException storageException) {
System.out.print("StorageException encountered: ");
System.out.println(storageException.getMessage());
System.exit(-1);
} catch (Exception e) {
System.out.print("Exception encountered: ");
System.out.println(e.getMessage());
System.exit(-1);
}

import com.microsoft.windowsazure.services.core.storage.*;
import com.microsoft.windowsazure.services.blob.client.*;

public class BlobSample {
public static final String storageConnectionString =
"DefaultEndpointsProtocol=http;" +
"AccountName=your_account_name;" +
"AccountKey= your_account_name";

public static void main(String[] args)
{
try
{
CloudStorageAccount account;
CloudBlobClient serviceClient;
CloudBlobContainer container;
CloudBlockBlob blob;

account = CloudStorageAccount.parse(storageConnectionString);
serviceClient = account.createCloudBlobClient();
// Container name must be lower case.
container = serviceClient.getContainerReference("blobsample");
container.createIfNotExist();

// Set anonymous access on the container.
BlobContainerPermissions containerPermissions;
containerPermissions = new BlobContainerPermissions();

// Upload an image file.
blob = container.getBlockBlobReference("image1.jpg");
File fileReference = new File ("c:\\myimages\\image1.jpg");
blob.upload(new FileInputStream(fileReference), fileReference.length());
}
catch (FileNotFoundException fileNotFoundException)
{
System.out.print("FileNotFoundException encountered: ");
System.out.println(fileNotFoundException.getMessage());
System.exit(-1);
}
catch (StorageException storageException)
{
System.out.print("StorageException encountered: ");
System.out.println(storageException.getMessage());
System.exit(-1);
}
catch (Exception e)
{
System.out.print("Exception encountered: ");
System.out.println(e.getMessage());
System.exit(-1);
}

}
}

}
```

#Need Help?

Expand Down
10 changes: 6 additions & 4 deletions 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.3</version>
<version>0.4.4</version>
<packaging>jar</packaging>

<name>Microsoft Windows Azure Client API</name>
Expand Down Expand Up @@ -143,7 +143,7 @@
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.8.0</version>
<version>0.8.3</version>
<executions>
<execution>
<phase>generate-sources</phase>
Expand All @@ -154,16 +154,18 @@
</executions>
<configuration>
<extension>true</extension>
<debug>true</debug>
<verbose>true</verbose>
<plugins>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<version>0.6.0</version>
<version>0.6.4</version>
</plugin>
<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics-annotate</artifactId>
<version>0.6.0</version>
<version>0.6.4</version>
</plugin>
</plugins>

Expand Down
Loading