Commit Graph

3622 Commits

Author SHA1 Message Date
Adrian Cole ca723ed909 ensure integration tests only run one at a time, so that troubleshooting is easier 2011-10-29 12:30:03 +02:00
Adrian Cole fe4a971d55 changed setup function tests to be mocks so they don't conflict with test fixture setup 2011-10-29 12:29:16 +02:00
Adrian Cole 00c47eeab2 removed tests that are too confusing to troubleshoot at this stage of development 2011-10-29 12:28:02 +02:00
Adrian Cole d300681bcc formatting in virtualbox 2011-10-29 11:00:02 +02:00
Adrian Cole 71ac2b89e1 formatting 2011-10-29 00:02:32 +02:00
Ignasi Barrera e5478cdd84 Added BindToXMLPayload binder to allow seralization of objects to the payload using JAXB 2011-10-29 00:02:27 +02:00
Ignasi Barrera 0387b1bb92 Updated JAXB parser configuration
Now JAXB response parser is activated by default if the Accept header is
set to application/xml or the method is annotated with the @JAXBResponseParser
annotation (this way we can still use it to parse documents with vendor-specific
mime-types).

This will not break current XML parsers, since they must be explicitly
defined with the @XMLResponseParser annotation, and will provide a
default XML parsing mechanism. The only requirement will be to have
domain objects annotated with standard Java JAXB annotations.

It would be great to refactor the @XMLResponseParser annotation to be
more flexible and to allow using other parsers than SAX, this way the
@JAXBResponseParser annotation could be removed. However, this change
may affect existing providers and must be studied with care.
2011-10-29 00:02:22 +02:00
Ignasi Barrera b90f74352f Added javadoc to JAXB parser 2011-10-29 00:02:18 +02:00
Ignasi Barrera 69163eb447 Added methods to ModifyRequest to add multiple query parameters 2011-10-29 00:02:13 +02:00
Ignasi Barrera 45a1bcac85 Added parser to RestAnnotationProcessor to parse XML using JAXB 2011-10-29 00:02:08 +02:00
Mattias Holmqvist f4a53fa0da Added LaunchMachineIfNotAlreadyRunning to IsoToIMachine. 2011-10-28 21:51:07 +02:00
Mattias Holmqvist c3eb23399b Added ErrorCode type and ExecutionType. Now for for LaunchMachine function, but can be re-used. 2011-10-28 21:46:48 +02:00
Adrian Cole 5d252e6fd5 removed throws clauses to UnsupportedEncodingException where they aren't thrown 2011-10-28 15:00:56 +02:00
Andrew Phillips 1c32b110b2 GAE SDK version 1.5.3 -> 1.5.5 2011-10-25 11:06:32 -04:00
Andrew Phillips 7086d98d68 maven-gae-plugin 0.8.4 -> 0.9.1 2011-10-25 11:01:06 -04:00
Mattias Holmqvist 03e0bd46ba Virtualbox: Re-used AttachMediumToMachineIfNotAlreadyAttached for attaching guest additions DVD. 2011-10-24 00:10:35 +02:00
Mattias Holmqvist 394bb1b602 Added function ApplyMemoryToMachine for virtualbox.
commit e52df20b9010ebac266e2b593628ea1876a578f9
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:59:25 2011 +0200

    Added function ApplyMemoryToMachine for virtualbox.

commit a43e189b306fddbdc5ee5930355f20d90d148854
Merge: 3f6de26 041360e
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:26:42 2011 +0200

    Merge branch 'master' of https://github.com/jclouds/jclouds into functionalize

    Conflicts:
    	sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/AttachNATRedirectRuleToMachine.java

commit 3f6de265d7342676fdeab99badd31f31cb43aadc
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:23:49 2011 +0200

    Added AttachNATRedirectRuleToMachine to virtualbox.
2011-10-23 23:59:54 +02:00
Mattias Holmqvist 041360e2e7 Added AttachNATRedirectRuleToMachine to virtualbox.
commit 3f6de265d7342676fdeab99badd31f31cb43aadc
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:23:49 2011 +0200

    Added AttachNATRedirectRuleToMachine to virtualbox.
2011-10-23 23:25:39 +02:00
Mattias Holmqvist e399db161e Cleaning up copyright texts in virtualbox.
Conflicts:
	sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/AttachHardDiskToMachineIfNotAlreadyAttached.java
	sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/CreateMediumIfNotAlreadyExists.java
	sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java
	sandbox-apis/virtualbox/src/test/java/org/jclouds/virtualbox/functions/AttachHardDiskToMachineIfNotAlreadyAttachedTest.java
	sandbox-apis/virtualbox/src/test/java/org/jclouds/virtualbox/functions/CreateMediumIfNotAlreadyExistsTest.java
