ruby_aem_aws 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/conf/gem.yaml +1 -1
- data/lib/ruby_aem_aws/component/author.rb +7 -0
- data/lib/ruby_aem_aws/component/author_dispatcher.rb +10 -0
- data/lib/ruby_aem_aws/component/author_primary.rb +5 -0
- data/lib/ruby_aem_aws/component/author_publish_dispatcher.rb +5 -0
- data/lib/ruby_aem_aws/component/author_standby.rb +6 -1
- data/lib/ruby_aem_aws/component/chaos_monkey.rb +10 -0
- data/lib/ruby_aem_aws/component/orchestrator.rb +10 -0
- data/lib/ruby_aem_aws/component/publish.rb +10 -0
- data/lib/ruby_aem_aws/component/publish_dispatcher.rb +10 -0
- 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: 2119ea82ad020763efc3509aeb665994a52deed4
|
|
4
|
+
data.tar.gz: 5f497699aca45316d69e62a864d95e30fb7df1db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65a7e1bc47342df6ddc07f23e54d7b75f347264c9d8b69592caef796a49ac88f23b85a0564c006eea8393dd8458d5b98c8199ce82c863edf92fa98a0a60ae613
|
|
7
|
+
data.tar.gz: 40ff794bd6ecd741d1c4f19ac1c00555a49e1f5ff5103f5399c8b1004b3e25b1d4b283549ff63e45fd1f02188ec82f9a370178d257ac399cc6ea998a47645e19
|
data/conf/gem.yaml
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version: 1.
|
|
1
|
+
version: 1.3.0
|
|
@@ -59,6 +59,13 @@ module RubyAemAws
|
|
|
59
59
|
instance += 1 if author_standby.wait_until_healthy.eql? true
|
|
60
60
|
return true unless instance < 2
|
|
61
61
|
end
|
|
62
|
+
|
|
63
|
+
def get_tags
|
|
64
|
+
tags = []
|
|
65
|
+
tags.push(author_primary.get_tags)
|
|
66
|
+
tags.push(author_standby.get_tags)
|
|
67
|
+
tags
|
|
68
|
+
end
|
|
62
69
|
end
|
|
63
70
|
end
|
|
64
71
|
end
|
|
@@ -23,7 +23,7 @@ module RubyAemAws
|
|
|
23
23
|
# Interface to the AWS instance running the Author-Standby component of a full-set AEM stack.
|
|
24
24
|
class AuthorStandby
|
|
25
25
|
attr_reader :descriptor, :ec2_resource, :cloud_watch_client, :cloud_watch_log_client
|
|
26
|
-
include
|
|
26
|
+
include AbstractSingleComponent
|
|
27
27
|
include AbstractSnapshot
|
|
28
28
|
include HealthyStateVerifier
|
|
29
29
|
include MetricVerifier
|
|
@@ -52,6 +52,11 @@ module RubyAemAws
|
|
|
52
52
|
instance.terminate
|
|
53
53
|
instance.wait_until_terminated
|
|
54
54
|
end
|
|
55
|
+
|
|
56
|
+
def get_tags
|
|
57
|
+
instance = get_instance
|
|
58
|
+
instance.tags
|
|
59
|
+
end
|
|
55
60
|
end
|
|
56
61
|
end
|
|
57
62
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_aem_aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shine Solutions
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|