Граф коммитов

127 Коммитов

Автор SHA1 Сообщение Дата
Athir Nuaimi ea08946d02 add initial extra testing for cloudstack enhancements 2014-12-22 12:26:25 -05:00
Paulo Henrique Lopes Ribeiro 928dad3733 Removing Atmos 2014-12-02 13:15:23 -02:00
Paulo Henrique Lopes Ribeiro 7d047e769c Moved Ecloud to a modular gem 2014-11-24 00:06:03 -02:00
Paulo Henrique Lopes Ribeiro 6f89826e02 Modularized Voxel Provider 2014-11-08 19:07:35 -02:00
Ethan Devenport 0de2a5fb56 Adding fog-profitbricks as a runtime_dependency. 2014-10-24 01:25:11 -07:00
geemus d124c52ff5 [rackspace] set default region in mock helper for tests 2014-09-03 09:09:18 -05:00
snyquist2 6ab12ee6f2 added tests for list requests 2014-08-07 00:58:55 +00:00
snyquist2 bba30d0244 correct issues in previous commit 2014-08-06 21:05:21 +00:00
snyquist2 8ad7e9e318 Merge remote-tracking branch 'new-upstream/master' into gce_l7
Conflicts:
	lib/fog/google/requests/compute/delete_backend_service.rb
2014-08-06 20:46:13 +00:00
A.S. Lomoff b64d8f4b20 merge with master 2014-06-20 01:00:16 +03:00
A.S. Lomoff d103cc5904 fix asynchronious disks collection tests 2014-06-16 11:59:19 +03:00
Achim Ledermüller aea9b7b680 [opennebula] add credentials to mock_helper 2014-06-16 08:32:33 +02:00
A.S. Lomoff 45193a7caf remove some test output, add size_gb as a required field for disk creation 2014-06-13 17:26:15 +03:00
A.S. Lomoff 2f6dfc9ceb fix disks and servers live tests 2014-06-13 17:10:00 +03:00
Paul Thornthwaite 330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01: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
sawanoboly 2faed91ad1 Merge branch 'master(41072e9f7d)' into pull_sakuracloud2 2014-03-04 11:42:49 +09:00
Amos Benari 48ea032fff added docker support 2014-02-16 01:06:49 +02:00
sawanoboly 453b021bbd writenig provider for sakuracloud ,wip
list ssh_keys and create disk

add models and requests for  create computer

create server at once

add bin and route file

update create_with

write getting_started wip. and create helper methods.

add sakura to mock_helper

add bin and route file

write getting_started wip. and create helper methods.

add mocks and test

create tests and write getting started

writenig provider for sakuracloud ,wip

list ssh_keys and create disk

add models and requests for  create computer

create server at once

add bin and route file

update create_with

write getting_started wip. and create helper methods.

add sakura to mock_helper

add bin and route file

write getting_started wip. and create helper methods.

add mocks and test

create tests and write getting started

mv getting_started to docs

mv getting_started to docs

use snake_case for models

fix: wrong usage of :aliases

update doc. replace to snake_case from class

update mocks format

Fix: remove commas for Ruby 1.8.7

duplicate example

use create method with option if atatch volume

remove empty line (checking travis works..)

fix args for core/provider.rb#service
2014-02-12 12:30:44 +09:00
Kyle Rames 9a31161c92 [core] Adds `ssh_ip_address=` so users can override the ssh address per issue #2584 2014-01-22 11:38:31 -06:00
Mike Pountney f345f3d6e6 rename Mock vcloud_director_host to pass URI.parse 2013-12-16 17:50:20 +00:00
Mike Pountney dd86b2f7c8 make Mock vcloud_director_host an FQDN 2013-12-16 17:47:14 +00:00
Carlos Sanchez 6c116666ed [google] Implement disk mocks and enable tests
Avoid repeating api_version
Add persistent disk to insert_server mock
Use Fog::Mock.delay properly instead of Fog.timeout
Update default image
2013-11-26 12:19:32 +01:00
Carlos Sanchez 6c386fcee0 Disable specific tests that don't pass on jruby 1.7.5+
Due to https://github.com/jruby/jruby/issues/1265
2013-11-25 16:50:43 +01:00
Julian Weber 71d8953a62 adds :os_account_meta_temp_url_key to test mock helper 2013-10-16 13:53:55 +02:00
Kyle Rames e0ff3cb304 Revert "[rackspace] updated shindo helper to add :rackspace_queues_client_id to credentials if it does not already exist. Hopefully this will make it easier to run Rackspace tests"
This reverts commit 6efc48d9eb.
2013-10-10 09:00:46 -05:00
Kyle Rames 6efc48d9eb [rackspace] updated shindo helper to add :rackspace_queues_client_id to credentials if it does not already exist. Hopefully this will make it easier to run Rackspace tests 2013-10-09 14:07:16 -05:00
Nick Osborn 32fd3af302 [vcloud_director|tests] Avoid warning about username 2013-09-26 11:51:06 +01:00
Nick Osborn 193ac3e856 [vcloud_director] Integrate tests
- add tags for `rake test`
- use `tests/.fog` not bespoke environment variables
- vapp_life_cycle_tests made pending; extra requests arise after
  71a303415b
