Commit Graph

4987 Commits

Author SHA1 Message Date
hhrasna a5b20ecd4a EC2 image architecture can be null. Don't throw NPE if architecture is null. 2012-05-30 17:09:09 -07:00
Adrian Cole 799d08f89b Merge pull request #648 from ahgittin/1.4.x
update sshj to 0.8.0, fixing sshj problem
2012-05-22 10:59:10 -07:00
Alex Heneveld 133451a112 update sshj to 0.8.0, fixing power-of-2 bug reported by me and fixed by aled 2012-05-22 11:08:51 -06:00
Adrian Cole d3ddd57526 prevent credentialstore from leaking across tests 2012-05-18 20:57:42 -07:00
Adrian Cole 38bfb906d1 cloudservers and aws-ec2 work with tags now 2012-05-18 20:57:20 -07:00
Adrian Cole c9096ba460 Issue 934: make sure we fail when tags don't work 2012-05-18 16:25:30 -07:00
Alex Heneveld 8fee07b1b7 javadoc to clarify options additivity 2012-05-18 16:24:58 -07:00
Adrian Cole bdc19483d7 fixed tests 2012-05-07 12:49:24 -07:00
Adrian Cole a9971cc050 Issue 916:update to gson 2.2 2012-05-07 10:37:47 -07:00
Andrew Gaul 1cab7fd07b Recurse in subdirectories before deleting blobs
This ensures that we have at most one PageSet of Futures awaiting
completion.
2012-05-07 10:10:41 -07:00
Andrew Gaul bc302adb92 Optimize clearContainer for large folders
Previously we built up a list of all blobs then executed removeBlob on
all of them simultaneously.  For sufficiently large folders this would
cause an OutOfMemoryError.  There are cleaner ways to write this but
this approach mimimizes the patch.  I will continue working on this in
subsequent commits, including optimizing for deep subdirectories.

This commit also fixes a bug in the transient blobstore where deleting
elements while reading a directory resulted in NoSuchElementException.
2012-05-07 10:10:37 -07:00
Adrian Cole 9d91569e33 added tests 2012-05-07 10:10:33 -07:00
Adrian Cole 27ca6445a4 Issue 899:NPE on cleanUpIncidentalResourcesOfDeadNodes 2012-04-08 22:26:14 -06:00
Adrian Cole 32aaa4981f more details when image doesn't match 2012-04-05 16:58:16 -07:00
Adrian Cole 0105e869c8 Issue 891: update to support lucid 2012-04-03 16:24:01 -07:00
Adrian Cole f241483913 Issue 891: ubuntu and centos now work with openjdk 2012-03-30 18:36:46 -07:00
Adrian Cole f7de4b9df4 Issue 891: switch to openjdk; tested on ubuntu 2012-03-30 18:36:33 -07:00
Roman Bogorodskiy d52c28de9f Issue 882: Make aws-s3 provider respect PROPERTY_S3_VIRTUAL_HOST_BUCKETS. 2012-03-30 18:21:32 -07:00
Richard Downer 46138f7cbd Add regexp that matches style of Windows AMI names in EC2 starting March 2012. Add a unit test. 2012-03-26 08:58:55 -07:00
Adrian Cole 5d322815ca fromTemplate() doesn't ensure descriptions are equal 2012-03-22 22:10:28 -07:00
Andrew Gaul d5e66575e9 Propagate InterruptedException & TimeoutException
Previously we passed these exceptions to handler, which wrapped them
in a RuntimeException.  Instead propagate the actual cause so callers
can handle these properly.
2012-03-22 12:37:32 -07:00
Richard Downer 5e36573ff9 CloudStack pom.xml needs to pass the globalAdminIdentity/Credential properties to integration(live) tests, otherwise several tests will fail because they don't have global administrator access.
Conflicts:

	apis/cloudstack/pom.xml
