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

11254 Коммитов

Автор SHA1 Сообщение Дата
Richard Hall c5e4575747 Improving docs for fetching EC2 instances in batches 2014-12-18 11:22:39 -05:00
Richard Hall 59791abb84 Grouping requestId, and nextToken together in DescribeInstances#end_element as they perform the same action 2014-12-18 11:22:13 -05:00
Richard Hall 665007a6e7 Allowing users to fetch ec2 instances in batches 2014-12-18 10:05:04 -05:00
Paul Thornthwaite 20131950e5 Merge pull request #3352 from fog/service_abstraction_specs
Test service abstraction code loading
2014-12-18 11:48:43 +00:00
Paulo Henrique Lopes Ribeiro 963e36f3ca Merge pull request #3353 from fog/enforce_18_activesupport_dependency
This limits 1.8.7 to use `activesupport-v3.2.21`
2014-12-18 08:33:32 -02:00
Paul Thornthwaite 5d0ba170c0 This limits 1.8.7 to use `activesupport-v3.2.21`
Versions greater than 4.0 dropped 1.8.7 support but it appears the
Travis build environment just updated so this appeared.
2014-12-18 10:07:01 +00:00
Paul Thornthwaite fcd22c9a9a Test service abstraction code loading
The abstraction modules e.g. `Fog::Compute` have a list of registered
providers. All of these providers should be loaded correctly when
accessed with `Fog::Service[:provider]`

These tests hit each endpoint expecting `ArgumentError` from each
provider caused by the lack of credentials.

Credentials are stubbed out to not cause false results when the test
environment does have credentials for a service.

Some services do not have requirements so do not raise the expected
error. These special cases are just asserted. If they are not loaded the
specs fail again.
2014-12-18 09:49:20 +00:00
Shlomi Zadok 23bd65232b [vSphere]: Add full path to cluster 2014-12-18 10:15:46 +02:00
Wesley Beary 88f7aa507d Merge pull request #3349 from rackspace/neutron
Rackspace Neutron (Networking) Support
2014-12-17 15:28:33 -06:00
Wesley Beary 2f28c5491e Merge pull request #3325 from edit-christian/issue3275
possible fix for issue #3275
2014-12-17 14:32:24 -06:00
Matt Darby 22718d615b Rackspace Neutron (Networking) Support 2014-12-17 15:01:55 -05:00
ooVoo LLC 09c33efabc Fix misbehavior around connection to slave node in pool
The idea behind this fix is following:
if u connect to slave node its should notify u where is you master, then
u reconnect to master and perform any actions in front this server
2014-12-17 21:19:18 +02:00
Christian Ott f93278688b issue #3275, set path_style for get_bucket_location only, remove larger scope 2014-12-17 14:58:17 +01:00
Eugene Howe 63311fcc30 [aws] mocks and models for SNS 2014-12-15 10:47:16 -05:00
Wesley Beary d4868d6fde Merge pull request #3344 from janraasch/feature/fail-on-non-us_ascii-user-meta-data
[aws|put_object] guard against non-us_ascii x-amz-meta-* values
2014-12-15 09:11:47 -06:00
Wesley Beary 8ec90b81de Merge pull request #3250 from karmab/cloud_init
cloud_init support in ovirt
2014-12-15 09:08:58 -06:00
Jan Raasch 323b8439c9 [aws|put_object] do not check user meta data encoding for ruby-1.8.7
- There is no `Encoding` module in `ruby-1.8.7`
- `fog v2` will drop support for `ruby-1.8.7`
- Simply revert this commit once support for `ruby-1.8.7`is dropped
2014-12-15 14:27:07 +01:00
Jan Raasch f21daa6589 [aws|put_object] guard against non-us_ascii x-amz-meta-* values
As http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html states

>  Each name, value pair must conform to US-ASCII when using REST.

This constraint is especially hard get, since sending non-us_ascii characters in
a `x-amz-meta-*` header value simply results in a signing error.
2014-12-15 12:15:21 +01:00
karmab e51370ac4a start_with_cloudinit function (rbovirt) 2014-12-13 14:18:25 +01:00
geemus 207fd30c52 Release 1.26.0 2014-12-12 16:25:28 -06:00
Wesley Beary 54dde02c11 Merge pull request #3338 from rackspace/orchestration
Rackspace Orchestration Support
2014-12-12 16:21:20 -06:00
geemus f33135af3e bump fog-core dep 2014-12-12 16:04:11 -06:00
Matt Darby 2e24b6eee5 Rackspace Orchestration Support 2014-12-12 14:22:07 -05:00
geemus 63323895c7 [storage|aws] tweak region redirecting 2014-12-12 11:21:16 -06:00
Wesley Beary a1e5a156b6 Merge pull request #3337 from jfindley/master
[aws|dns] Namespace xml to fix create_health_check
2014-12-11 16:58:01 -06:00
Wesley Beary 7ab36e6685 Merge pull request #3321 from Ladas/openstack_fix_list_public_image_detailed
Fix path with contained query
2014-12-11 16:56:57 -06:00
Wesley Beary 3b9ae80826 Merge pull request #3322 from Ladas/openstack_fix_images_details
Enhance images details call by query
2014-12-11 16:54:34 -06:00
Wesley Beary 0b611fcc5c Merge pull request #3335 from starbelly/patch-1
Update describe_network_acls.rb - Fix duplicate key warning
2014-12-11 16:52:11 -06:00
Wesley Beary f05afcd95e Merge pull request #3332 from joshk/patch-1
Use the new build env on Travis
2014-12-11 16:38:56 -06:00
James Findley e45cb4d653 [aws|dns] Namespace xml to fix create_health_check
Fix conflict between IPAddress field and method with the same name
in the ipaddress gem, which is included elsewhere in fog.
2014-12-11 11:22:05 +00:00
Paul Thornthwaite fedb21dfd8 Merge pull request #3334 from fog/more_abstraction_specs
More specs to cover `Fog` methods
2014-12-11 09:36:29 +00:00
Ladislav Smola cc04c7f446 Fix path with contained query
Query inside path is not allowed, it should be under
separate key :query.

