ops_manager_ui_drivers 2.1.7 → 2.1.8
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ac723e55c3354a630ca7a2148462a2b8fd8cbe9
|
4
|
+
data.tar.gz: 3275415a1699e8efcfab686d615908ed8b244260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2f6528cd898dc5365607f584c170feb1f30cd875337bad916e71d23792ad07486c9f481e3fa765f765ef814589d35207a43395fe2d28553dff739525c6df018
|
7
|
+
data.tar.gz: 61f24d522a0e7289c45bf778a840b6098b1c284a07c059ddafa745e82c8e342f9ff072f15a27f3d6c43825a555ae26c1da23ea7ef67c61acd8eb2b0a7f8e6dfe
|
@@ -39,6 +39,20 @@ module OpsManagerUiDrivers
|
|
39
39
|
vm.resourcePool.name
|
40
40
|
end
|
41
41
|
|
42
|
+
def az_name_for_job_in_az(job_name, vpc_id, az_guid)
|
43
|
+
job_status = job_status_in_az("#{job_name}-partition-#{az_guid}", az_guid)
|
44
|
+
|
45
|
+
job_ip = job_status.ips.fetch(0)
|
46
|
+
|
47
|
+
ec2 = ::AWS::EC2.new # creds initialized in TestSettings::Renderer::SettingsFetcher::AWSSettings.initialize
|
48
|
+
|
49
|
+
found_instance = ec2.instances.find do |instance|
|
50
|
+
instance.private_ip_address == job_ip && instance.vpc_id == vpc_id && instance.status == :running
|
51
|
+
end
|
52
|
+
|
53
|
+
found_instance.availability_zone if found_instance
|
54
|
+
end
|
55
|
+
|
42
56
|
private
|
43
57
|
|
44
58
|
attr_reader :browser, :product_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_manager_ui_drivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|