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

6768 commits

Author SHA1 Message Date
Jonas Pfenniger
f36a3065a9 AWS | storage: fixes ignored location with new buckets
When creating a new directory the location wasn't forwarded properly.

Something like the following is now working as expected (see limitation below):

    Fog::Storage[:aws].directories.create(key: 'bucket', location: 'us-west-1')

It also changes the following behaviour: when no location is specified new
buckets are explicitly created in the same region as the service connection.

Known limitations:

Fog::AWS::Directory instance don't use their location to connect to S3.

If you're using an AWS::Storage with a region different than us-east-1 you
can only create buckets in the same region.
2013-04-16 23:28:04 +01:00
Jonas Pfenniger
62f07402b3 AWS | storage: make directory.persisted? tell the truth
directory.persisted? was relying on the directory having a key which is almost
always true and not related to storage anyways.
2013-04-16 23:28:04 +01:00
Jonas Pfenniger
416f0d1cb3 AWS | storage: disabling broken tests 2013-04-16 23:28:04 +01:00
Jonas Pfenniger
f2b1c0f5d1 AWS | storage: add more uniq_id in the tests to avoid collisions 2013-04-16 23:28:04 +01:00
Jonas Pfenniger
ad8a009bd1 AWS | storage: add tests for directory#public_url 2013-04-16 23:28:04 +01:00
Jonas Pfenniger
cc43c49125 AWS | storage: use #service instead of the deprecated #connection in the tests 2013-04-16 23:28:04 +01:00
Wesley Beary
125834de89 Merge pull request from mhuin/fix_subdomain_check
Changes the path only if subdomain is not @host
2013-04-16 09:05:06 -07:00
Matthieu Huin
159ad05f8a Changes the path only if subdomain is not @host
see https://github.com/fog/fog/issues/1631#issuecomment-16396992
2013-04-16 10:50:30 +02:00
Wesley Beary
1bc174e8a7 Merge pull request from dm1try/cloudstack_add_attributes_to_servers_method
[cloudstack] servers collection, add attributes to :all method
2013-04-15 09:35:38 -07:00
Dmitry Dedov
951212e957 [cloudstack] servers collection, add attributes to :all method 2013-04-15 17:38:15 +03:00
Wesley Beary
a83c5eca4b Merge pull request from maginatics/timeout2
Fog::Model#wait_for: eliminate inner retry loop
2013-04-11 08:00:16 -07:00
Wesley Beary
359a1f4bb0 Merge pull request from dm1try/cloudstack_add_list_os_types_and_list_disk_offerings_mocks
[cloudstack] Add list os types and list disk offerings mocks
2013-04-11 07:52:37 -07:00
Dmitry Dedov
cb51eebd0c [cloudstack] list_os_types, list_disk_offerings request tests, rm pending 2013-04-11 12:22:48 +03:00
Dmitry Dedov
ba6242f64d [cloudstack] add list_os_types, list_disk_offerings request mocks 2013-04-11 11:31:18 +03:00
Dmitry Dedov
1a753624b8 [cloudstack] add disk_offerings, os_types mock data 2013-04-11 11:21:58 +03:00
Sergio Rubio
4fb0522361 Merge pull request from frodenas/openstack_get_version
[openstack] Retrieve supported API version for Image & Network services
2013-04-10 03:51:45 -07:00
Wesley Beary
6ca3880a31 Merge pull request from rackspace/provider_docs
Added pointers to provider specific documentation to README.md
2013-04-08 14:56:20 -07:00
Kyle Rames
47baec1a46 Added pointers to provider specific documentation to README.md 2013-04-08 16:23:44 -05:00
geemus
aed05908f3 add 2.0.0 to travis build list 2013-04-08 10:28:17 -05:00
Kyle Rames
7b07d74e14 Merge pull request from rackspace/json_lib
[Core] Updated Fog::JSON to use JSON gem by default
2013-04-08 08:13:46 -07:00
Ohad Levy
e634e90a45 Merge pull request from aussielunix/vsphere-bug-list-networks
[vsphere|compute] fix incorrect filters.merge in networks model
2013-04-08 05:27:14 -07:00
Mick Pollard
5f9c927f98 [vsphere|compute] fix incorrect filters.merge in networks model 2013-04-08 20:08:24 +10:00
Sergio Rubio
d2c51138f1 Merge pull request from frodenas/openstack_volumes
[openstack|compute] Add volume attachment methods
2013-04-05 13:03:40 -07:00
Sergio Rubio
b4e6e36620 Merge pull request from rubiojr/changelog-fixes
Fix CHANGELOG fog version for digitalocean, xenserver and openstack
2013-04-05 12:04:19 -07:00
Sergio Rubio
0b3463f482 Fix CHANGELOG fog version for digitalocean, xenserver and openstack 2013-04-05 20:29:15 +02:00
geemus
8cacdb46be Revert "add trademark notice"
This reverts commit 8820821c65.
2013-04-05 11:30:55 -05:00
geemus
8820821c65 add trademark notice 2013-04-05 10:18:31 -05:00
Jeff McCune
b3b9ce0342 [vsphere|compute] Add VM template models
* mingjin-vsphere:
  (maint) Clean up whitespace errors
  [vsphere|compute] add options of numCPUs and memoryMB for VM clone
  [vsphere|compute] add get_template function
  [vsphere|compute] add list_templates function