Putting query inside path leads to error:

URI::InvalidComponentError Exception: bad
component(expected absolute path component):
/v1.1/images/detail?limit=20

Caused most probably by this comparison:
URI::parser.regexp[:ABS_PATH] !~ v
2014-12-11 10:11:42 +01:00
Bryan Paxton 73b21db617 Update describe_network_acls.rb
Remove duplicate egress key in entry_aliases
2014-12-10 22:39:11 -06:00
Paul Thornthwaite e5e6d27235 Merge pull request #3329 from fog/reinstate_rackspace
Reinstate Rackspace support
2014-12-11 00:21:30 +00:00
Paul Thornthwaite d31b5905c4 More specs to cover `Fog` methods 2014-12-11 00:07:40 +00:00
Josh Kalderimis 7760051568 Use the new build env on Travis
more ram, dedicated cpu cores, faster vm boot times, awesome network
2014-12-10 22:08:14 +01:00
Wesley Beary d817ff5b4e Merge pull request #3331 from rackspace/reinstate_rackspace
Revert "Moving Rackspace logic to fog-rackspace"
2014-12-10 14:48:36 -06:00
Wesley Beary 8e6ecc1857 Merge pull request #3323 from brandondunne/fix_block_device_mappings
Fix block device mappings
2014-12-10 12:58:20 -06:00
geemus 4ba10436cb [digitalocean] reenable tests
closes #3330
2014-12-10 12:54:56 -06:00
geemus 47b67a1d01 [digitalocean|compute] add private_networking attribute 2014-12-10 12:49:57 -06:00
Matt Darby 72e52e70be Revert "Moving Rackspace logic to fog-rackspace"
This reverts commit d6ecb19d24.

Conflicts:
	fog.gemspec
2014-12-10 11:30:34 -05:00
Paul Thornthwaite 909cb31571 Reinstate Rackspace "bin" checks
Following v1.25.0, Rackspace support was extracted into a module however
it broke support to the original fog API.

The Rackspace module is currently disabled until a few key files are
replaced.

This adds tests that worked against v1.25.0 that checks that `rackspace`
is registered correctly. See https://github.com/fog/fog/pull/3326

This reverts commit 9717002fd3.
2014-12-10 11:11:40 +00:00
Paul Thornthwaite a67cadb71d Merge pull request #3326 from fog/105_provider_registration
Add specs for existing `Fog::Bin` API
2014-12-10 11:06:46 +00:00
Paul Thornthwaite 9717002fd3 Remove Rackspace references until reinstated
Tests were based on v1.25.0 which included Rackspace support. It was
extracted into a module and not correctly referenced so is no longer
present on master.

This commit should be reverted and the specs passing before the next
release.
2014-12-10 10:42:25 +00:00
Paul Thornthwaite 7ff8ff0c3e Merge branch 'master' into 105_provider_registration 2014-12-10 10:10:47 +00:00
Paul Thornthwaite f08b2e0277 Disable ALL DigitalOcean tests until fixed
There appears to be a glitch in the test suite such that running
`bundle exec rake travis` passes locally without executing the DO tests
but they are running on Travis itself.

So fed up playing whackamole with failures. They are off until the
broken code is fixed.

See https://github.com/fog/fog/pull/3304

This reverts commit 9b7b8fd490.
This reverts commit fa9254ba8d.
2014-12-10 09:59:57 +00:00
Paul Thornthwaite 9b7b8fd490 Mark additional DigitalOcean test as pending
See: https://github.com/fog/fog/pull/3304
2014-12-10 09:25:35 +00:00
Paul Thornthwaite fa9254ba8d Mark broken DigitalOcean tests as pending
See https://github.com/fog/fog/pull/3304
2014-12-10 00:31:54 +00:00
Paul Thornthwaite 0bd79a7306 Merge pull request #3327 from fog/3302_revert
Revert "Moved to Fog::Core"
2014-12-10 00:13:59 +00:00
Paul Thornthwaite 7300839e08 Revert "Moved to Fog::Core"
This reverts commit 44dacc062d.

See fog/fog#3302 for details of problems
2014-12-09 23:01:43 +00:00