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

33 commits

Author SHA1 Message Date
Mike Hagedorn
3753b5f1a1 change service catalog lookup to be type based 2014-08-11 16:06:43 -04: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
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
Paul Thornthwaite
8483a599f2 Remove trailing whitespace 2014-02-19 12:30:59 +00:00
Paul Thornthwaite
a72433d2f8 Remove duplicate requires from services
Following work on reorganising the requires, there was an inconsistent
approach to where service wrappers are required. (Fog::Compute...)

Since they should be standardised and shared across providers (although
they really aren't yet) they have been moved to `fog-core` gem.

Each provider has their own `lib/fog/{provider}/core` files that is
required by each of their services. These files should all require
`fog/core` which already required most or these.

So this removes the extra cases to concentrate them in core.
2014-02-13 17:44:48 +00:00
Kyle Rames
0199ee073e Revert "[hp|compute_v2] added security group support"
This reverts commit 05e10e5784.
2014-02-04 14:37:29 -06:00
Wesley Beary
e54c1fc326 Merge pull request #1712 from cainlevy/separable_requires
Separable requires
2014-02-04 06:49:27 -08:00
Lance Ivy
1cdd969a34 create core for each provider. keep load hook for provider. 2014-02-01 21:13:17 -05:00
Kyle Rames
05e10e5784 [hp|compute_v2] added security group support 2014-01-28 16:01:51 -06: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
386682e0b6 [hp|compute_v2] Add request and server model methods to add security groups to server after creation, along with tests. 2013-10-30 19:02:47 -04:00
Rupak Ganguly
2413b34cc5 [hp|compute_v2] Add request method for limits. 2013-10-30 19:02:46 -04:00
Rupak Ganguly
467456abc6 [hp|compute_v2] Add method to retrieve windows instance password after it is created. Also, add tests for persistent server. 2013-10-30 19:02:40 -04:00
Rupak Ganguly
a0d6b018a5 [hp|compute_v2] Refactor server model to add volume attachments. 2013-10-30 19:02:36 -04:00
Rupak Ganguly
edeed9df9f [hp|compute_v2] Add request methods for volume attachments for server, along with tests. 2013-10-30 19:02:34 -04:00
Rupak Ganguly
f7fa6ddd3a [hp|compute_v2] Add request methods and models for availability zones, along with tests. 2013-10-30 19:02:33 -04:00
Rupak Ganguly
05ccc41ef6 [hp|compute_v2] Add address model along with tests. 2013-10-30 19:02:33 -04:00
Rupak Ganguly
d7a52c3aec [hp|compute_v2] Add models for flavors and key pairs, along with tests. 2013-10-30 19:02:32 -04:00
Rupak Ganguly
47399924c9 [hp|compute_v2] Add models for servers, images and metadata. 2013-10-30 19:02:32 -04:00
Rupak Ganguly
36a6a2206c [hp|compute_v2] Add request methods for server addresses, along with tests. 2013-10-30 19:02:31 -04:00
Rupak Ganguly
9384161dc4 [hp|compute_v2] Add request methods for floating ip addresses, along with tests. 2013-10-30 19:02:31 -04:00
Rupak Ganguly
5b3ba81469 [hp|compute_v2] Add request methods for console, along with tests. 2013-10-30 19:02:30 -04:00
Rupak Ganguly
0740d40a7d [hp|compute_v2] Add metadata request methods for servers and images, along with tests. 2013-10-30 19:02:29 -04:00
Rupak Ganguly
273bd967b9 [hp|compute_v2] Add request methods for keypairs, along with tests. 2013-10-30 19:02:28 -04:00
Rupak Ganguly
5f5919abdf [hp|compute_v2] Add request methods for images, along with tests. 2013-10-30 19:02:28 -04:00
Rupak Ganguly
4b2cddb12c [hp|compute_v2] Add request methods for flavors, along with tests. 2013-10-30 19:02:28 -04:00
Rupak Ganguly
b059145cb2 [hp|compute_v2] Add the request methods for reboot, rebuild and create_image for servers. 2013-10-30 19:02:27 -04:00
Rupak Ganguly
1f64462032 [hp|compute_v2] Update attributes, mocks and inline help. 2013-10-30 19:02:26 -04:00
Rupak Ganguly
cd5460ef10 [hp|compute_v2] Remove aweful caching from query. 2013-10-30 19:02:26 -04:00
Rupak Ganguly
2821685f95 [hp|compute_v2] Add new HP Compute V2 provider. Add request methods for servers. 2013-10-30 19:02:25 -04:00