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

36 commits

Author SHA1 Message Date
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
b9315bf7fe Added self.class_for(key) method. This allows us to inspect the requirements without having to create an instance of the service. 2010-12-08 11:08:16 -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
Nathan Sutton
ee4f95e4ce Change to use new Excon::Errors::HTTPStatusError class 2010-12-01 03:16:41 +08:00
geemus
5854e249aa more consistent attribute storage/usage 2010-11-19 13:45:45 -08:00
geemus
8aec42583e remove weird sudo related ssh stuff and don't memoize ssh connection 2010-10-20 16:22:31 -07:00
geemus
4c8c25f361 fixes to make bootstrap play nicer, especially outside the bin/fog context 2010-10-20 14:32:30 -07:00
geemus
e923e3c959 raise an error if trying to re-save a model 2010-10-04 16:08:34 -07:00
geemus
619f7d430f fix paths for core requires 2010-10-04 14:02:08 -07:00
geemus
99ba20f411 [slicehost][compute] get first pass of bootstrap working 2010-09-27 20:38:17 -07:00
geemus
31661e0294 remove a method definition I missed in last commit 2010-09-21 11:19:19 -07:00
geemus
07dbdf6952 providers abstraction, more consolidated bin stuff between providers 2010-09-21 11:11:15 -07:00
geemus
f0e2cfd21d rely on service to include collections 2010-09-14 10:51:13 -07:00
geemus
a963703309 fixes for/from specs/tests 2010-09-09 17:50:38 -07:00
geemus
136442206f [slicehost] rename slices to compute for consistency 2010-09-08 15:00:47 -07:00
geemus
6d6eafbb2b update attribute to consistently take hash and remove legacy array of aliases usage 2010-09-07 11:30:02 -07:00
geemus
dce5893555 add services accessors and clarify vocab by not reusing service 2010-09-03 15:32:30 -07:00
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00
geemus
a3af5d7800 working toward more consistent/simpler collection/bin management 2010-09-02 16:01:19 -07:00
geemus
c96614a11d consolidate credential management when running from bin 2010-09-02 13:39:01 -07:00
geemus
f589426319 better more consistent defaults for rackspace and slicehost server models 2010-07-17 17:01:18 -05:00
geemus
936cfc0e95 refactor/cleanup to use service 2010-06-12 15:31:17 -07:00
geemus
8533cdfecc consolidate MockNotImplemented and move into Errors namespace 2010-05-26 17:38:23 -07:00
geemus
fea0e70649 update helper tests to match new shindo 2010-05-26 17:37:27 -07:00
geemus (Wesley Beary)
c83f0f8e12 [slicehost] fix loading of flavors 2010-04-05 15:26:27 -07:00
geemus (Wesley Beary)
20edaa3097 [slicehost] add mock/real model helpers 2010-04-04 21:41:15 -07:00
geemus (Wesley Beary)
1037840421 utilize excon fix to pass Content-Length: 0 for no body requests 2010-03-29 23:00:03 -07:00
geemus (Wesley Beary)
10db608eb1 [slicehost] cleaner mocking/dependencies 2010-03-17 20:51:55 -07:00
geemus (Wesley Beary)
ee5242ba48 consolidate lazy_load code into collection 2010-03-06 20:02:10 -08:00
geemus (Wesley Beary)
6d671821b2 split out bin related helpers into their respective directories 2010-02-11 21:41:37 -08:00
geemus (Wesley Beary)
ff6fd5c588 [slicehost] Flavor(s) and Image(s) models 2010-02-06 15:39:14 -08:00
geemus (Wesley Beary)
9351fb2bdd [slicehost] add reboot support 2010-02-06 14:51:19 -08:00
geemus (Wesley Beary)
5187883bae cleanup and first pass at slicehost server(s) models 2010-02-04 00:27:14 -08:00
geemus (Wesley Beary)
87da79eae2 nicer and more explicit messaging around mocks that are not yet implemented 2010-02-01 22:53:18 -08:00
Wesley Beary
4099ba9310 create/delete slices for slicehost 2009-11-28 16:18:20 -08:00
Wesley Beary
f77cd66ea6 first pass at slicehost support (methods for querying existing stuff) 2009-11-26 21:04:49 -08:00