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

push from master to release #427

Merged
merged 577 commits into from
May 9, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
577 commits
Select commit Hold shift + click to select a range
4aaf3b0
Merge pull request #845 from andrerod/dev
Mar 20, 2014
cc9bd8b
Merge pull request #846 from andrerod/dev
Mar 20, 2014
181836c
Fix checkstyle issues
Mar 20, 2014
86d201a
Fix more checkstyle issues
Mar 20, 2014
c57d32d
Merge pull request #847 from andrerod/dev
Mar 20, 2014
b60cd39
Update wrappers
Mar 20, 2014
eab5438
Merge pull request #848 from andrerod/dev
Mar 20, 2014
fc923c5
Remove modules we're not shipping for now, update versions and changelog
Mar 20, 2014
4d9134a
Merge branch 'dev' of github.com:WindowsAzure/azure-sdk-for-java-pr i…
Mar 20, 2014
9a31598
refactor the sql unit tests to better reflect the changes.
Mar 20, 2014
d79344c
add dac operation integration test.
Mar 20, 2014
ae2b64a
uncomment publishingsetting files
xuezhai Mar 20, 2014
4e3a2a2
Apply review comments
Mar 20, 2014
88288fe
Merge pull request #849 from andrerod/dev
Mar 20, 2014
1b4bfc6
Merge pull request #844 from xuezhai/dev
xuezhai Mar 20, 2014
5fa0538
Remove monitoring module
Mar 20, 2014
0e6a072
Replace tabs by spaces
Mar 20, 2014
3c81bde
update tests for Dac Operation, Database operation and Firewall Rule.
Mar 20, 2014
475ad9e
add service objective unit tests.
Mar 21, 2014
6d39496
Merge pull request #850 from andrerod/dev
Mar 21, 2014
25d4478
Merge pull request #851 from WindowsAzure/dev
Mar 21, 2014
0164f66
clean up unit test run.
Mar 21, 2014
9b15688
incorporate the code review feedback.
Mar 22, 2014
fc4e86c
Merge pull request #838 from gcheng/sqltest
Mar 22, 2014
d0fb788
Regenerate java to fix checkstyle
Mar 22, 2014
bf23059
Merge pull request #852 from andrerod/dev
Mar 22, 2014
5bb1745
Fix checkstyle errors
Mar 22, 2014
c3068f6
Merge remote-tracking branch 'upstream/dev' into dev
Mar 22, 2014
4f9da2c
Merge remote-tracking branch 'upstream/release-0.5.0' into dev
Mar 22, 2014
17fa126
Finish merge
Mar 22, 2014
5af79a8
update packages.config
Mar 22, 2014
4f5638d
update version
Mar 22, 2014
4c0c41c
fix styling issues in tests
Mar 22, 2014
9db18ad
Fix styling
Mar 22, 2014
050a1a1
Fix compilation errors
Mar 22, 2014
1f48ab1
fix more breaks
Mar 22, 2014
78cc418
Finish fixing checkstyle issues
Mar 22, 2014
02fc114
Organize imports
Mar 22, 2014
30884e3
Restore env variables
Mar 22, 2014
30ccc8c
Rename hydragen to tasks and remove servicebus management reference i…
Mar 22, 2014
4a8abaf
remove nuget.exe
Mar 22, 2014
e6a349b
remove removed modules from groovy file
Mar 22, 2014
dce2f73
Move jsdoc reference to jsdoc instead of compile time
Mar 22, 2014
5eb48a5
Fix final checkstyle issues
Mar 22, 2014
b56cc1c
Merge pull request #853 from andrerod/dev
Mar 22, 2014
094185c
Merge pull request #854 from andrerod/dev
Mar 22, 2014
60340df
Merge pull request #855 from andrerod/dev
Mar 22, 2014
6f19f67
Merge pull request #856 from andrerod/dev
Mar 22, 2014
b1d70e9
Merge pull request #857 from andrerod/dev
Mar 22, 2014
f083610
Regenerate wrappers
Mar 24, 2014
633f82c
Merge pull request #859 from andrerod/dev
Mar 24, 2014
f1a1843
Fix publish settings UT
Mar 25, 2014
4b7ad87
fix broken test in management module.
Mar 25, 2014
d6edf17
Merge pull request #860 from gcheng/citest
Mar 26, 2014
e46e933
fix server farm and location operation related test.
Mar 26, 2014
5e55aaa
code review feedback.
Mar 26, 2014
80cf15b
Merge pull request #861 from gcheng/citest2
Mar 26, 2014
a70897a
fix broken unit test on ci server.
Mar 26, 2014
db96dd4
disable inconsistent unit tests on the service bus integration test.
Mar 26, 2014
b9da092
Merge pull request #862 from gcheng/citest2
Mar 27, 2014
8b979b9
add more cleanup after teset and create storage account correctly whi…
xuezhai Mar 27, 2014
b8f2354
fix a service objective test on CI server.
Mar 28, 2014
7d62149
Merge pull request #864 from gcheng/citest2
Mar 29, 2014
2dc63f1
Merge pull request #863 from xuezhai/release-0.5.0
xuezhai Mar 29, 2014
75d42b5
Merge
Mar 31, 2014
c404d24
fix broken jUnit tests on CI machine.
Mar 31, 2014
15efd36
ignore a long running test.
Mar 31, 2014
f6e3412
Merge pull request #866 from gcheng/citest2
Mar 31, 2014
5557615
remove duplicated tests.
Mar 31, 2014
fa46ff5
Merge pull request #868 from gcheng/citest2
Apr 1, 2014
01ebbba
service management junit for storage
xuezhai Apr 2, 2014
a05de64
fix line indent
xuezhai Apr 3, 2014
c07a1f8
Merge pull request #869 from xuezhai/release-0.5.0
xuezhai Apr 3, 2014
06d3a9b
junit code for website service management
xuezhai Apr 3, 2014
c100acb
fix indent, line space
xuezhai Apr 3, 2014
6cc2943
fix some of the cucumber test failures, other minor fixes for tests.
Apr 3, 2014
0b9a981
revert some incorrect change.
Apr 3, 2014
cf93fcf
Merge pull request #871 from gcheng/citest2
Apr 3, 2014
bef2770
integrate albert's code review comments
xuezhai Apr 3, 2014
5963efd
Merge pull request #870 from xuezhai/release-0.5.0
xuezhai Apr 3, 2014
8b3a2c6
fix affinity group related tests by using randomly generated affinity
Apr 3, 2014
37c9ecd
revert some white space update.
Apr 4, 2014
41fce5f
Merge remote-tracking branch 'upstream/release-0.5.0' into dev
Apr 4, 2014
fbb31ea
make test more reliable
Apr 4, 2014
93b9b13
Merge pull request #873 from andrerod/dev
Apr 4, 2014
2424d6b
code review feedback to use prefixes in tests.
Apr 4, 2014
a758389
Merge pull request #872 from gcheng/citest2
Apr 4, 2014
627d97a
use random name for storage and website cucumber tests. Refactor virtual
Apr 4, 2014
9dcdf2f
Merge pull request #874 from gcheng/citest2
Apr 7, 2014
d68c6c2
Fix wrong reference
Apr 7, 2014
05c03e7
make virtual machine tests runnable.
Apr 7, 2014
f0e1503
add junit for os and vm extension
xuezhai Apr 7, 2014
50e97ac
integrate code review comments
xuezhai Apr 7, 2014
b05e1fd
update to integrate more code review comments
xuezhai Apr 7, 2014
bd85489
Merge pull request #875 from xuezhai/release-0.5.0
xuezhai Apr 7, 2014
6836308
make compute unit test more stable.
Apr 7, 2014
83efded
Make delete container work during cleanup phase.
Apr 8, 2014
acecc13
Merge pull request #876 from gcheng/citest2
Apr 8, 2014
8826ff7
make unit test more robust by deleting the test entities thoroughly.
Apr 8, 2014
66cfa4c
update SQL database related tests to delete the entities generated du…
Apr 8, 2014
4bbbe04
Merge pull request #877 from gcheng/citest2
Apr 8, 2014
7f043ed
further stabilize the unit tests in SQL module.
Apr 8, 2014
d3f9b39
get the code review feedback.
Apr 8, 2014
0374448
Merge pull request #878 from gcheng/citest2
Apr 8, 2014
3b217e4
fix a broken media service unit test due to breaking change on the se…
Apr 9, 2014
58de41a
Merge pull request #879 from gcheng/citest2
Apr 9, 2014
5fd5953
process URL in publish settings file, introducing URI in
Apr 10, 2014
f72fcc1
Fix indentation
Apr 10, 2014
e9616dd
mege
Apr 10, 2014
1514abb
Update
Apr 10, 2014
6dbba12
Rename website to websites
Apr 10, 2014
dfeaa37
Update package.html files
Apr 10, 2014
3d378fc
remove incorrect model
Apr 10, 2014
d332b29
Align language
Apr 10, 2014
0094856
Merge pull request #881 from andrerod/dev
Apr 10, 2014
b38bd57
Apply review comments
Apr 10, 2014
f6d0108
Handle nil elements
Apr 10, 2014
423b7d7
Enable UT
Apr 10, 2014
19229a3
Fix indentations
Apr 10, 2014
c6bbf21
Fix styling
Apr 10, 2014
8c7b7c0
Fix export
Apr 10, 2014
06a1ea3
Fix more styling issues
Apr 10, 2014
b7468fa
Merge pull request #882 from andrerod/dev
Apr 10, 2014
20bd571
Merge pull request #883 from andrerod/dev
Apr 10, 2014
0d07267
Rename networks to network
Apr 10, 2014
666d708
Merge pull request #884 from andrerod/dev
Apr 10, 2014
db6b84f
Apply review comment
Apr 10, 2014
0e3ed4c
fix rolling time
xuezhai Apr 10, 2014
c457606
Merge pull request #885 from andrerod/dev
Apr 10, 2014
9d6de57
Fix checkstyle issues
Apr 10, 2014
b86651d
Update base64 dependency
Apr 11, 2014
d5a9d12
Fix delete operation
Apr 11, 2014
59f5ffa
Merge pull request #886 from andrerod/dev
Apr 11, 2014
5cf518a
Merge pull request #887 from xuezhai/release-0.5.0
Apr 11, 2014
74c6774
Merge pull request #888 from andrerod/dev
Apr 11, 2014
32ba03f
Add missing try catches
Apr 11, 2014
a223e61
Add UT
Apr 11, 2014
e081c7d
Revert content type change
Apr 11, 2014
35a5c64
Merge pull request #889 from andrerod/dev
Apr 11, 2014
9830c18
Merge pull request #890 from andrerod/dev
Apr 11, 2014
f76837f
Fix indentation
Apr 11, 2014
cf2bbfe
support URI injection for management client.
Apr 11, 2014
809824b
Merge remote-tracking branch 'albert/uriinpublishsettingfile' into dev
Apr 12, 2014
81c8784
Multiple updates
Apr 12, 2014
4e240aa
Update uri
Apr 12, 2014
11f42f3
Update hydra version
Apr 12, 2014
60f1dfe
Fix styling issue
Apr 12, 2014
a600e4d
Fix styling issues
Apr 12, 2014
bc62323
Make UT more reliable
Apr 12, 2014
cfca843
Merge pull request #893 from andrerod/dev
Apr 12, 2014
9d2aad4
Add more network tests
Apr 12, 2014
16b025e
Add more tests
Apr 12, 2014
f79b2fe
Enforcing checkstyle
Apr 12, 2014
0749ccc
Add comment
Apr 12, 2014
ebbb6b8
Fix styling
Apr 12, 2014
2b2194d
Merge pull request #894 from andrerod/dev
Apr 12, 2014
78009e9
improve UT
Apr 12, 2014
daf408f
Merge pull request #895 from WindowsAzure/release-0.5.0
Apr 12, 2014
570bee5
Merge pull request #896 from andrerod/dev
Apr 12, 2014
aaa9b46
Add missing import
Apr 12, 2014
504b4bc
Merge pull request #897 from andrerod/dev
Apr 12, 2014
7dc86a7
Fix redundant throws
Apr 12, 2014
93d155c
Merge pull request #898 from andrerod/dev
Apr 12, 2014
9ce879d
Merge pull request #899 from andrerod/dev
Apr 12, 2014
c604f30
Fix casting bug
Apr 12, 2014
fbfed7f
Replace tab by spaces
Apr 12, 2014
e90e7c1
Merge pull request #900 from andrerod/dev
Apr 12, 2014
7ad7e05
Making UT more robust
Apr 12, 2014
2aa79ce
Merge pull request #901 from andrerod/dev
Apr 12, 2014
aaf8558
Add missing null check
Apr 12, 2014
0ef61e9
Merge pull request #902 from andrerod/dev
Apr 12, 2014
90dc0e4
Remove confusing printstacktraces
Apr 12, 2014
4d74053
Merge pull request #903 from andrerod/dev
Apr 12, 2014
bfec583
Making test more flexible
Apr 12, 2014
ac0b24e
Merge pull request #904 from andrerod/dev
Apr 12, 2014
7988034
Make test more reliable
Apr 12, 2014
91519c0
Fix typo
Apr 12, 2014
f4c1793
Remove useless cleanup
Apr 12, 2014
83f0c3c
remove unsupported featur
Apr 12, 2014
991d6d7
Merge pull request #905 from andrerod/dev
Apr 12, 2014
b5357e0
remove not supported operations
Apr 12, 2014
42df2e7
Merge pull request #906 from andrerod/dev
Apr 12, 2014
5b0e94a
Fix checkstyle errors
Apr 12, 2014
c5e8004
Merge pull request #907 from andrerod/dev
Apr 12, 2014
f604b4d
Add retry handler to tests
Apr 12, 2014
2fc0ff5
Merge pull request #908 from andrerod/dev
Apr 12, 2014
ca65081
Fix spec
Apr 12, 2014
7f71f90
Fix cucumber spec
Apr 12, 2014
798b9cf
Fix cuke tests
Apr 12, 2014
735f404
Fix typo
Apr 12, 2014
2d05bef
Merge pull request #909 from andrerod/dev
Apr 12, 2014
44cda6b
Fix spec
Apr 12, 2014
1ddcbad
Merge pull request #910 from andrerod/dev
Apr 12, 2014
4f14ab5
Fix variable
Apr 12, 2014
0b8ae0b
Merge pull request #911 from andrerod/dev
Apr 12, 2014
d7f35e0
Replace bytereader by stringreader
Apr 12, 2014
80b1fe3
Using stringreader
Apr 12, 2014
db95ded
Improve error messages
Apr 12, 2014
d30c680
Merge pull request #912 from andrerod/dev
Apr 12, 2014
19278a4
Merge pull request #913 from andrerod/dev
Apr 12, 2014
b4949d6
Remove unecessary stack traces
Apr 12, 2014
a5cd2a4
Merge pull request #914 from andrerod/dev
Apr 12, 2014
0f71b88
replace stringreader
Apr 12, 2014
bb45997
Merge remote-tracking branch 'upstream/release-0.5.0' into dev
Apr 12, 2014
37e47e1
Disable logging
Apr 13, 2014
2c1dcd8
Merge pull request #915 from andrerod/dev
Apr 13, 2014
2cfc1a8
Remove stack traces
Apr 13, 2014
7a89072
Merge pull request #916 from andrerod/dev
Apr 13, 2014
a06600a
Make test more robust
Apr 13, 2014
8922bf2
Remove BOM
Apr 13, 2014
9baf43c
Merge pull request #917 from andrerod/dev
Apr 13, 2014
a87d5eb
refactor bom removal code
Apr 13, 2014
52df395
Fix bom reader
Apr 14, 2014
dee4e10
refactor bom removal code
Apr 13, 2014
a8f617a
Update wrappers
Apr 14, 2014
a4521b7
Merge pull request #918 from andrerod/release-0.5.0
Apr 14, 2014
61b5a30
Merge branch 'release-0.5.0' of github.com:WindowsAzure/azure-sdk-for…
Apr 14, 2014
a1d5194
Replace tabs in readme.md by spaces
Apr 14, 2014
384a653
Add missing byteinputstream and remove UTF-8
Apr 14, 2014
7147b54
Merge pull request #919 from WindowsAzure/release-0.5.0
Apr 14, 2014
890cf0f
initial check in for network test.
Apr 14, 2014
93c9a9a
Use lower case properties as well
Apr 14, 2014
90c0d13
clean up client root certificate tests.
Apr 14, 2014
ff9aa86
harmonize the network test.
Apr 15, 2014
f9e7d61
check in runJDiff script.
Apr 15, 2014
cf545ae
Merge pull request #920 from gcheng/jdiff
Apr 16, 2014
1141e46
update the tests in the network module.
Apr 16, 2014
ded7398
code review feedbacks.
Apr 16, 2014
663ed4a
Merge pull request #922 from gcheng/networktest
Apr 16, 2014
2ed317c
Apply remaining review comments
Apr 16, 2014
f54931e
Fix more styling issues
Apr 16, 2014
d23cdee
Merge pull request #923 from andrerod/release-0.5.0
Apr 16, 2014
2834273
Merge pull request #924 from Azure/release-0.5.0
Apr 18, 2014
653cd1a
Update wrappers
Apr 23, 2014
aa59a98
Merge pull request #926 from andrerod/dev
Apr 23, 2014
24a0a84
remove deprecated files
Apr 23, 2014
fb54f95
Update more wrappers
Apr 23, 2014
66ea653
Update more
Apr 23, 2014
37bce4c
Merge pull request #927 from andrerod/dev
Apr 23, 2014
ba4b6ed
Rename Windows Azure to Microsoft Azure
Apr 24, 2014
de45e66
update the Microsoft Azure branding in pom files.
May 2, 2014
4009be2
update URLs
matt-gibbs May 2, 2014
efa478e
Merge pull request #931 from gcheng/releasepom
May 2, 2014
2aae124
Merge branch 'release-0.5.0' of github.com:WindowsAzure/azure-sdk-for…
xuezhai May 6, 2014
84d2710
add/update license for the java sdk.
May 7, 2014
3118a8c
Merge pull request #936 from gcheng/release
May 7, 2014
db6ed4f
Merge branch 'release-0.5.0' of github.com:WindowsAzure/azure-sdk-for…
xuezhai May 7, 2014
dc7ae89
remove this config file that cause the runtime error when added servi…
xuezhai May 7, 2014
48e8cc1
Merge pull request #937 from xuezhai/release-0.5.0
May 7, 2014
56b6ff6
Merge pull request #932 from matt-gibbs/release-0.5.0
May 8, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 37 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

