mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|go_grid] move go_grid compute to its own shared area (namespacing should probably be corrected)
This commit is contained in:
parent
fca3bdb4cd
commit
cfb88dc3fe
21 changed files with 7 additions and 7 deletions
|
@ -21,7 +21,7 @@ module Fog
|
||||||
require 'fog/compute/ecloud'
|
require 'fog/compute/ecloud'
|
||||||
Fog::Compute::Ecloud.new(attributes)
|
Fog::Compute::Ecloud.new(attributes)
|
||||||
when :gogrid
|
when :gogrid
|
||||||
require 'fog/compute/go_grid'
|
require 'fog/go_grid/compute'
|
||||||
Fog::Compute::GoGrid.new(attributes)
|
Fog::Compute::GoGrid.new(attributes)
|
||||||
when :linode
|
when :linode
|
||||||
require 'fog/linode/compute'
|
require 'fog/linode/compute'
|
||||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
||||||
|
|
||||||
extend Fog::Provider
|
extend Fog::Provider
|
||||||
|
|
||||||
service(:compute, 'compute/go_grid')
|
service(:compute, 'go_grid/compute')
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
||||||
requires :go_grid_api_key, :go_grid_shared_secret
|
requires :go_grid_api_key, :go_grid_shared_secret
|
||||||
recognizes :host, :path, :port, :scheme, :persistent
|
recognizes :host, :path, :port, :scheme, :persistent
|
||||||
|
|
||||||
model_path 'fog/compute/models/go_grid'
|
model_path 'fog/go_grid/models/compute'
|
||||||
model :image
|
model :image
|
||||||
collection :images
|
collection :images
|
||||||
model :server
|
model :server
|
||||||
|
@ -13,7 +13,7 @@ module Fog
|
||||||
model :password
|
model :password
|
||||||
collection :passwords
|
collection :passwords
|
||||||
|
|
||||||
request_path 'fog/compute/requests/go_grid'
|
request_path 'fog/go_grid/requests/compute'
|
||||||
request :common_lookup_list
|
request :common_lookup_list
|
||||||
request :grid_image_get
|
request :grid_image_get
|
||||||
request :grid_image_list
|
request :grid_image_list
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/compute/models/go_grid/image'
|
require 'fog/go_grid/models/compute/image'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Compute
|
module Compute
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/compute/models/go_grid/password'
|
require 'fog/go_grid/models/compute/password'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Compute
|
module Compute
|
|
@ -1,5 +1,5 @@
|
||||||
require 'fog/core/collection'
|
require 'fog/core/collection'
|
||||||
require 'fog/compute/models/go_grid/server'
|
require 'fog/go_grid/models/compute/server'
|
||||||
|
|
||||||
module Fog
|
module Fog
|
||||||
module Compute
|
module Compute
|
Loading…
Add table
Reference in a new issue