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

8548 commits

Author SHA1 Message Date
Kevin Menard
00042f6af2 [vsphere|compute] Be more intelligent about auto-picking a unit number for a volume. 2013-10-28 19:08:31 -04:00
Kevin Menard
020436595a [vsphere|compute] Added the ability to create and destroy new volumes. 2013-10-28 17:57:55 -04:00
Wesley Beary
2c4497cd88 Merge pull request from zimbatm/fix/copy_image
aws/compute: Hotfix, wrong Name argument for copy_image
2013-10-28 07:57:11 -07:00
Kevin Menard
f0831c11e4 [vsphere|compute] Small code cleanup. 2013-10-28 10:43:32 -04:00
Kevin Menard
380d93098f Merge pull request from xfontroSF/vsphere_fix_service
[Vsphere|compute] Assign service to clone_result before new instance of vm
2013-10-28 07:41:29 -07:00
Kevin Menard
db4137c76b Merge pull request from aussielunix/vsphere-clone-conflicts
[vsphere|compute] cleanup merge conflicts with clone method
2013-10-28 07:40:24 -07:00
Nick Osborn
a3641b81ef Merge pull request from alphagov/firewall_enable_logging
[vcloud_director] Add EnableLogging field to FirewallService XML
2013-10-27 15:04:42 -07:00
Kevin Menard
fece1f3126 Don't ignore JRuby failures in Travis any longer, since all known ones have been addressed. 2013-10-27 12:51:51 -04:00
Nat Welch
861b15a55a Merge pull request from maginatics/gce_create_snapshot
[google|compute] Create a Snapshot based on a Disk
2013-10-25 17:29:00 -07:00
Jonas Pfenniger
e49d143fd3 aws/compute: Hotfix, wrong Name argument for copy_image 2013-10-26 00:17:52 +01:00
Akshay Moghe
dd175d9f94 Create a Snapshot based on a Disk 2013-10-25 16:03:07 -07:00
Kevin Menard
052768c95e Added a development dependency on 'unf' so the AWS escaping tests will pass. 2013-10-25 11:17:31 -04:00
Wesley Beary
d8b5bb7190 Merge pull request from nirvdrum/replace_unicode_with_unf
Replaced the 'unicode' gem with 'unf' so it'll work with JRuby.
2013-10-25 08:01:55 -07:00
Kevin Menard
8d808d4325 Made the 'unf' dependency optional.
If you don't have 'unf' installed and you use an AWS adapter, you'll get a message about how your strings might not be properly escaped.  If the gem is available, we'll use it.
2013-10-25 10:54:28 -04:00
Wesley Beary
228584acf2 Merge pull request from maxlinc/patch-1
Semantic Versioning (and Pessimistic Versioning Constraint) recommendation
2013-10-25 07:28:01 -07:00
Philip Potter
161088aba4 Add EnableLogging field to FirewallService XML 2013-10-25 15:17:02 +01:00
Kevin Menard
69988cbc1d Replaced the 'unicode' gem with 'unf' so it'll work with JRuby.
Fixes : Remove dependency on "unicode" gem.
2013-10-24 22:27:10 -04:00
Kevin Menard
d20617ff0c Merge pull request from nirvdrum/jruby_test_fixes
JRuby test fixes.
2013-10-24 18:07:43 -07:00
Kevin Menard
ee7d1d736c Bound the 'myns' XML namespace to keep Nokogiri on JRuby happy.
It appears JRuby's Nokogiri implementation is strict about using unbound XML namespaces.  Since a well-formed doc should have bound namespaces, I just added it here.
2013-10-24 18:16:13 -04:00
Kevin Menard
9b0de600be Added a JRuby workaround in a test that's failing due to a JRuby bug. 2013-10-24 15:17:51 -04:00
Kevin Menard
9e1a29b9f3 Merge pull request from nirvdrum/more_unicode_jruby_cleanup
More unicode jruby cleanup.
2013-10-24 11:01:19 -07:00
Kevin Menard
dabed804b0 Handle another case of the 'unicode' gem breaking things on JRuby.
This is was an omission from pull request .
2013-10-24 11:01:43 -04:00
Kevin Menard
f28ac60ab2 Scope the Unicode module so NameErrors make more sense. 2013-10-24 10:59:41 -04:00
Paul Thornthwaite
d9c63c8370 Merge pull request from fog/remove_libvirt_dependency
[core] Make `ruby-libvirt` dependency optional
2013-10-24 04:45:16 -07:00
Paul Thornthwaite
2c3cf32026 [jruby] Ignore failures until fully supported
JRuby is now being tested but does not pass yet so I'm ignoring the
failures in Travis until support is finalised.
2013-10-24 12:28:26 +01:00
Paul Thornthwaite
77d17085f2 [core] Make ruby-libvirt dependency optional
The `ruby-libvirt` dependency was commented out since it is rarely used
and a pain for developers to prepare.