2012-03-21 13:54:38 +02:00
Adrian Cole d2a0c9854a Issue 871: renamed LocationPredicate to what it is 2012-03-20 12:00:51 -07:00
Adrian Cole 79a2079b11 Issue 878: cloudstack locations are zones, not regions 2012-03-20 11:36:59 -07:00
Adrian Cole 9d2506b7eb merged andrei's latest 2012-03-20 10:45:55 -07:00
Adrian Cole fefaa9ad85 oversight double calling build() 2012-03-20 09:43:01 -07:00
Adrian Cole 684210d8d8 cleaner impl of LocationPredicate, which doesn't eagerly fetch current location on toString() 2012-03-20 09:42:54 -07:00
Andrei Savu c377c6da01 CloudStack image location is Zone, and the part of the zone is the provider location 2012-03-20 11:53:53 +02:00
Adrian Cole e4197bec8f [maven-release-plugin] prepare for next development iteration 2012-03-16 02:47:59 -07:00
Adrian Cole 78b44242e3 [maven-release-plugin] prepare release jclouds-1.4.0 2012-03-16 02:47:48 -07:00
Adrian Cole 6022b1022a Issue 874:Bluelock upgraded production to vCloud Director 1.5 2012-03-16 02:08:54 -07:00
Adrian Cole 8bbaf45c03 test updates now that bluelock is no longer 1.0.0 2012-03-16 00:47:48 -07:00
Adrian Cole 6442351d5c no need to check for writable catalog on vcloud 1.5 2012-03-15 22:42:41 -07:00
Adrian Cole 1fbd575753 Issue 873:NPE on InstantiateVAppTemplate 2012-03-15 22:40:58 -07:00
Adrian Cole 31d5d0b514 temporary fix to CloudLinux blow-up 2012-03-15 16:36:00 -07:00
Adrian Cole 75071831f9 Issue 871: only providers can have null parent 2012-03-15 14:48:41 -07:00
Adrian Cole 41daa057d8 Issue 871: corrected invalid toString message 2012-03-15 14:46:04 -07:00
Adrian Cole 6b4f36df7f Issue 871: preserve existing logic, but backfill tests based on javadoc 2012-03-15 14:45:50 -07:00
Adrian Cole b4619a35fd reverted pull 446 2012-03-15 09:00:00 -07:00
Andrei Savu a01ca9adc0 Reuse existing network for vlan IP range test if available 2012-03-15 15:48:01 +02:00
Andrei Savu ca87231aaf Register the public key before running the tests 2012-03-15 14:58:23 +02:00
Andrei Savu 1c2b2f212a Only select networks with isDefault(true) for tests 2012-03-15 14:15:50 +02:00
Andrei Savu 4ace5c69ba Added firewallrule as a valid response for async jobs 2012-03-15 13:07:02 +02:00
Andrei Savu 2910fb2235 Merge pull request #445 from ahgittin/1.4.x
Correct guice injection in CloudStackComputeServiceAdapterLiveTest
2012-03-15 00:32:52 -07:00
Andrei Savu 76f8e9e354 Merge pull request #446 from ahgittin/1.4.x-fix-location-npe-and-containment-direction-semantics
Fix location npe and containment direction semantics
2012-03-15 00:23:33 -07:00
Alex Heneveld f030c2f3a2 fixes in location containment predicate.
the grouping of and's and or's was wrong, causing an NPE in cloudstack tests when investigating parents;
the direction of containment (input should be descendent of location) was wrong also, i think,
to judge by the description "locationEqualsOrChildOf";
code is now a loop rather than fixed investigation of 3 levels
2012-03-15 03:07:11 +00:00
Alex Heneveld c047dc397e correct guice injection for cloudstack ComputeServiceAdapterLiveTest 2012-03-15 02:18:32 +00:00
Andrei Savu fc58a77381 Merge pull request #440 from andreisavu/1.4.x-decode-key
Decode both the key and the value when parsing the request URI
2012-03-14 13:56:58 -07:00
Andrei Savu 8b8b1073f2 Added test to check that the key is decoded as expected 2012-03-14 22:15:08 +02:00
Andrei Savu 3b07075d40 Decode both the key and the value when parsing the request URI 2012-03-14 18:03:08 +02:00