Commit Graph

3894 Commits

Author SHA1 Message Date
Mattias Holmqvist 3404850aba Small fix for running live tests from clean slate. Still stuff to do to get it running more than once... 2011-10-29 22:54:51 +02:00
Adrian Cole 8b3010b587 fixed NPE and backfilled test 2011-10-29 22:31:12 +02:00
Andrew Phillips ab882bf035 Merge branch 'ignore-failed-windows-tests', remote-tracking branch 'origin' 2011-10-29 11:56:42 -04:00
Andrew Phillips 893171ba59 Fixed licence header (thanks, Andrei!) 2011-10-29 11:53:30 -04:00
Andrew Phillips 39dbc592b5 Using OS-dependent file separators in asserts (instead of assuming UNIX '/') 2011-10-29 11:53:28 -04:00
Andrew Phillips 0e06eedcdb Ignoring the tests that cause issue 402 on Windows for the 1.0.0 release 2011-10-29 11:53:27 -04:00
Andrew Phillips cfe31695c0 [issue 737] Modified apis/filesystem tests to skip tests that are known not to work on Windows 2011-10-29 11:53:25 -04:00
vijaykiran 1151cbc241 SSHKeyPair API implementation
- Updated tests with correct domain model object.
- Unit tests for ListSSHKeyPairs
2011-10-29 16:57:54 +02:00
vijaykiran 6d4ce41d15 Code Formatting commit. 2011-10-29 16:03:15 +02:00
vijaykiran 60f70a0589 First-cut implementation of SSHKeyPair for cloudstack 2011-10-29 16:01:26 +02:00
vijaykiran fd9b49873b Fixed test (assertion) failure for network domain. 2011-10-29 15:56:23 +02:00
vijaykiran 2675b2befb enable getVMs assertion 2011-10-29 12:31:47 +02:00
vijaykiran 4be6d796ac Merge branch 'master' of git://github.com/jclouds/jclouds 2011-10-29 12:31:13 +02:00
Adrian Cole c889077f50 cleaning up virtualbox constructors, etc 2011-10-29 12:30:24 +02:00
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
vijaykiran ed076a5c4a Change the test name testListAccount to reflect the api method listAccounts 2011-10-26 16:41:18 +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
vijaykiran 66499ad663 Merge branch 'master' of git://github.com/jclouds/jclouds 2011-10-24 01:09:08 +02: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