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

35 commits

Author SHA1 Message Date
Paul Thornthwaite
6716f37c5f Replace deprecated Hash methods
Done with `rubocop --auto-correct --only DeprecatedHashMethods`
2014-05-26 16:22:08 +01:00
Paul Thornthwaite
ec8b940b2c Standardise on collection methods
Done with `rubocop --auto-correct --only CollectionMethods`
2014-05-26 16:22:07 +01:00
Paul Thornthwaite
330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +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
Amos Benari
c0a27abbd1 [ovirt] force volumes reload on volume locked? check. 2014-04-27 18:04:58 +03:00
Amos Benari
73f10c1037 [ovirt] fixed interfaces and volume list.
The return list is now always fog object and not rbovirt objects.
2014-03-17 15:39:13 +02:00
Amos Benari
ae7ddde584 [ovirt] add support for ca cert 2014-03-05 15:05:32 +02:00
Paul Thornthwaite
15ef5365e5 Require json or xml in provider cores
Since `fog-json` was extracted from `fog` it means if you rely on:

    require "fog/provider/compute"

`Fog::JSON` was not defined although it was supposed to be a supported
use case.

This adds the requires for JSON or XML based APIs based on a quick scan
of each provider to declare the required part.

AWS seems to be relying on both. Which is nice.

Providers relying on native code dependencies
2014-02-19 14:58:00 +00:00
Paul Thornthwaite
8483a599f2 Remove trailing whitespace 2014-02-19 12:30:59 +00:00
Lance Ivy
f9a5b9e942 don't require service when registering it
services will still be required when you:
* require them yourself
* require the entire provider (which requires all services)
2014-02-01 22:02:40 -05:00
Lance Ivy
1cdd969a34 create core for each provider. keep load hook for provider. 2014-02-01 21:13:17 -05:00
Lance Ivy
c27901dc8c ensure that each service requires its provider 2014-02-01 13:07:49 -05:00
Amos Benari
268fc54afd ovirt quota support 2013-03-23 21:46:14 -04:00
Jason Montleon
268f126b5f add ovirt quota support 2013-03-08 15:42:26 -05:00
Amos Benari
bafac9547b [ovirt] Updated the blocking start logic to fit oVirt 3.1 api 2013-02-24 16:24:06 +02:00
Amos Benari
77e7883056 [ovirt] Added support for oVirt volume status. 2013-02-24 16:17:41 +02:00
Amos Benari
e1490f60dc [ovirt] Add support for reading the oVirt api version. 2013-02-24 16:17:11 +02:00
Paul Thornthwaite
9c6e17bd6c [ovirt|compute] Updates reference to service 2013-01-07 21:01:19 +00:00
Paul Thornthwaite
40c0cd7122 Make use of #persisted? method
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.

The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
James Herdman
101439bbda Silence warnings about potentially private attribute 2012-05-26 11:27:23 -04:00
James Herdman
641c6c106b Remove unused variable 2012-05-26 11:27:23 -04:00
Amos Benari
437de9fede [oVirt] fixed create_vm and get_virtual_machine requests mock implementation. 2012-05-09 10:23:28 +03:00
Amos Benari
8a8b7e81b9 use constant for GB. 2012-04-16 12:01:00 +03:00
Amos Benari
793cdf2960 [oVirt] added volume size in GB accessor. 2012-04-16 09:48:17 +03:00
Amos Benari
ebbffe1993 [oVirt] added volumes to server and template 2012-04-09 16:44:07 +03:00
Amos Benari
4ffa8675ea ovirt added support for 'set vm ticket'.
This api call is needed for openning a console to the server.
2012-03-21 16:00:57 +02:00
Amos Benari
6eb1560abe [oVirt] Added VM and Template network-interfaces crud. 2012-03-12 12:25:03 +02:00
Amos Benari
76e3447c61 [oVirt] added support for update vm on ovirt 2012-02-20 14:18:54 +02:00
Amos Benari
50499d004e [oVirt] added option to block on start.
Start action will block instead of fail. It can be useful in case of
start after stop or create.
2012-02-19 14:51:06 +02:00
Amos Benari
a898c001c8 [oVirt] Fixed syntax error in ovirt parser. 2012-02-19 12:44:40 +02:00
Dan Peterson
caf949af56 [ovirt|compute] #instance_variables returns Symbols in 1.9.2+. 2012-02-08 18:49:22 -04:00
Amos Benari
905c69d424 oVirt: Added tests to work on both real and mock.
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
2012-02-08 09:36:07 -06:00
Ohad Levy
4a9bfe58c8 Added basic tests to Ovirt compute provider 2012-02-08 09:36:06 -06:00
Amos Benari
ae29d968c6 Adds Supprt for oVirt (http://ovirt.org).
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
2012-02-08 09:35:23 -06:00