1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

20 commits

Author SHA1 Message Date
Wesley Beary
edc73c1334 Merge pull request #2966 from dbatwa/bug-fixes
VCloud Director - Bug fixes
2014-06-03 14:04:50 -05:00
Paul Thornthwaite
ef9a9697ab Remove trailing whitespace
Done with `rubocop --auto-correct --only TrailingWhitespace`
2014-05-26 14:44:18 +01:00
Paul Thornthwaite
2e0b7e545a Standardise empty lines throughout codebase
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
2014-05-26 14:20:02 +01:00
Daniel Aragao
607bf3ae99 Content type to upload vAppTemplates is application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml'. 2014-05-15 13:24:36 +10:00
Paul Thornthwaite
bebeff5dbc [vcloud] Remove helpless helper
Looks like this class is used to override Fog::Connection in testing
probably by manually tweaking the "false"

Since I'm deprecating Fog::Connection it's not worth keeping track off.
2014-02-25 21:28:30 +00:00
Joseph Anthony Pasquale Holsten
9f5bd8186c rm rspec dependency 2014-01-16 18:51:26 +00:00
Josef Stribny
327c0007b9 Support both RSpec 1.x and 2.x 2013-05-13 15:59:26 +02:00
geemus
fae787cc51 [vcloud] mark mock tests pending 2012-02-05 14:13:01 -06:00
geemus
2d22c8bda6 [AWS|DynamoDB] first pass at query/scan requests 2012-02-05 12:00:04 -06:00
Peter Meier
30e28d704f [vcloud|compute] add API version 1.5 compability
vCloud version API 1.5 requires us to adapt certain calls. This
patch does all the necessary things to scan a vCloud 1.5 completely
and read all the necessary attributes, as we could already before.
Furthermore, it add tests for the version 1.5 calls.

The API version can now be set as a version param to the vcloud
compute resource. By default it chooses version 1.5.

This has been tested against a vCloud 1.5 and 1.0.
2012-01-30 19:04:19 +01:00
Peter Meier
3e240474ac [vcloud|compute] improve models + additional tests
vCloud has also the concept of links in the responses. So we should
make use of them to navigate through the tree of resources in the
vCloud.
Furthermore, we can make various calls a bit easier by directly
returning the specific resource object than the plain xml response.

Adjust tests to work with the new changes, and also test the added
parts.
2012-01-30 18:57:13 +01:00
Peter Meier
f3d97623d4 [vcloud|compute] rather mock Fog::Vcloud::Connection as this is the right place to mock things 2012-01-30 18:57:09 +01:00
geemus
12481b8c52 [vcloud] mark tests pending in mocked mode 2011-12-12 18:33:51 -06:00
geemus
473513e68a [vcloud|compute] properly namespace vcloud test to prevent breaking others
closes #638
2011-12-04 13:42:21 -06:00
geemus
e62b69fb19 [vcloud|compute] stopgap fix for test data files
stopgap for #638
2011-12-02 10:00:41 -06:00
Peter Meier
d4a1fa3a1e [vcloud|compute] introduce link on a network to parent network
Get the parent network object or nil if no parent network is defined.
2011-11-29 11:37:18 +01:00
Peter Meier
734c94f9f9 [vcloud|compute] improve network
* Add tests for multiple networks
* Add ProviderInfo field
* Add tests for configuration details
2011-11-29 11:37:18 +01:00
Peter Meier
9b7339156b [vcloud|compute] improve disk info access
Some infos were missing and other couldn't be looked up that way.
2011-11-29 11:37:18 +01:00
Peter Meier
750fb59f25 [vcloud|compute] improve models add tests
Improve the models to work with the current api version. add tests
that use fake-data, that was captured from a real vCloud.

Also removed a couple of dead code. Tests have been added for
everything that changed or have been added. All the existing but
untouched parts have not been tested.
2011-11-29 11:37:18 +01:00
geemus
fcc5a1c224 [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00