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

23 commits

Author SHA1 Message Date
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
Lance Ivy
1cdd969a34 create core for each provider. keep load hook for provider. 2014-02-01 21:13:17 -05:00
Brian D. Burns
4ea463eb7b require mime/types in Fog::Storage 2013-08-27 20:43:49 -04:00
Brice Figureau
e877f95034 [aws|cdn] add request mock support for AWS Cloudfront
This patch adds support for mocking the cloudfront API.
CDN Tests now can both be run with mocking and non mocking
activated.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2012-09-28 11:24:36 +02:00
Brice Figureau
9666c9c7e0 [aws|cdn] AWS CDN models
This patch brings models for AWS CDN, including tests and documentation.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2012-09-26 18:51:00 +02:00
Brice Figureau
b381ba90e2 [aws|cdn] Implements AWS CDN get_invalidation request
This request was missing from the implementation. It is needed if
you actually need to look-up the invalidated paths.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2012-09-20 20:27:13 +02:00
Wesley Beary
58e6f12a61 Merge pull request #995 from m0use/bugfix-persistent-conn
Fixed non-persistent connections handling with AWS DNS
2012-06-24 12:07:25 -07:00
Alexander Kolesen
fcc4db6a1d Fixed handling options[:persistent] in some cases
Removed useless
@persistent = options[:persistent]  || true

It prevented @persistent from being set to `false`
2012-06-21 14:56:46 +03:00
Frederick Cheung
a715819976 [AWS] make beanstalk, cdn, cloudformation, cloudwatch, elasticache, elb, storage, rds, ses, sns, route53 temporary credential friendly 2012-06-20 23:26:04 +01:00
Frederick Cheung
38c75c85ab start an instance with an IAM profile and access the credentials 2012-06-20 23:17:46 +01:00
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
James Herdman
d5a417d29a Remove unused variable 2012-05-26 11:27:24 -04:00
geemus
ffd01e51dd [core] pass connection_options through service init
closes #411
2011-09-12 10:01:56 -05:00
geemus
b2c8ff0388 [core] work toward separate requires
Should facilitate the following:

    require 'fog/aws'
    require 'fog/compute'
    require 'fog/aws/compute'

I think once you `require 'rubygems'` those should work.

further cleanup should reduce common requires (ie nokogiri)
2011-08-31 15:52:53 -05:00
geemus
2abb668040 [cdn|aws] move aws cdn to its own shared area (namespacing should probably be corrected) 2011-08-24 14:25:12 -05:00
geemus
6ca767317a [cdn] consolidate 2011-01-07 17:02:41 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes #113
2010-12-16 15:31:24 -08:00
Juris Galang
c37629e742 requires and recognizes clauses for services now receives a block so that the declared parameters are applied to their Real implementation. 2010-12-08 11:09:13 -08:00
Juris Galang
827c029a99 This is a combination of 23 commits (included merges from upstream); this commit(s) include changes to enforces recognizes/requires parameters for all supported services. Comments from the included commits follow:
- Added google_storage_* keys
- Fixed indentations.
- Factored out requires and recognizes method implementation (now relies on the requires and recognizes clause from the NamedParameters module)
- Added dependency to named-parameters gem.
- Added recognizes declaration to classes for all supported services to enforce parameter name checks -
- passing an unrecognized key when instantiating a service object will now cause an ArgumentError to be raised.
- Added NOTE
- comment added
- check/filter-out keys from credentials that are not required by the class being instantiated
- [local|storage] properly write out file contents
- Added google_storage_* keys
- Fixed indentations.
- added put_object_acl request (ref: https://github.com/geemus/fog/issues#issue/74)
- Release 0.3.24
- remove tracker reference from README
- issues is now the goto for bugs/todo
- notify and gracefully skip credential-less testsa
- [rackspace|storage] fixes for directory/files
- [local|storage] CGI.escape file names
- Release 0.3.25
- updated deps; recognized_parameters -> declared_parameters; restored options filtering if Fog.bin
- Added requires/recognizes to Fog::Terremark::Ecloud
- Updted to use latest named-parameters gem.
- Filter out unwanted parameters when Fog.bin
- Updated to latest named-parameters gem
- commented out unnecessary code
- fix missing "volume" parameter error when setting Fog::AWS::Volume#server to nil (in order to detach it)
- documentation update for key_pairs and helper
- [aws|compute] commented/documented flavors/volumes
- Fixes for issue 38 and 39
Closes #96
2010-12-01 14:34:42 -08:00
geemus
b498079f80 [aws|cdn] update to support custom origins 2010-11-09 15:49:38 -08:00
geemus
cf75ce1dee [aws|cdn] continuing to flesh out distribution requests 2010-11-01 17:44:14 -07:00
geemus
2a77066d4d [aws|cdn] first pass at post_invalidation 2010-11-01 15:01:55 -07:00
geemus
a6f4e14894 [aws&rackspace|cdn] more cleanup and start of aws cdn 2010-11-01 12:31:39 -07:00