right_aws_api 0.3.2 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY +5 -0
- data/lib/cloud/aws/base/helpers/utils.rb +1 -0
- data/lib/cloud/aws/ec2/manager.rb +2 -2
- data/lib/right_aws_api_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70504cc6fa36ede740358a16562cd1df06e2726f
|
4
|
+
data.tar.gz: af7971a58c4ef781e66c44ea14aeb22818dbf10d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba205723733d46d6befcc751a67c02ad08fa95dcae7ab78e53f0921718efb300f8f68601ad99e99fb145ffa2909ea0aea7fa17c25d393d0c6fd082889fc0022e
|
7
|
+
data.tar.gz: 84001e30b3103ec1baea2b566bf387e3dbe46626f9d379d3dabd996df304a741b5cb3704c3cb66ae390016a2ac7397096b662b6a7a3cf1e8bf1aab3a7c085fa5
|
data/HISTORY
CHANGED
@@ -1,4 +1,9 @@
|
|
1
1
|
== current (not released as a gem yet)
|
2
|
+
== 2015-11-11, v0.3.4
|
3
|
+
- Add LimitRateExceeded to the retryable error types
|
4
|
+
== 2015-09-24, v0.3.3
|
5
|
+
- Add iam regex for AWS China
|
6
|
+
== ?? , v0.3.2
|
2
7
|
- Fixed:
|
3
8
|
- Route53
|
4
9
|
- All POST actions were broken because of the missing 'xmlns' attribute.
|
@@ -201,6 +201,7 @@ module RightScale
|
|
201
201
|
result =
|
202
202
|
case
|
203
203
|
when host[ /^iam\.amazonaws\.com$/i ] then ['iam', 'us-east-1']
|
204
|
+
when host[ /^iam\.amazonaws\.com\.cn$/i ] then ['iam', 'cn-north-1']
|
204
205
|
when host[ /^route53\.amazonaws\.com$/i ] then ['route53', 'us-east-1']
|
205
206
|
when host[ /^(.*\.)?s3\.amazonaws\.com$/i ] then ['s3', 'us-east-1']
|
206
207
|
when host[ /^(.*\.)?s3-external-1\.amazonaws\.com$/i ] then ['s3', 'us-east-1']
|
@@ -205,7 +205,7 @@ module RightScale
|
|
205
205
|
error_pattern :abort_on_timeout, :path => /Action=(Run|Create|Purchase)/
|
206
206
|
error_pattern :abort, :response => /InsufficientInstanceCapacity/i
|
207
207
|
error_pattern :retry, :response => /InternalError|Unavailable|Internal Server Error/i
|
208
|
-
error_pattern :retry, :response => /Please try again|no response from/i
|
208
|
+
error_pattern :retry, :response => /Please try again|no response from|Request limit exceeded/i
|
209
209
|
error_pattern :disconnect_and_abort, :code => /5..|403|408/
|
210
210
|
error_pattern :disconnect_and_abort, :code => /4../, :if => Proc.new{ |opts| rand(100) < 10 }
|
211
211
|
|
@@ -219,4 +219,4 @@ module RightScale
|
|
219
219
|
|
220
220
|
end
|
221
221
|
end
|
222
|
-
end
|
222
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_aws_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RightScale, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: right_cloud_api_base
|