The comment was removed in b373e55a8f
to protect JRuby but made it a requirement for MRI (& others).

This adds another guard based around the setting of `FOG_USE_LIBVIRT`
environment variable.

This hopefully will mean anyone wanting to use it can just set that
rather than editing the gemspec.

Fixes 
2013-10-24 11:53:30 +01:00
Kevin Menard
755f46f418 Merge pull request from nirvdrum/add_jruby_to_travis
Added testing in JRuby for Travis.
2013-10-23 14:19:55 -07:00
Kevin Menard
9b65033a05 Merge pull request from nirvdrum/jruby_fixes
JRuby fixes.
2013-10-23 14:19:34 -07:00
Kevin Menard
b42877b5c4 Added logging message for JRuby users to know they're at a disadvantage. 2013-10-23 17:01:05 -04:00
Kevin Menard
10911f8ebd Temporary hack around to get fog loading on JRuby.
The plan is to get things largely building in JRuby and then tackling  separately.
2013-10-23 16:26:52 -04:00
Kevin Menard
b373e55a8f Don't load a couple MRI-only development dependencies on JRuby. 2013-10-23 16:23:35 -04:00
Nick Osborn
dde941a073 Merge pull request from nosborn/vcloud_director_task_mocking
[vcloud_director] Mocking for tasks.
2013-10-23 05:13:24 -07:00
Max Lincoln
9d92233102 Semantic Versioning (and Pessimistic Versioning Constraint) notice
I noticed some projects using Fog are setting very specific versioning constraint.  For example, https://github.com/mitchellh/vagrant-rackspace/issues/34 happened because both vagrant-aws and vagrant-rackspace are using 3 digits of precision.

The fog RELEASE.md says that Fog follows semantic versioning.  Several other projects have put up notices suggesting to use 2 digits of precision for projects that follow semver.  See https://github.com/intridea/multi_json, for example.

I added a similar notice, but softened the language because I don't think there is a clear understanding on what semantic versioning means for a project like Fog, which has multiple providers backed by services that are all evolving at their own pace.
2013-10-22 18:49:45 -02:00
Wesley Beary
550902b3eb Merge pull request from jtopper/master
Removed errant :host argument
2013-10-22 12:28:14 -07:00
Wesley Beary
07efdb75c3 Merge pull request from maginatics/vsphere_reload
Add a reload() method to the vSphere service.
2013-10-22 12:26:58 -07:00
Timur Alperovich
475e6698ed Add a reload() method to the vSphere service.
Like other compute services, it would be useful if vSphere also
supported reload(). The method should reestablish any session state
required for Fog when network errors arise (EPIPE, etc).

Fixes: 
2013-10-22 10:51:19 -07:00
Jon Topper
a20d37b452 Removed errant :host argument 2013-10-22 18:38:17 +01:00
Nick Osborn
5c6f7616d7 [vcloud_director] Fix ruby 1.9-isms in media_tests. 2013-10-22 16:33:40 +01:00
Nick Osborn
2e91893c01 [vcloud_director] Consistent usage of ensure_list! in get_disk. 2013-10-22 16:33:40 +01:00
Nick Osborn
cbd3491170 [vcloud_director] strftime not iso8601 for ruby 1.8.7 2013-10-22 16:33:40 +01:00
Nick Osborn
10b0ef3f25 [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
Wesley Beary
17a3b98c60 Merge pull request from CIRCUITLLC/master
Invalid Excon request keys: :host, :port (add v1) dupes 
2013-10-22 07:17:47 -07:00
Nick Osborn
50830be798 Merge pull request from alphagov/tests_for_edge_gateway
tests for configure edge gateways
2013-10-22 04:56:30 -07:00
Sneha Somwanshi
2e018811af added comment on test 2013-10-22 09:45:54 +01:00
Kevin Menard
0ccdea7092 Added testing in JRuby for Travis. 2013-10-21 18:24:54 -04:00
Peter Bonnell
6856a63820 add v1 auth fix 2013-10-21 14:02:22 -07:00
wenlock
5547abaa8c Invalid Excon request keys: :host, :port
as explained https://github.com/fog/fog/issues/2248 is preventing authentication with hp cloud.
2013-10-21 13:25:14 -07:00
Nick Osborn
81d0f14a67 Merge pull request from nosborn/vcloud_director_no_datetime_iso8601
[vcloud_director] strftime not iso8601 for ruby 1.8.7
2013-10-21 11:40:38 -07:00
Nick Osborn
92d71806aa [vcloud_director] strftime not iso8601 for ruby 1.8.7 2013-10-21 19:06:16 +01:00
Nick Osborn
7ca8017d64 Merge pull request from alphagov/empty_edge_gateway_support
[vcloud_director] fixes so that non configured gateway are supported
2013-10-21 10:29:48 -07:00