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

29 commits

Author SHA1 Message Date
mlincoln
6e166ad323 random ip address support 2013-07-23 18:07:04 -03:00
Paul Thornthwaite
4123be9568 [core/xml] Splits SAX parsing from Connection
This creates a new `Fog::Core::Connection` class that wraps around HTTP
connections/requests but does not presume SAX parsing of the API response.

A new `Fog::XML::SAXParserConnection` is available which implements the
original behaviour with a clearer interface.

`Fog::Connection` subclasses `SAXParserConnection` to be backwards
compatible.

Further testing and deprecation warnings are needed.

Since mock testing occurs at a higher level the changed code is not
exercised by the tests and I do not have access to an XML based API to
debug quickly with.
2013-06-24 17:30:51 +01:00
Paul Thornthwaite
f6280910f8 [core] Move XML/JSON code up out of core
Rather than embedding XML and JSON support within fog-core, this is the
start of extracting them to exist alongside core.

That will move the responsibility to each provider to declare if they want
XML or JSON services.

Goal being as we move towards a modular fog this allows providers to
require core and either JSON or XML gems and not pick up dependencies
only required by the other.
2013-06-24 17:30:00 +01:00
Lance Ivy
64dc69f128 restore ability to load fog from source without bundler 2013-04-02 17:22:06 -04:00
Lance Ivy
e5c438a206 convert lib/fog to simply include all providers
this forces each provider to set up its own requires and share
through fog/core.
2013-03-27 14:46:40 -04:00
Paul Thornthwaite
28a3e59245 [core] Splits Fog::VERSION into own file
Now available within "fog/core"

Just reverted a change where depending on Fog::VERSION for the
User-Agent made a dependency on requiring "lib/fog" which also requires
all providers and services.

That is highly undesirable from a modular perspective!
2012-11-27 16:30:40 +00:00
geemus
1a3461d5c6 remove specs (likely from a bad merge) 2012-07-12 16:23:29 -05:00
geemus
a5bca30b5c [core] no need to expand the already exanded __LIB_DIR__ 2012-03-06 11:03:05 -08:00
Hemant Kumar
a949ca4987 remove rubygems require from core.rb 2012-02-28 22:47:57 +05:30
geemus
03ce1c3cec [core] prototype logger 2011-09-01 17:48:43 -05:00
geemus
b664f37ac3 [core] move openssl to more central location 2011-08-24 13:20:15 -05:00
geemus
bfe7efdd10 [compute|aws] fixes for bootstrap and placing attributes json 2011-08-09 13:39:43 -05:00
geemus
dc78e464bc [AWS|SNS] flesh out basics 2011-07-19 17:53:26 -05:00
Christopher Meiklejohn
49d8a92a63 Move timeout up to Fog from Fog::Mock. 2011-07-11 18:06:47 -04:00
H. Wade Minter
b4f3b1b46d Use URI.escape instead of CGI.escape to properly encode containers and objects. 2011-03-23 20:54:37 -04:00
geemus
ac2610c85f [virtualbox|compute] rough initial implementation 2011-03-09 17:03:15 -08:00
Allan
8ccbd4917d added basic scp support 2011-02-25 08:49:10 +08:00
geemus
3be53104be [compute] consolidate 2011-01-07 16:52:09 -08:00
geemus
39b5899163 [dns] consolidate 2011-01-07 16:12:04 -08:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -08:00
geemus
763d7940c4 getting examples in order 2011-01-04 16:49:35 -08:00
geemus
74e4288549 add offset for fog times
allows working around clock skew issues
2010-12-21 12:12:30 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes #113
2010-12-16 15:31:24 -08:00
geemus
d6c78366cc [core] cleanup/fixes for dependencies 2010-12-16 12:04:28 -08:00
geemus
d5a4b0180c [core] cleanup dependencies 2010-12-16 11:24:52 -08:00
Jesse Proudman
42909d2d20 Require the credentials library in core. This is used in the Blue Box Compute.rb file to grab the SSH key file. 2010-12-14 03:21:53 +08:00
geemus
1b71cd953a top level compute/storage constructs 2010-10-29 16:08:56 -07:00
geemus
240f43b98a pushing nokogiri dependency toward leaves as well 2010-10-29 15:25:14 -07:00
geemus
dfd30e521f cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00