ops_manager_ui_drivers 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6890069868254041b2527b22ef42719cb482d27f
4
- data.tar.gz: d8c9d974266b68bd166a312474f0eb3f40eea474
3
+ metadata.gz: 9e890a3afd7e4e227190c75f0c4d9383952e74b3
4
+ data.tar.gz: b1180e776c99b69fdcea72fc5bc9d2d41c64dfcb
5
5
  SHA512:
6
- metadata.gz: e6719d625f46df29354d637d8e4e12929f3a9afd95815e2daa82417ee8c790c652ee384335427fb077fcdbd9b9dbf128a2646f4835c8e462f5a2a80b369560a9
7
- data.tar.gz: 1e6c0064d22df12045262e95d915bb4a9126595d47bc4709c8875430958a52e9721ef182cb829ac661e36a89fc302ee541d6fd950e412b978907c26697c4a93d
6
+ metadata.gz: b72c9dbfdc3d16a8eee7154b54284da0c8b907def7fad8c3ceebf2313acb8784c1ac1d5d7e3edf2c70e76029dc8be1b1ecbc99abceb78cb90a2236da538ec7ac
7
+ data.tar.gz: 9c135b3ecfd131198fbefd542ad49076308caf994b9fad40b552ad85f8ca480e69643739a350022558574e4d6eb3d4dc628d04a63321025c2e81e2c7e2b8dbb0
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '1.19.0'
2
+ VERSION = '1.20.0'
3
3
  end
@@ -13,11 +13,9 @@ module OpsManagerUiDrivers
13
13
 
14
14
  add_availability_zones(test_settings.iaas_type, test_settings.ops_manager.availability_zones)
15
15
 
16
- assign_availability_zone(test_settings.iaas_type, test_settings.ops_manager.availability_zones)
17
-
18
16
  add_networks(test_settings)
19
17
 
20
- assign_networks(test_settings.ops_manager)
18
+ assign_azs_and_networks(test_settings.iaas_type, test_settings.ops_manager.availability_zones, test_settings.ops_manager)
21
19
 
22
20
  customize_resource_config(test_settings.ops_manager.resource_config)
23
21
 
@@ -90,22 +88,21 @@ module OpsManagerUiDrivers
90
88
  browser.click_on 'Save'
91
89
  end
92
90
 
93
- def assign_availability_zone(iaas_type, iaas_availability_zones)
94
- return unless iaas_availability_zones
91
+ def assign_azs_and_networks(iaas_type, iaas_availability_zones, ops_manager)
95
92
  case iaas_type
96
93
  when OpsManagerUiDrivers::AWS_IAAS_TYPE, OpsManagerUiDrivers::OPENSTACK_IAAS_TYPE
97
- browser.click_on 'Assign Availability Zones'
94
+ browser.click_on 'Assign AZs and Networks'
95
+ browser.select(ops_manager.networks[0]['name'], from: 'Network')
98
96
  browser.select(iaas_availability_zones.first['iaas_identifier'])
99
- browser.click_on 'Save'
100
97
  when OpsManagerUiDrivers::VSPHERE_IAAS_TYPE
101
- browser.click_on 'Assign Availability Zones'
98
+ browser.click_on 'Assign AZs and Networks'
99
+ browser.select(ops_manager.networks[0]['name'], from: 'Network')
102
100
  browser.select(iaas_availability_zones.first['name'])
103
- browser.click_on 'Save'
101
+ when OpsManagerUiDrivers::VCLOUD_IAAS_TYPE
102
+ browser.click_on 'Assign Networks'
103
+ browser.select(ops_manager.networks[0]['name'], from: 'Network')
104
104
  end
105
- end
106
-
107
- def assign_networks(ops_manager)
108
- assign_network(ops_manager.networks[0]['name'])
105
+ browser.click_on 'Save'
109
106
  end
110
107
 
111
108
  def customize_resource_config(resource_config)
@@ -115,13 +112,6 @@ module OpsManagerUiDrivers
115
112
  end
116
113
  end
117
114
 
118
- def assign_network(network_name)
119
- browser.click_on 'Assign Networks'
120
-
121
- browser.select(network_name, from: 'Network')
122
- browser.click_on 'Save'
123
- end
124
-
125
115
  def configure_vm_passwords(use_generated_passwords: true)
126
116
  browser.click_on 'Security'
127
117
  if use_generated_passwords
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_manager_ui_drivers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal, Inc.