close 
2013-04-04 23:19:44 -07:00
Jeff McCune
20d42c40fc (maint) Clean up whitespace errors 2013-04-04 23:07:50 -07:00
Ming Jin
0ddcbc2678 [vsphere|compute] add options of numCPUs and memoryMB for VM clone 2013-04-04 23:01:26 -07:00
Ming Jin
9120ed7668 [vsphere|compute] add get_template function 2013-04-04 23:01:17 -07:00
Ming Jin
9ee029e70a [vsphere|compute] add list_templates function
Templates used to be included in Compute[:vsphere].servers.all, but
they've been pruned out for awhile now.  This patch adds the
functionality back in so that templates may be located for cloning.
2013-04-04 23:00:10 -07:00
Jeff McCune
3d10f6bb60 [vsphere|compute] Merge tmandke VM list speedups
* tmandke-master:
  [vsphere|compute] Switch some attributes to lazyload
  [vsphere|compute] Bulk fetch all managed views VM properties

closes 
2013-04-04 22:55:45 -07:00
Tejas Ravindra Mandke
036a037074 [vsphere|compute] Switch some attributes to lazyload 2013-04-04 22:55:09 -07:00
Tejas Ravindra Mandke
88de0d008f [vsphere|compute] Bulk fetch all managed views VM properties 2013-04-04 22:55:04 -07:00
Jeff McCune
81b3242335 Merge branch 'aussielunix-vsphere_clone_virtual_machine_config_spec'
* aussielunix-vsphere_clone_virtual_machine_config_spec:
  (maint) Fixup whitespace
  [vsphere] allow setting ram and num of cpu when cloning

closes 
2013-04-04 22:10:49 -07:00
Jeff McCune
d56553d8c7 (maint) Fixup whitespace 2013-04-04 21:49:19 -07:00
Mick Pollard
460783d945 [vsphere] allow setting ram and num of cpu when cloning 2013-04-04 21:49:19 -07:00
geemus
6bcd8239e7 remove kyle rames from future contention for MVP 2013-04-04 15:39:33 -05:00
geemus
f22751e8ac Release 1.10.1 2013-04-04 15:38:12 -05:00
Wesley Beary
a270b69a23 Merge pull request from rubiojr/changelogs-update
ChangeLogs Update
2013-04-04 12:15:00 -07:00
Wesley Beary
f6e52d0455 Merge pull request from bvox/openstack-network-example
[openstack|network] added network/subnet/router related example
2013-04-04 12:13:16 -07:00
Sergio Rubio
5f424fb027 [openstack|network] added network/subnet/router related example 2013-04-04 19:17:05 +02:00
Sergio Rubio
9fd4482c85 [dreamhost|dns] added missing changelog 2013-04-04 19:00:02 +02:00
Sergio Rubio
0c33be3641 [openstack] added changelog 2013-04-04 18:56:52 +02:00
Sergio Rubio
9b61717209 [digitalocean|compute] Added changelog 2013-04-04 18:31:38 +02:00
Sergio Rubio
14489166fb [xenserver|compute] update changelog 2013-04-04 18:29:05 +02:00
Kyle Rames
452eeb0e09 Merge pull request from rackspace/boot_doc
[Rackspace] Revising Getting Started Documents
2013-04-04 04:09:10 -07:00
Ferran Rodenas
412a6cc3ae [openstack|compute] Add volume tests 2013-04-04 12:27:17 +02:00
Ferran Rodenas
8b84922ac7 [openstack|compute] Add volume method to server model 2013-04-04 00:14:54 +02:00