Commit Graph

8827 Commits

Author SHA1 Message Date
Nikolay Sokolov c47816d124 Added support for RunInstances parameter PrivateIpAddress on EC2 2015-02-16 22:42:04 +01:00
Andrea Turli 483f904be5 remove cloudservers 2015-02-10 15:45:16 -08:00
Aled Sage ee42fb1a68 JCLOUDS-529: fix aws-ec2 cleanupIncidentalResources
- Some users get a DependencyVioloation, rather than InvalidGroup.InUse,
  when attempting to delete the security group. This caused
  cleanupIncidentalResources to propagate an exception.
- Fixes it by converting this to an IllegalStateException (in same
  way as is done for “InUse”)
- Adds tests (using MockWebServer) for happy-path and for failing
  to delete the security group with each of InUse and DependencyViolation
  responses.
- Adds Timeouts.cleanupIncidentalResources
- Use that timeout in EC2, when retrying the deletion of security group
  on VM deletion (previously hard-coded as 3 seconds).
- Configure that timeout in the tests, so deterministic number of retries
2015-01-29 12:37:25 +01:00
Aled Sage 7866612a2e Fix/improve retry-predicate:
- If get timeout of 0 (or negative), then still try once.
- Remove (unlikely) race in retry’s apply(T) where context-switching
  delays could cause `before(end)` to return false the first time, even
  though the timeout was positive.
- Ensure retries at end of the timeout (e.g. if timeout is 30 secs
  and last sleep takes us up to the 30 secs mark, then test again
  rather than returning immediately after the sleep!)
- Use `long` for time, rather than `java.util.Date`, for internal
  calculations. Deprecates old protected methods that use Date.
2015-01-29 12:37:15 +01:00
Ignasi Barrera db9fec0bbb Fixed checkstyle violations 2015-01-27 10:45:58 +01:00
Taylor Jones f708d20355 fix for JCLOUDS-655 2015-01-26 14:26:01 -06:00
Jeremy Daggett bc48aad54d Use AutoService to generate service loader metadata 2015-01-12 11:19:07 -08:00
Ignasi Barrera d82e9705d7 JCLOUDS-428: Use Maps with a consistent iteration order 2015-01-12 08:04:11 -08:00
Nikolay Sokolov 00ae5a4763 Fixed Version in FormSignerV4 2014-12-12 00:00:57 +01:00
William Chu 125d93aa58 JCLOUDS-788 Added support for specifying a custom node name when generating the chef bootstrap node script 2014-12-05 00:12:08 +01:00
Jeremy Daggett 9dcb3be726 Upgrade assertj-core to 1.7.0 and assertj-guava to 1.3.0 2014-12-03 09:47:01 -08:00
Adrian Cole 8912650e84 JCLOUDS-523 fix typo in implementation. 2014-11-28 15:42:54 -08:00
Adrian Cole afa68a73d1 JCLOUDS-523 add tempAuthCredentials to openstack-swift 2014-11-26 17:20:16 -08:00
akorompai 68f3bdc264 JCLOUDS-776: Map chef cookbook attribute files with Resource instead of Attribute 2014-11-23 22:25:24 +01:00
Ignasi Barrera 494f35ddae Removed obsolete TransientChefApi 2014-11-23 22:24:44 +01:00
Ignasi Barrera ea1c772e2c Aligned pom.xml files for Chef
Conflicts:
	apis/chef/pom.xml
	providers/enterprisechef/pom.xml
