Commit Graph

5198 Commits

Author SHA1 Message Date
danikov 0c0dedee17 add XmlRootElement annotation 2012-03-05 15:17:55 +00:00
danikov 24725cf88c fix clone method and xmlElement name 2012-03-05 15:17:55 +00:00
danikov 9d2923e96c fix builder 2012-03-05 15:17:55 +00:00
danikov 1b2da14aab add incremental builder method 2012-03-05 15:17:55 +00:00
danikov 6a4ccc5178 pass clone media 2012-03-05 15:17:55 +00:00
danikov b9e0263aa1 remove comments and name correctly 2012-03-05 15:17:55 +00:00
danikov 526dee9bf7 move and complete media tests 2012-03-05 15:17:54 +00:00
danikov f2f2233db0 update and inline vdc clone/create methods into media testing 2012-03-05 15:17:54 +00:00
danikov 58744ab91c add missing media type 2012-03-05 15:17:54 +00:00
danikov 44fc620f67 outline some live testing for the upload client 2012-03-05 15:17:54 +00:00
danikov 781c0b538c extract out metadata + upload clients 2012-03-05 15:17:54 +00:00
danikov 8cb04758ce add dummy file for testing media upload 2012-03-05 15:17:54 +00:00
danikov 6bed78b5a0 add convenience constructor to make a reference to an entityType from the entityType 2012-03-05 15:17:53 +00:00
danikov 633dd489b1 add upload:default media type 2012-03-05 15:17:53 +00:00
danikov 5003f7adb3 fix toString, equals and hashcode, 2012-03-05 15:17:53 +00:00
danikov cdf2ddb0ac add missing builder methods 2012-03-05 15:17:53 +00:00
danikov ed6cfca0a7 add clone checks 2012-03-05 15:17:53 +00:00
danikov a307c44a22 extract out media methods, correct var name 2012-03-05 15:17:53 +00:00
danikov 8bca943086 switch to using URISupplier, remove un-needed vars 2012-03-05 15:17:52 +00:00
danikov a74a79fe17 use URISupplier over references etc. 2012-03-05 15:17:52 +00:00
danikov 0047a0fb69 correct types, switch to using URISupplier 2012-03-05 15:17:52 +00:00
Adrian Cole f86d8c531f Merge pull request #390 from doo/group-name
If group name can't be parsed from a group ID, try the key name
2012-03-03 14:26:23 -08:00
Adrian Cole 07ce0a444e Issue 852:add elb api and aws-elb provider 2012-03-03 12:00:58 -08:00
Adrian Cole d8b465ec2e Issue 851:add save/delete image support to go grid 2012-03-03 11:33:27 -08:00
Adrian Cole d5a9162348 Merge pull request #394 from andreaturli/dev
issue 384: NetworkSpec changed - Adrian comments addressed
2012-03-03 07:57:37 -08:00
andreaturli 6e8b985a18 issue 384: NetworkSpec refactored - Adrian comments addressed 2012-03-02 23:41:38 +00:00
andreaturli 01fa802dd7 issue 384: NetworkSpec refactored - Adrian comments addressed 2012-03-02 18:19:59 +00:00
Adam Lowe c52a02993c VCloud Director 1.5: imports 2012-03-02 00:38:36 +00:00
Adam Lowe 6559322efc VCloud Director 1.5: reverting unnecessary change to non-JAXB Section class 2012-03-01 23:26:20 +00:00
Adam Lowe dd68cbf73a VCloud Director 1.5: removing duplicate files 2012-03-01 23:22:08 +00:00
Adam Lowe 2842ad82a1 VCloud Director 1.5: making domain objects immutable and fixing a number of de/serialization problems 2012-03-01 23:13:18 +00:00
Adam Lowe 1fdae80eac VCloud Director 1.5: initial work on VAppTemplate client 2012-03-01 23:09:38 +00:00
Adam Lowe 04501d46a7 VCloud Director 1.5: making domain objects immutable and fixing a number of de/serialization problems 2012-03-01 23:08:53 +00:00
Adam Lowe cc4a27072b VCloud Director 1.5: making domain objects immutable and fixing a number of de/serialization problems 2012-03-01 23:08:07 +00:00
Adam Lowe 8cd642af6b VCloud Director 1.5: adding and amending package-info.java with more Schema information so it can be ommitted from domain objects 2012-03-01 23:06:43 +00:00
Adam Lowe e63aac83d1 Using XMLUnit to verify XML payloads in ExpectTest if, and only if, BaseRestClientExpectTest.compareHttpRequestAsType is overridden (otherwise it still uses Java equals()) 2012-03-01 23:02:01 +00:00
Andrea Turli edd16d0e26 Merge branch 'dev' of github.com:andreaturli/jclouds into dev
Conflicts:
	labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/AttachBridgedAdapterToMachine.java
	labs/virtualbox/src/main/java/org/jclouds/virtualbox/functions/CloneAndRegisterMachineFromIMachineIfNotAlreadyExists.java
	labs/virtualbox/src/test/java/org/jclouds/virtualbox/functions/CloneAndRegisterMachineFromIsoIfNotAlreadyExistsLiveTest.java
2012-03-01 17:32:56 +00:00
Andrea Turli cf57f250a2 issue 384: network support refactored 2012-03-01 17:29:18 +00:00
Andrea Turli dbd669caf8 issue 384: network support refactored 2012-03-01 16:55:38 +00:00
Adam Lowe d0a5654f8d VCloud Director 1.5: moving OVF classes back into ovf package (mistakenly moved up a package) 2012-03-01 09:55:01 +00:00
Adam Lowe 2d54717f08 VCloud Director 1.5: adding VAppTemplate and friends - including JAXB compatible OVF and CIM objects 2012-03-01 09:55:01 +00:00
danikov 9b4e9e24c7 domain objects 2012-03-01 09:55:00 +00:00
danikov 5dd8f60a9f enable vClouds domain objects to extend Section 2012-03-01 09:55:00 +00:00
Adrian Cole d1305f3034 Merge branch 'develop' of github.com:jdaggett/jclouds
* 'develop' of github.com:jdaggett/jclouds:
  Improved parsing tests
  Nova client changes for delegate APIs & misc cleanup
  FloatingIP and KeyPair additions
  SecurityGroup support
  Incremental support for Image, Flavor and Floating IPs
  Floating IP support
2012-02-29 17:36:03 +02:00
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
Jeremy Daggett 2287d2bbcf Improved parsing tests 2012-02-28 21:16:54 -08:00
Jeremy Daggett 0f4fce2e19 Merge branch 'develop' of keg.dev.uswest.hpcloud.net:jclouds into develop 2012-02-28 09:51:25 -08:00
Jeremy Daggett ec990e6672 Nova client changes for delegate APIs & misc cleanup 2012-02-28 09:31:35 -08:00
Jeremy Daggett 8296d47e96 FloatingIP and KeyPair additions 2012-02-28 09:24:29 -08:00
Jeremy Daggett 699fa417c8 SecurityGroup support 2012-02-28 09:06:08 -08:00