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

3566 commits

Author SHA1 Message Date
Todd Willey
564b6884af [Compute|OpenStack] match auth response to stable/diablo branch of keystone
This may require more tweaks for Essex, or when Keystone Light lands.

I also believe v1.0 auth may be broken by not sending back the
X-Server-Management-Url header.
2012-02-10 17:19:08 +00:00
Kevin Menard
f5cb2ad8c2 [zerigo|dns] Fixed the parser. TTL and priority values can be nil and should not be coerced into integers in that case. 2012-02-10 11:21:34 -05:00
Dan Peterson
caf949af56 [ovirt|compute] #instance_variables returns Symbols in 1.9.2+. 2012-02-08 18:49:22 -04:00
Kevin Menard
a7a1012102 [aws|storage|test] Fixed handling of options in mocked get_bucket_object_versions. 2012-02-08 13:24:25 -05:00
Kevin Menard
694d7ea9f7 Merge branch 'master' of github.com:fog/fog 2012-02-08 13:22:57 -05:00
Kevin Menard
02171e16d5 [aws|storage] Allow passing of options to fetching versions. 2012-02-08 13:22:51 -05:00
geemus
ccab472748 Merge branch 'master' of github.com:fog/fog 2012-02-08 12:20:41 -06:00
geemus
6f0b06ddd9 [AWS|storage] fix for versioned copy_object 2012-02-08 12:19:36 -06:00
Kevin Menard
d4c61c8190 [aws|storage|test] Fixed a regression with mocked get_bucket requests, due to a change in the mock data ordering. 2012-02-08 12:39:14 -05:00
geemus
d5678ee86a Merge branch 'master' of github.com:fog/fog 2012-02-08 10:10:44 -06:00
geemus
067a284440 [compute|aws] fix for describe_images parser that accidently split records 2012-02-08 10:10:34 -06:00
Wesley Beary
03b5adacfa Merge pull request from chrishas35/patch-1
Correct an error with long keys where Base64.encode64 adds "\n" at 60 chars
2012-02-08 07:45:42 -08:00
Amos Benari
905c69d424 oVirt: Added tests to work on both real and mock.
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
2012-02-08 09:36:07 -06:00
Ohad Levy
4a9bfe58c8 Added basic tests to Ovirt compute provider 2012-02-08 09:36:06 -06:00
Amos Benari
ae29d968c6 Adds Supprt for oVirt (http://ovirt.org).
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
2012-02-08 09:35:23 -06:00
geemus
4af8b390f4 Merge branch 'master' of github.com:fog/fog 2012-02-08 09:32:35 -06:00
geemus
06dea3bb64 [vsphere] add to test skip list when lacking credentials 2012-02-08 09:25:53 -06:00
Paul Thornthwaite
e282c7ff31 Merge in updates from 'brightbox/fog' 2012-02-08 10:20:28 +00:00
geemus
cf0760732a Merge branch 'master' of github.com:fog/fog 2012-02-07 18:51:32 -06:00
Paul Thornthwaite
41b0a3e754 [Brightbox] Correct server snapshot test
Had a mistake in it was trying to use the Server's ID for the get image
request and resulted in calling destroy on a nil.

Also had to add a wait since the API does not allow deleting an image
that is being prepared.
2012-02-07 17:14:29 +00:00
Dylan Egan
b92e0e8894 Merge pull request from freeformz/iam_mocks
IAM mocks
2012-02-06 18:20:46 -08:00
Edward Muller
4c8ca82b6c Additional mocks 2012-02-06 17:55:44 -08:00
Edward Muller
5171df8ede rework these to use #tap instead. Cleaner IMNSHO 2012-02-06 17:54:06 -08:00
Edward Muller
3469dbaf3f Use #has_key? instead of #keys.include? 2012-02-06 17:53:11 -08:00
Edward Muller
db6b50cd60 Add group mock data 2012-02-06 17:51:35 -08:00
Edward Muller
70337bbc5b Move this is Mock.key_id and don't default the path 2012-02-06 17:51:21 -08:00
Edward Muller
c276ebdbe6 Mock #delete_user_policy 2012-02-06 15:40:37 -08:00
Edward Muller
6f4fd26ff1 Mock out #list_users 2012-02-06 15:13:41 -08:00
Edward Muller
b12e373ce3 mock #put_user_policy 2012-02-06 14:55:43 -08:00
Edward Muller
d353165a68 Refactor mock data structure 2012-02-06 14:55:26 -08:00
Edward Muller
7b5602c758 Enable Shindo tests for the mocked methods 2012-02-06 14:18:46 -08:00
Edward Muller
9a89d5128d fix typo 2012-02-06 14:08:32 -08:00
Chris Hasenpflug
86d4a9325e Correct copy & paste error. 2012-02-06 16:00:51 -06:00
Chris Hasenpflug
e0ac5d44a0 Use gsub for Ruby 1.8.7 compatibility. 2012-02-06 15:58:01 -06:00
Edward Muller
c8748aaa0b mock #create_user and #create_access_keys" 2012-02-06 13:55:14 -08:00
Paul Thornthwaite
e7313e555f [Brightbox] Load balancer listener timeouts are now reported 2012-02-06 17:25:08 +00:00
Paul Thornthwaite
f8c4900f92 [Brightbox] Update format test to not fail on new attributes in JSON 2012-02-06 17:25:08 +00:00
Wesley Beary
5eba7505a6 Merge pull request from nirvdrum/s3_test_fixes
[aws|storage|test] Make sure tests pass with both mocking enabled and disabled.
2012-02-06 07:05:13 -08:00
geemus
7c62e44bf7 [AWS|Storage] remove redundant mock setup in tests 2012-02-06 09:00:38 -06:00
Wesley Beary
09657f670c Merge pull request from pcn/master
Added idempotent => true to create_tags
2012-02-06 06:53:37 -08:00
Kevin Menard
aff70389a8 [aws|storage|test] Make sure tests pass with both mocking enabled and disabled. 2012-02-06 09:53:27 -05:00
Kevin Menard
733fb7f2ac Merge pull request from fog/conditional_mock_fix
Added check if Fog.mock! should be used in AWS tests
2012-02-06 04:26:17 -08:00
Paul Thornthwaite
d50512ee72 Added check if Fog.mock! should be used in AWS tests
Without the check all tests were assumed mocked regardless of the
users environment setting.
2012-02-06 11:49:30 +00:00
Peter C. Norton
4a4b8f69be Ran M-x align-regexp on the hashrockets 2012-02-05 18:50:04 -05:00
Peter C. Norton
6f20a709ea Add the ":idempotent => true" property to create_tags to
fix an issue when launching many instance from cluster_chef
2012-02-05 18:17:20 -05:00
Dan Peterson
17454c6847 Merge pull request from dpiddy/expand-aws-instance-status
[aws|compute] Update API version and support new DescribeInstanceStatus format.
2012-02-05 13:51:35 -08:00
geemus
4e57c63df0 [AWS|Storage] fix for put_bucket_website mock 2012-02-05 14:29:59 -06:00
geemus
65727e2dc5 [AWS|Storage] versioning related fixes copy_object mocks 2012-02-05 14:26:13 -06:00
geemus
fae787cc51 [vcloud] mark mock tests pending 2012-02-05 14:13:01 -06:00
geemus
46a09347ef [AWS|DynamoDB] add missing pending for mocked tests 2012-02-05 14:04:59 -06:00