2014-11-23 22:23:23 +01:00
Ignasi Barrera da34161ffa Promoted jclouds-chef/enterprise to providers/chef 2014-11-23 22:20:51 +01:00
Ignasi Barrera 36dcc576af Promoted jclouds-chef/core to apis/chef 2014-11-23 22:20:05 +01:00
Adrian Cole 243b96798a JCLOUDS-480 support version 4 signatures for aws-ec2. 2014-11-22 08:10:06 -08:00
Adrian Cole 85eaea5758 JCLOUDS-781 cluster regions is a subset of regions. 2014-11-20 07:55:05 -08:00
Andrea Turli 5f1d536e84 add support for recent centos and ubuntu versions 2014-11-19 17:44:20 +01:00
Adrian Cole 824b70596a JCLOUDS-621 update live tests for new instance sizes. 2014-11-18 21:26:14 -08:00
Adrian Cole eac4461f45 Add dependency management for each auto project independently vs relying on transitivity. 2014-11-18 21:25:01 -08:00
Everett Toews 9138af7c91 JCLOUDS-716: Remove Rackspace First-Gen Cloud Servers 2014-11-18 13:51:29 -06:00
Reynald Borer 4d8edca77e JCLOUDS-621 add missing R3, t2.micro, t2.small and t2.medium instance types to EC2 2014-11-18 09:03:07 -08:00
Adrian Cole d7f0a675fa JCLOUDS-778 Remove OS support tests from TemplateBuilderLiveTest, as people are ignoring failures, 2014-11-17 09:42:50 -08:00
Adrian Cole 28500d726b JCLOUDS-774 ec2 api was ignoring the jclouds.region property, which made exceptions possible on all zone-scoped api calls. 2014-11-16 19:07:26 -08:00
Adrian Cole 0de8fe0e05 Revert 428b2bd2ea as this hides inconsistency between regions and zones. 2014-11-16 13:44:39 -08:00
Adrian Cole b59d7fd792 JCLOUDS-774 cleanup derived location suppliers and backfill test for inconsistent region and zone mappings. 2014-11-16 13:39:38 -08:00
Adrian Cole c18f3b3537 Finished partial fix in 91f405c9fe. 2014-11-16 10:45:26 -08:00
Zack Shoylev a9fa05577e Small cleanup of how RegionToEndpoint checks arguments. 2014-11-16 10:38:25 -08:00
istolber dedeb63b0f Adding tenantId/projectId and extended attributes to volume and snapshot 2014-11-10 12:52:17 -05:00
Adrian Cole 9a5983d124 Implicitly create a json response parser when using @Transform. 2014-11-10 06:58:30 -08:00
Adrian Cole ad36e05aa3 fixed javadoc typo. 2014-11-02 08:08:28 -08:00
Adrian Cole 8245f6fd3a JCLOUDS-750 Revert 5b6f1e929e in favor of tighter contract on @SerializedNames. 2014-11-01 10:56:31 -07:00
Adrian Cole 79606f94eb Use type adapter factory to hard-set serialization of Credentials. 2014-10-30 10:02:47 -07:00
Adrian Cole 83604e943a JCLOUDS-750 support serializing auto-value types without custom type adapters. 2014-10-30 07:19:33 -07:00
Adrian Cole 35c1df4cef JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly. 2014-10-29 18:39:25 -07:00
Adrian Cole 2a43b3a90d Make TemplateBuilderImplTest less brittle. 2014-10-29 17:02:44 -07:00
Adrian Cole ea5a0bcf4b JCLOUDS-534 Set floor version of guava to 16.0.1 2014-10-29 17:02:44 -07:00
Adrian Cole 1832b53242 JCLOUDS-534 Folded overly explicit use of HostAndPort, which is also incompatible with guava 16. 2014-10-29 17:02:44 -07:00
Adrian Cole 6b6af2824f JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly. 2014-10-29 17:02:39 -07:00
Ignasi Barrera a34b984186 JCLOUDS-766: Add AWS Frankfurt region 2014-10-29 22:13:35 +01:00
Adrian Cole 5511bad765 JCLOUDS-410 note that ByteArrayPayload needs to handle offsets. 2014-10-29 10:22:01 -07:00
Adrian Cole 9105ae55fa Do not require Guava ByteSource in order to create a payload. 2014-10-29 10:21:53 -07:00
Andrew Phillips 5229ec2230 Moving Guava version config into <dependencyManagement>
- Follow-up to c426e7e: allows overriding of the Guava version
  in modules that inherit from core
- Also consolidating dependency versions
2014-10-28 23:21:45 -04:00
Andrew Phillips 4ee56d60dd Cleaning up jsch dependencies
- Moving jsch dep to the driver
- Updating jsch.agentproxy version in conflicting dep list
  Follow-up to b3882cb
2014-10-28 23:21:33 -04:00
Adrian Cole 56de642bad JCLOUDS-750 Permit tools like AutoService to generate service loader files. 2014-10-28 08:58:56 -07:00
Adrian Cole 00ff5b794a Accidentally set limited json fallback field naming to an enum. 2014-10-28 00:20:40 -07:00
Ignasi Barrera 1df36e733d JCLOUDS-761: Delete disk if image operation fails in ElasticStack 2014-10-27 17:01:58 +01:00