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

15 commits

Author SHA1 Message Date
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
Paul Thornthwaite
0e1daf3ddd [GH-2711] Replace Fog::Connection with XML shim
Unlike last attempt this replaces Fog::Connection with
Fog::XML::Connection which should be directly compatible.

Fog::Connection is there for old PRs but should be removed real soon.

Providers using JSON should be able to replace "XML" with "Core" within
their code to cut down on the dependency.

If I get the time I may attempt to clean up some but testing with Mock
will mean that is mostly educated guesswork.
2014-02-27 00:54:17 +00:00
Paul Thornthwaite
5007aac401 Revert "[core] Replace Fog::Connection with stable version"
This reverts commit 7ee3535d99.
2014-02-26 09:52:02 +00:00
Paul Thornthwaite
7ee3535d99 [core] Replace Fog::Connection with stable version
Fog::Connection mixed in XML parsing via the `parser` argument which
wasn't much use for the majority of APIs using JSON.

This adds the deprecation warning and attempts to update providers to
the correct version of Connection that they need.

Either the cleaner `Fog::Core::Connection` or if reliant on the XML
parsing still `Fog::XML::SAXParserConnection`

The SAX parser will be moving to `fog/xml` fairly soon.
2014-02-25 21:42:34 +00:00
Lance Ivy
1cdd969a34 create core for each provider. keep load hook for provider. 2014-02-01 21:13:17 -05:00
Rupak Ganguly
00e7b5c7e0 Update newer providers to expose hp_service_type as was done in #2177. 2013-10-30 19:02:54 -04:00
Terry Howe
725f9b95a6 excon update fix 2013-10-30 19:02:53 -04:00
Rupak Ganguly
99975f6f48 [hp|block_storage_v2] Add volume backups model, along with tests. 2013-10-30 19:02:40 -04:00
Rupak Ganguly
db95a16cb2 [hp|block_storage_v2] Add request methods for volume backups, along with tests. 2013-10-30 19:02:39 -04:00
Rupak Ganguly
e672899cee [hp|block_storage_v2] Add snapshot model along with tests. 2013-10-30 19:02:38 -04:00
Rupak Ganguly
e057f8ff57 [hp|block_storage_v2] Add request methods for snapshots, along with tests. 2013-10-30 19:02:38 -04:00
Rupak Ganguly
c216917285 [hp|block_storage_v2] Add volume model, fix some mocks, and add volume tests. 2013-10-30 19:02:38 -04:00
Rupak Ganguly
219ecbf2f2 [hp|block_storage_v2] Add the compute_v2 instance helper method. 2013-10-30 19:02:35 -04:00
Rupak Ganguly
54c8905e4f [hp|block_storage_v2] Add request methods for volumes, along with tests. 2013-10-30 19:02:35 -04:00
Rupak Ganguly
3ae6df8f49 [hp|block_storage_v2] Add a new Block Storage V2 provider for next gen block storage services. 2013-10-30 19:02:35 -04:00