2013-09-13 19:28:58 +01:00
Trae Robrock f240381e31 Add digitalocean mock key to run these tests on travis 2013-07-22 09:11:42 -07:00
Trae Robrock dc6e78d6bd Cleanup and refactor digitalocean integration
* Handle case where droplet is locked pending events, DO support says
they are planning to expose something in the api to show these events.
Until then this is the best we have.
* Whitespace cleanup
* Refactor test helpers
* Use the collection helper for the digitalocean servers collection
2013-07-10 17:41:12 -07:00
Kaloyan Kanev e61b81bf49 [cloudsigma] Add CloudSigma compute provider 2013-05-20 16:09:37 +03:00
Nat Welch 354da67793 disable mock running, I think. 2013-05-01 17:40:20 -07:00
Nat Welch 7a023a1b5e whoops. 2013-03-21 19:02:56 -07:00
Nat Welch 1d76314352 Merge branch 'master' into ziyadm 2013-03-21 18:33:07 -07:00
Nat Welch 7817a36c23 Add correct keys for Google Compute 2013-03-21 18:29:28 -07:00
Andreas Gerauer 3c51776171 add a test to protect certain Enumerable methods in Fog::Collection subclasses 2013-03-13 18:03:03 +01:00
Nat Welch 7d8f0f15e5 Merge branch 'master' into ziyadm
Conflicts:
	fog.gemspec
	lib/fog/bin.rb
	lib/fog/compute.rb
2013-03-12 15:08:40 -07:00
Christopher Meiklejohn 13e1567a8d Add Riak CS provider in Fog. 2013-03-08 16:24:34 -05:00
Andrew Kuklewicz dbc1869be8 fix testing mock 2013-01-31 15:16:49 -05:00
Nat Welch 1433768306 Merge branch 'master' into ziyadm 2013-01-25 18:19:16 -08:00
Rupak Ganguly 23f3e94756 Merge pull request #1505 from rupakg/update_hpfog_0.0.19_to_upstream_fog_1.9.0
Update hpfog 0.0.19 to upstream fog 1.9.0 (2)
2013-01-25 14:54:40 -08:00
Paul Thornthwaite cdae6f38f4 [tests] Fixes schema validator for arrays
Arrays should not fail if empty. They should only fail if any member of
the array does not match the schema.
2013-01-23 15:24:23 +00:00
Paul Thornthwaite 5f63112640 [tests] Extracts schema validator to class
Created Fog::Schema::DataValidator to contain the matching logic for the
data based schemas used by the tests.

This is tested in isolation and removes dependency on Shindo. Also
exposes a #message call to get the last message set by the validator to
avoid coupling the test output to the internals.

Tests for the #data_matches_schema helper are added as well.
2013-01-23 15:24:23 +00:00
Paul Thornthwaite 0793a42a64 [tests] Changes to format testing helper
* Adds and documents Shindo::Tests#data_matches_schema
* Deprecates Shindo::Tests#format method
* Strict mode is replace by expandable options
* Uses Fog::Logger instead of p for debug output
* Shindo::Tests#formats_kernel removed (was private)
* Shindo::Tests#confirm_data_matches_schema added
* #confirm_data_matches_schema uses yield

Related to issue #1477

Shindo::Tests#formats incorrectly treated missing keys as valid if their
value is allowed to be "nullable" or NilClass. These keys are not
optional. They are required but can be the value nil or the Nullable
class.

Unfortunately due to lack of documentation and a bug in the code the
current Nullable classes can be interpreted as optional and work as such.

This replaces the old format checker with a new version that supports
options to control the matching behaviour related to extra keys in
either the data or the schema.

This corrects the behaviour so extra keys in either the schema or the
supplied data fail the check unless non strict has been used.

A legacy version of the #formats test is in place that passes the
options so it behaves as the old version does.

Premptive patches have been added to fix those tests that were already
broken but passed the original checks.
2013-01-23 15:24:23 +00:00
Paul Thornthwaite 3863cd38c8 [tests] Updates format tests
Tests for #formats (the public interface) have been added however there
are no fail tests due to the way Shindo operates.

Adds a few more test cases and rewords the descriptions in preparation
to refactor the #format_kernels method.

Changes the tests and schema keys to be String based since decoding the
values rarely return Symbols.
2013-01-23 15:24:22 +00:00
Rupak Ganguly 72a5fcede5 Deprecate hp_account_id to use hp_access_key instead. 2013-01-22 17:28:33 -05:00
Rupak Ganguly 03bf99d9d3 Merge changes from upstream fog 1.8.0 and later updates. 2013-01-18 15:06:41 -05:00
Nat Welch bba1390fff a little sorting of config options. 2013-01-16 17:55:36 -08:00
Nat Welch ffdc1d02b5 an attempt to get gce tests working in travis. 2013-01-16 17:55:36 -08:00