2011-10-23 18:44:28 +02:00
Mattias Holmqvist f950a9950e Cleaning up copyrights in virtualbox. 2011-10-23 18:42:18 +02:00
Mattias Holmqvist 4e3f9579b1 Added a couple of more functions to box to split up IsoToIMachine.
commit dc23ef0c1c
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 18:18:56 2011 +0200

    Added CreateMediumIfNotAlreadyExists to IsoToIMachine.

commit f530a5d585
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 14:30:42 2011 +0200

    Added @author

commit b64fee01a8
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 14:18:26 2011 +0200

    Added AttachHardDiskToMachineIfNotAlreadyAttached and used it from IsoToIMachine.
2011-10-23 18:25:13 +02:00
Mattias Holmqvist dc23ef0c1c Added CreateMediumIfNotAlreadyExists to IsoToIMachine. 2011-10-23 18:18:56 +02:00
Mattias Holmqvist f530a5d585 Added @author 2011-10-23 14:30:42 +02:00
Mattias Holmqvist b64fee01a8 Added AttachHardDiskToMachineIfNotAlreadyAttached and used it from IsoToIMachine. 2011-10-23 14:24:21 +02:00
Adrian Cole 6d4a605f3f fixed compile problem 2011-10-23 13:50:49 +02:00
Mattias Holmqvist 680ed8c178 Renamed variable. 2011-10-23 12:57:51 +02:00
Mattias Holmqvist 108ae79bb5 Merge branch 'refs/heads/functionalize' 2011-10-23 12:47:53 +02:00
Mattias Holmqvist 6749cff633 Added missing saveSettings() to network config in IsoToIMachine. 2011-10-23 12:47:03 +02:00
Mattias Holmqvist 242b15f611 Added missing saveSettings() to network config in IsoToIMachine. 2011-10-23 12:43:54 +02:00
Mattias Holmqvist b04f38b0d8 Fixed CreateAndRegisterMachineFromIsoIfNotAlreadyExists and added more tests. 2011-10-23 12:19:55 +02:00
Mattias Holmqvist 3f716c4f3e Fixing copyright text. 2011-10-23 12:10:26 +02:00
Mattias Holmqvist d27e929855 Created CreateAndRegisterMachineFromIsoIfNotAlreadyExists to fail early if Machine of specified name already exists. 2011-10-23 12:06:24 +02:00
Mattias Holmqvist 3be39a870f Renamed variables. 2011-10-23 11:19:09 +02:00
Mattias Holmqvist 0cbbdb50ee Merge branch 'refs/heads/functionalize' 2011-10-23 11:17:16 +02:00
Mattias Holmqvist ad8ef18bee Added AttachDistroMediumToMachine and started using it form IsoToIMachine. 2011-10-23 11:16:55 +02:00
Adrian Cole dd89ad3068 backfilled tests and refactored most of org.jclouds.location.suppliers package 2011-10-23 04:38:25 +02:00
Mattias Holmqvist f2d4c58a6a Renamed variables. 2011-10-23 00:42:44 +02:00
Mattias Holmqvist 54c76515ce Renamed variables. 2011-10-23 00:40:12 +02:00
Mattias Holmqvist b592196226 Reverted listImages back from Yaml to regular Vbox. 2011-10-23 00:38:14 +02:00
Adrian Cole cf4acc8000 backfilled tests for org.jclouds.location.functions 2011-10-22 23:13:17 +02:00
Adrian Cole 3bd0be2c24 backfilled tests for org.jclouds.rest.binders 2011-10-22 22:34:45 +02:00
Mattias Holmqvist f55164e51e Minor rename 2011-10-22 18:14:50 +02:00
Adrian Cole 926989c5f1 started refactoring IsoToIMachine to re-use error handling 2011-10-22 17:54:35 +02:00
Adrian Cole aab1290b85 formatting 2011-10-22 17:53:32 +02:00
Adrian Cole 8194e84c30 corrected os family parsing for virtual box 2011-10-22 17:53:10 +02:00
Adrian Cole 7d35ec47ee ensuring we parse os versions, by adding tests 2011-10-22 17:49:58 +02:00
Adrian Cole f2b46e1e5f Merge pull request #111 from jsonking/master
Fix tests for swift content type errors.
2011-10-22 01:50:51 -07:00
andreaturli 53b652cafe issue 384: fix IsoToIMachineLiveTest 2011-10-21 22:47:43 +01:00
Jason King 6d56364cd0 call super and added comment 2011-10-21 16:15:41 +01:00
Adrian Cole 572e05d631 Merge pull request #112 from ahgittin/682-admin-access-username-collision
682 admin access username collision
2011-10-21 08:11:07 -07:00