# Azure Tooling #
node_modules

# Eclipse #
*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# Other Tooling #
.classpath
.project
target
node_modules
.idea
*.iml

# Mac OS #
.DS_Store
.DS_Store?

# Windows #
Thumbs.db
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2014.04.2 Version 0.5.0
* Add multiple service management modules
* Split the SDK into multiple sub-modules

2013.09.30 Version 0.4.6
* Allow users to set the client-request-id for better tracking/debugging of storage requests. This is set on the OperationContext.
* Prevent a potential arithmetic overflow while calculating the exponential retry back-off interval in storage.
Expand Down
116 changes: 60 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Windows Azure SDK for Java
#Microsoft Azure SDK for Java

This project provides a client library in Java that makes it easy to consume Windows Azure services. For documentation please see the [Windows Azure Java Developer Center](http://www.windowsazure.com/en-us/develop/java/).
This project provides a client library in Java that makes it easy to consume Microsoft Azure services. For documentation please see the [Microsoft Azure Java Developer Center](http://azure.microsoft.com/en-us/develop/java/).

#Features

Expand Down Expand Up @@ -38,10 +38,14 @@ This project provides a client library in Java that makes it easy to consume Win
* Add/Get job notifications
* Create/Read/Update/Delete notification endpoints
* Service Management
* Manage affinity groups
* Compute Management
* Web Site Management
* Virtual Network Management
* Storage Management
* Sql Database Management
* Service Runtime
* Retrieve information about the state of your Azure Compute instances


#Getting Started

Expand All @@ -50,7 +54,7 @@ This project provides a client library in Java that makes it easy to consume Win

To get the source code of the SDK via git just type:

git clone git://github.com/WindowsAzure/azure-sdk-for-java.git
git clone git://github.com/Azure/azure-sdk-for-java.git
cd ./azure-sdk-for-java/microsoft-azure-api/
mvn compile

Expand All @@ -71,19 +75,19 @@ within your project you can also have them installed by the Java package manager

* Java 1.6
* (Optional) Maven


##Usage

To use this SDK to call Windows Azure services, you need to first create an
account. To host your Java code in Windows Azure, you additionally need to download
the full Windows Azure SDK for Java - which includes packaging, emulation, and
To use this SDK to call Microsoft Azure services, you need to first create an
account. To host your Java code in Microsoft Azure, you additionally need to download
the full Microsoft Azure SDK for Java - which includes packaging, emulation, and
deployment tools.

##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/).
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://azure.microsoft.com/en-us/develop/java/).

```java
import java.io.*;
Expand All @@ -92,63 +96,63 @@ 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);
}

}
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);
}

}
}
```

#Need Help?

Be sure to check out the Windows Azure [Developer Forums on Stack Overflow](http://go.microsoft.com/fwlink/?LinkId=234489) if you have trouble with the provided code.
Be sure to check out the Microsoft Azure [Developer Forums on Stack Overflow](http://go.microsoft.com/fwlink/?LinkId=234489) if you have trouble with the provided code.

#Contribute Code or Provide Feedback

If you would like to become an active contributor to this project please follow the instructions provided in [Windows Azure Projects Contribution Guidelines](http://windowsazure.github.com/guidelines.html).
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://azure.github.com/guidelines.html).

If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/WindowsAzure/azure-sdk-for-java/issues) section of the project.
If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-java/issues) section of the project.

#Learn More

* [Windows Azure Java Developer Center](http://www.windowsazure.com/en-us/develop/java/)
* [Microsoft Azure Java Developer Center](http://azure.microsoft.com/en-us/develop/java/)
* [JavaDocs](http://dl.windowsazure.com/javadoc/)

95 changes: 95 additions & 0 deletions core-test/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!--
Copyright Microsoft Corporation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.microsoft.windowsazure</groupId>
<artifactId>microsoft-azure-api-parent</artifactId>
<version>0.5.0</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<artifactId>microsoft-azure-api-core-test</artifactId>
<packaging>jar</packaging>

<name>Microsoft Azure Core Test Client API</name>
<description>API for Testing Microsoft Azure Clients</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git://github.com/Azure/azure-sdk-for-java.git</connection>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
</properties>

<developers>
<developer>
<id>microsoft</id>
<name>Microsoft</name>
</developer>
</developers>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>microsoft-azure-api-core</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>microsoft-azure-api-management</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>microsoft-azure-api-management-websites</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>microsoft-azure-api-management-storage</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>microsoft-azure-api-management-sql</artifactId>
<version>0.5.0</version>
</dependency>

<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Loading