ops_manager_ui_drivers 2.26.0 → 2.27.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/lib/ops_manager_ui_drivers.rb +1 -0
- data/lib/ops_manager_ui_drivers/version.rb +1 -1
- data/lib/ops_manager_ui_drivers/version17/settings.rb +0 -43
- data/lib/ops_manager_ui_drivers/version18/ops_manager_director.rb +12 -0
- data/lib/ops_manager_ui_drivers/version18/settings.rb +49 -2
- 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: 47caad323b3b3f14bbccda671f0695c4f63f2527
|
|
4
|
+
data.tar.gz: d21608163c229d5954ccd66430097aefbf6d97ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4402b7e5994408430c439f9708f4fc2cdaf1300da6fe2d2f34ac3c03c0fe7557955647a329d4613515790289d38b044a278fd1d758c8e77a3bb45c56e25c5f20
|
|
7
|
+
data.tar.gz: c70d26f936b2c730a29b5915667663eec084a384a52eb46389ebdd16fa8434a05a7cb95970f945b9a902f818468323e673184d467c0b934d03b024aba75b84d8
|
|
@@ -151,49 +151,6 @@ module OpsManagerUiDrivers
|
|
|
151
151
|
}
|
|
152
152
|
end
|
|
153
153
|
end
|
|
154
|
-
|
|
155
|
-
class Google
|
|
156
|
-
def self.works_with?(iaas_type)
|
|
157
|
-
iaas_type == 'google'
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
def initialize(test_settings)
|
|
161
|
-
@test_settings = test_settings
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
def iaas_configuration_fields
|
|
165
|
-
{
|
|
166
|
-
'project' => @test_settings.dig('ops_manager', 'google', 'project'),
|
|
167
|
-
'region' => @test_settings.dig('ops_manager', 'google', 'region'),
|
|
168
|
-
'ssh_private_key' => @test_settings.dig('ops_manager', 'google', 'ssh_private_key'),
|
|
169
|
-
}
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
def advanced_infrastructure_config_fields
|
|
173
|
-
{
|
|
174
|
-
}
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
class Azure
|
|
179
|
-
def self.works_with?(iaas_type)
|
|
180
|
-
iaas_type == 'azure'
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
def initialize(test_settings)
|
|
184
|
-
@test_settings = test_settings
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
def iaas_configuration_fields
|
|
188
|
-
{
|
|
189
|
-
}
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
def advanced_infrastructure_config_fields
|
|
193
|
-
{
|
|
194
|
-
}
|
|
195
|
-
end
|
|
196
|
-
end
|
|
197
154
|
end
|
|
198
155
|
end
|
|
199
156
|
end
|
|
@@ -78,6 +78,18 @@ module OpsManagerUiDrivers
|
|
|
78
78
|
save_form
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
+
|
|
82
|
+
def assign_azs_and_networks(iaas_type, iaas_availability_zones, ops_manager)
|
|
83
|
+
case iaas_type
|
|
84
|
+
when OpsManagerUiDrivers::AZURE_IAAS_TYPE
|
|
85
|
+
browser.click_on 'Assign Networks'
|
|
86
|
+
browser.select(ops_manager.dig('networks', 0, 'name'), from: 'Network')
|
|
87
|
+
browser.click_on 'Save'
|
|
88
|
+
else
|
|
89
|
+
super
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
81
93
|
def save_form(validate: true)
|
|
82
94
|
browser.click_on 'Save'
|
|
83
95
|
|
|
@@ -25,10 +25,57 @@ module OpsManagerUiDrivers
|
|
|
25
25
|
class OpenStack < Version17::Settings::OpenStack
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
-
class Google
|
|
28
|
+
class Google
|
|
29
|
+
def self.works_with?(iaas_type)
|
|
30
|
+
iaas_type == 'google'
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def initialize(test_settings)
|
|
34
|
+
@test_settings = test_settings
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def iaas_configuration_fields
|
|
38
|
+
{
|
|
39
|
+
'project' => @test_settings.dig('ops_manager', 'google', 'project'),
|
|
40
|
+
'region' => @test_settings.dig('ops_manager', 'google', 'region'),
|
|
41
|
+
'ssh_private_key' => @test_settings.dig('ops_manager', 'google', 'ssh_private_key'),
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def advanced_infrastructure_config_fields
|
|
46
|
+
{
|
|
47
|
+
}
|
|
48
|
+
end
|
|
29
49
|
end
|
|
30
50
|
|
|
31
|
-
class Azure
|
|
51
|
+
class Azure
|
|
52
|
+
def self.works_with?(iaas_type)
|
|
53
|
+
iaas_type == 'azure'
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
def initialize(test_settings)
|
|
57
|
+
@test_settings = test_settings
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def iaas_configuration_fields
|
|
61
|
+
{
|
|
62
|
+
'subscription_id' => @test_settings.dig('ops_manager', 'azure', 'subscription_id'),
|
|
63
|
+
'tenant_id' => @test_settings.dig('ops_manager', 'azure', 'tenant_id'),
|
|
64
|
+
'client_id' => @test_settings.dig('ops_manager', 'azure', 'client_id'),
|
|
65
|
+
'client_secret' => @test_settings.dig('ops_manager', 'azure', 'client_secret'),
|
|
66
|
+
'resource_group_name' => @test_settings.dig('ops_manager', 'azure', 'resource_group_name'),
|
|
67
|
+
'bosh_storage_account_name' => @test_settings.dig('ops_manager', 'azure', 'bosh_storage_account_name'),
|
|
68
|
+
'deployments_storage_account_name' => @test_settings.dig('ops_manager', 'azure', 'deployments_storage_account_name'),
|
|
69
|
+
'default_security_group' => @test_settings.dig('ops_manager', 'azure', 'default_security_group'),
|
|
70
|
+
'ssh_public_key' => @test_settings.dig('ops_manager', 'azure', 'ssh_public_key'),
|
|
71
|
+
'ssh_private_key' => @test_settings.dig('ops_manager', 'azure', 'ssh_private_key'),
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def advanced_infrastructure_config_fields
|
|
76
|
+
{
|
|
77
|
+
}
|
|
78
|
+
end
|
|
32
79
|
end
|
|
33
80
|
end
|
|
34
81
|
end
|
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.
|
|
4
|
+
version: 2.27.0
|
|
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-08-
|
|
11
|
+
date: 2016-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|