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

[cdn|aws] move aws cdn to its own shared area (namespacing should probably be corrected)

This commit is contained in:
geemus 2011-08-24 14:20:21 -05:00
parent 0e5fe57e3d
commit 2abb668040
21 changed files with 14 additions and 14 deletions

View file

@ -6,7 +6,7 @@ module Fog
extend Fog::Provider extend Fog::Provider
service(:auto_scaling, 'aws/auto_scaling') service(:auto_scaling, 'aws/auto_scaling')
service(:cdn, 'cdn/aws') service(:cdn, 'aws/cdn')
service(:compute, 'compute/aws') service(:compute, 'compute/aws')
service(:cloud_formation, 'aws/cloud_formation') service(:cloud_formation, 'aws/cloud_formation')
service(:cloud_watch, 'aws/cloud_watch') service(:cloud_watch, 'aws/cloud_watch')

View file

@ -5,9 +5,9 @@ module Fog
requires :aws_access_key_id, :aws_secret_access_key requires :aws_access_key_id, :aws_secret_access_key
recognizes :host, :path, :port, :scheme, :version, :persistent recognizes :host, :path, :port, :scheme, :version, :persistent
model_path 'fog/cdn/models/aws' model_path 'fog/aws/cdn/models'
request_path 'fog/cdn/requests/aws' request_path 'fog/aws/requests/cdn'
request 'delete_distribution' request 'delete_distribution'
request 'delete_streaming_distribution' request 'delete_streaming_distribution'
request 'get_distribution' request 'get_distribution'

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/distribution' require 'fog/aws/parsers/cdn/distribution'
# Get information about a distribution from CloudFront # Get information about a distribution from CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/get_distribution_list' require 'fog/aws/parsers/cdn/get_distribution_list'
# List information about distributions in CloudFront # List information about distributions in CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/get_invalidation_list' require 'fog/aws/parsers/cdn/get_invalidation_list'
# ==== Parameters # ==== Parameters
# * options<~Hash> - config arguments for list. Defaults to {}. # * options<~Hash> - config arguments for list. Defaults to {}.

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/streaming_distribution' require 'fog/aws/parsers/cdn/streaming_distribution'
# Get information about a streaming distribution from CloudFront # Get information about a streaming distribution from CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/get_streaming_distribution_list' require 'fog/aws/parsers/cdn/get_streaming_distribution_list'
# List information about distributions in CloudFront # List information about distributions in CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/distribution' require 'fog/aws/parsers/cdn/distribution'
# create a new distribution in CloudFront # create a new distribution in CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/post_invalidation' require 'fog/aws/parsers/cdn/post_invalidation'
# List information about distributions in CloudFront # List information about distributions in CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/streaming_distribution' require 'fog/aws/parsers/cdn/streaming_distribution'
# create a new streaming distribution in CloudFront # create a new streaming distribution in CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/distribution' require 'fog/aws/parsers/cdn/distribution'
# update a distribution in CloudFront # update a distribution in CloudFront
# #

View file

@ -3,7 +3,7 @@ module Fog
class AWS class AWS
class Real class Real
require 'fog/cdn/parsers/aws/streaming_distribution' require 'fog/aws/parsers/cdn/streaming_distribution'
# update a streaming distribution in CloudFront # update a streaming distribution in CloudFront
# #

View file

@ -9,7 +9,7 @@ module Fog
attributes = attributes.dup # prevent delete from having side effects attributes = attributes.dup # prevent delete from having side effects
case provider = attributes.delete(:provider).to_s.downcase.to_sym case provider = attributes.delete(:provider).to_s.downcase.to_sym
when :aws when :aws
require 'fog/cdn/aws' require 'fog/aws/cdn'
Fog::CDN::AWS.new(attributes) Fog::CDN::AWS.new(attributes)
when :rackspace when :rackspace
require 'fog/cdn/rackspace' require 'fog/cdn/rackspace'