ops_manager_ui_drivers 2.22.1 → 2.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ops_manager_ui_drivers/version.rb +1 -1
- data/lib/ops_manager_ui_drivers/version17/api.rb +13 -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: d08cbb2a139c548f6d6004bf7bdf5b38fa016d0e
|
4
|
+
data.tar.gz: f4c994963ee6302950649ba718711572e7877d44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a195b9bc34ecec7ce0c0990de4e3ce81abaf638da24deae18396e476eb0fb17e9e2e575ad6d090c37c7315fee52b6afb8f42d72f8e3e2513bae442d0b5435d42
|
7
|
+
data.tar.gz: 7ebf9514e5d1eb2c4ac66f2bf802fde5a49276e79d21b89c1ca4c77c7448767bcf2540085521f48430b2a1336ba007ea90fc659b30bb367e9f59615e7184aa56
|
@@ -49,6 +49,19 @@ module OpsManagerUiDrivers
|
|
49
49
|
http.request(put('v0/staged/director/second_network', {second_network: {name: network_name}}.to_json, uaa_token.auth_header))
|
50
50
|
end
|
51
51
|
|
52
|
+
def most_recent_installation_log
|
53
|
+
all_installations = JSON.parse(
|
54
|
+
http.request(get('v0/installations', uaa_token.auth_header)).read_body
|
55
|
+
)['installations']
|
56
|
+
return if all_installations.empty?
|
57
|
+
|
58
|
+
most_recent_installation_id = all_installations.first['id']
|
59
|
+
installation_log_path = "v0/installations/#{most_recent_installation_id}/logs"
|
60
|
+
|
61
|
+
most_recent_installation_log = JSON.parse(http.request(get(installation_log_path, uaa_token.auth_header)).read_body)['logs']
|
62
|
+
most_recent_installation_log
|
63
|
+
end
|
64
|
+
|
52
65
|
private
|
53
66
|
def uaa_uri
|
54
67
|
if @host_uri.host == 'localhost' && @host_uri.port == 3000
|
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.22.
|
4
|
+
version: 2.22.2
|
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-07-
|
11
|
+
date: 2016-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|