Commit Graph

5143 Commits

Author SHA1 Message Date
Fabian Steeg 474aa52da9 If group name can't be parsed from a group ID, try the key name
When the security group is not generated by jclouds (e.g. when
using a custom group, or when in a VPC which generally requires
its own security groups), the group name to launch nodes into is
lost, since it is parsed from the generated security group ID.

This patch introduces a very local workaround: try to parse the
name from the key name, which if generated by jclouds has a format
that is very similar to the generated security group ID.

While probably not the ideal solution for persisting the group
name either (using user metadata might be), this fixes a blocking
issue for scenarios where you can't use a generated security group
ID (using a VPC in our case), but you can use a generated key pair
name.

Also it shouldn't interfere with existing usage: if a name can be
parsed from the security group, that is used, and if the key name
is not generated, the behaviour remains as it currently is (group
name is null if it can't be parsed from the security group).
2012-02-29 16:27:42 +01:00
Adrian Cole 918affff17 missing cloudloadbalancer instance 2012-02-27 09:47:01 +02:00
Adrian Cole c72b3ae236 InstallJDK for 32bit vms 2012-02-26 16:55:42 +02:00
Adrian Cole 4d919ce14e cloudwatch free interval is 5m not 1m 2012-02-26 16:55:18 +02:00
Adrian Cole dadd4f6515 changed bindings that imply i/o to Supplier<X> 2012-02-26 13:54:43 +02:00
Adrian Cole 39c79f6ffa Issue 845: opsource-servers skeleton 2012-02-24 13:55:55 +02:00
Adrian Cole 3eea621966 Merge pull request #386 from danikov/vclouds-director-bugfixes
Issue 830: vCloud director bugfixes
2012-02-23 23:56:28 -08:00
danikov e96382167b disable failing tests 2012-02-23 16:17:26 +00:00
danikov 046d129495 use correct Lists import 2012-02-23 16:17:15 +00:00
Adrian Cole 630c3925c7 Merge pull request #385 from milkmansrevenge/master
Issue 848 - logging levels in BackoffLimitedRetryHandler
2012-02-23 07:23:34 -08:00
Chris Strand 870a937f14 Issue 848. Increased log level to error when BackoffLimitedRetryHandler cannot retry any more. 2012-02-23 15:20:29 +00:00
Adrian Cole e80f6115a1 Merge pull request #384 from danikov/vclouds-director-vdc
Issue 830: vCloud director vDC
2012-02-23 07:19:56 -08:00
Adrian Cole aca5beaa21 Merge pull request #383 from danikov/vclouds-director-bugfixes
Issue 830: vCloud director common changes
2012-02-23 07:16:01 -08:00
Adrian Cole 0128dcec19 attempt to fix cloudbees build 2012-02-23 16:44:23 +02:00
danikov 3c78423d50 update to remove deprecated test approaches 2012-02-23 14:34:57 +00:00
danikov 58bddc6798 disable dependent tests 2012-02-23 14:16:51 +00:00
danikov 672acd898e add concrete instantiate params 2012-02-23 14:16:51 +00:00
danikov d8924519c7 fix domain object inhertance 2012-02-23 14:16:51 +00:00
danikov e0b1100651 fix expect test before 2012-02-23 14:16:50 +00:00
danikov 7d5dbbef59 flesh out/first pass live tests 2012-02-23 14:16:50 +00:00
danikov 54b3c01377 remove shadowing networkId 2012-02-23 14:16:50 +00:00
danikov 81dfd02935 add missing builder inherited methods 2012-02-23 14:16:50 +00:00
danikov 52717c3135 add checks for: ComputeCapacity, CapacityWithUsage, CapacityType, ResourceEntities, AvailableNetworks, Capabilities, SupportedHardwareVersions, Metadata, MetadataValue 2012-02-23 14:16:50 +00:00
danikov 95cb736a18 remove scratch comments 2012-02-23 14:16:21 +00:00
danikov f8900900f9 add live test 2012-02-23 14:16:21 +00:00
danikov 703c48b557 add + modify media types 2012-02-23 14:16:20 +00:00
danikov 57bd4f23af placeholder for merging with VApp branch 2012-02-23 14:16:20 +00:00
danikov 7f83356108 make params class concrete 2012-02-23 14:16:20 +00:00
danikov 08c20366bc add builder inheritance methods 2012-02-23 14:16:20 +00:00
danikov 257503f4dd update client with the right param types and metadataValue getter 2012-02-23 14:16:20 +00:00
danikov 16309eaef1 flesh out expect test 2012-02-23 14:16:20 +00:00
danikov e34c085455 first attempt at reference POST action test 2012-02-23 14:16:19 +00:00
danikov 32e4493f51 add parameter types 2012-02-23 14:16:19 +00:00
danikov e0361ef1a1 add missing action 2012-02-23 14:16:19 +00:00
danikov b01a888835 implement actions 2012-02-23 14:16:19 +00:00
danikov b8c0670cad domain object tweaks 2012-02-23 14:16:19 +00:00
danikov e50dd9f2eb wire up clients 2012-02-23 14:16:19 +00:00
danikov 5aa69bbeaf implement clients 2012-02-23 14:16:19 +00:00
danikov f73a5bcfa8 add exemplar xml 2012-02-23 14:16:18 +00:00
danikov 454365e131 add basic expect test (no actions) 2012-02-23 14:16:18 +00:00
danikov 413654b66e domain objects 2012-02-23 14:16:18 +00:00
danikov 4dc708c494 fix misaligned braces 2012-02-23 14:15:40 +00:00
danikov e199b2bc5d deprecate old 'standard' req/resp methods 2012-02-23 13:58:42 +00:00
danikov 2ff4e8317c use extracted checks, nicer test names 2012-02-23 13:58:42 +00:00
danikov 099f9137d0 fix update media expect test 2012-02-23 13:58:42 +00:00
danikov 1387d9f704 remove unused code, replace TODOs with task checking 2012-02-23 13:58:42 +00:00
danikov ae308cb1fd extract out/stub checks 2012-02-23 13:58:42 +00:00
danikov db528408e3 fix domain object inheritance 2012-02-23 13:58:42 +00:00
Adrian Cole fa7f81c4e7 Issue 847:version updates 2012-02-23 15:11:05 +02:00
Adrian Cole 52441139fa merged Issue 830: More live testing 2012-02-22 10:20:43 +02:00