zenoss_client 0.9.1 → 0.10.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 +5 -5
- data/.travis.yml +7 -8
- data/README.rdoc +0 -0
- data/VERSION +1 -1
- data/lib/zenoss/jsonapi/device_router.rb +17 -0
- data/test/fixtures/vcr_cassettes/6_2_1_initial_connection.yml +103 -16
- data/test/fixtures/vcr_cassettes/6_2_1_test_0012_remodels_a_device.yml +99 -0
- data/test/zenoss_client_test.rb +9 -0
- data/zenoss_client.gemspec +3 -3
- metadata +17 -106
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c64cb525b567ce659a11d844a5b2d5d4e5212bdc799d320fa3134e3e3beee4d1
|
4
|
+
data.tar.gz: 1a3de47b44a7b48662d2b8135179f158d1d7fe06d204e587a063af2dcc7ef6e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d2eeb2cdb2bd4db0e82b9888f6cc1d3d1c766f046bb87e4f6d7d5abc1297594136c1420cf438873b16ad3ee19e5cbf40367c1d9c869e9af76a0ebd44b0038f
|
7
|
+
data.tar.gz: 4f64c02de20bd54c98215cb93d0302f55d8b7f85e94ca65c676eb4ab240a7c935d2925ec0f93ce9904b3865959b1f9b7a67a26ac1f249fb2aec7e24cd69b9748
|
data/.travis.yml
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
language: ruby
|
2
2
|
script: bundle exec rake test
|
3
3
|
rvm:
|
4
|
-
-
|
5
|
-
- 2.0.0
|
4
|
+
- 2.0.0-p648
|
6
5
|
- 2.1.10
|
7
|
-
- 2.2.
|
8
|
-
- 2.3.
|
9
|
-
- 2.4.
|
10
|
-
- 2.5.
|
11
|
-
-
|
12
|
-
-
|
6
|
+
- 2.2.10
|
7
|
+
- 2.3.8
|
8
|
+
- 2.4.10
|
9
|
+
- 2.5.8
|
10
|
+
- 2.6.6
|
11
|
+
- 2.7.1
|
13
12
|
|
14
13
|
install:
|
15
14
|
- gem install bundler -v 1.17.3
|
data/README.rdoc
ADDED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.10.0
|
@@ -72,6 +72,23 @@ module Zenoss
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
# @param [String] uid required; device id in Zenoss
|
76
|
+
# @param [String] plugins takes a string. A plugin respresents a Modeler
|
77
|
+
# plugin such as cisco.snmp.Interfaces
|
78
|
+
# @param [Boolean] background whether to schedule a job in background
|
79
|
+
def remodel(uid, plugins = nil, background = false)
|
80
|
+
if @zenoss_version && @zenoss_version > '6'
|
81
|
+
data = {}
|
82
|
+
data[:deviceUid] = uid
|
83
|
+
data[:collectPlugins] = plugins || ''
|
84
|
+
data[:background] = background
|
85
|
+
json_request('DeviceRouter', 'remodel', [data])
|
86
|
+
else
|
87
|
+
raise ZenossError, 'remodel method on DeviceRouter is only allowed '\
|
88
|
+
'for version 6 and above'
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
75
92
|
# =============== Non-API Helper methods ===============
|
76
93
|
|
77
94
|
# This method will allow you to search for devices by name. If you put a partial name
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept:
|
13
13
|
- "*/*"
|
14
14
|
Date:
|
15
|
-
-
|
15
|
+
- Wed, 15 Apr 2020 20:38:47 GMT
|
16
16
|
Content-Type:
|
17
17
|
- application/x-www-form-urlencoded
|
18
18
|
Cookie: ''
|
@@ -26,7 +26,7 @@ http_interactions:
|
|
26
26
|
Content-Type:
|
27
27
|
- text/plain; charset=utf-8
|
28
28
|
Date:
|
29
|
-
-
|
29
|
+
- Wed, 15 Apr 2020 20:38:50 GMT
|
30
30
|
Location:
|
31
31
|
- "/zport/dmd?submitted=true"
|
32
32
|
Server: ''
|
@@ -41,7 +41,7 @@ http_interactions:
|
|
41
41
|
encoding: UTF-8
|
42
42
|
string: "/zport/dmd?submitted=true"
|
43
43
|
http_version:
|
44
|
-
recorded_at:
|
44
|
+
recorded_at: Wed, 15 Apr 2020 20:38:51 GMT
|
45
45
|
- request:
|
46
46
|
method: post
|
47
47
|
uri: http://localhost:8080/zport/dmd//zport/dmd?submitted=true
|
@@ -54,7 +54,7 @@ http_interactions:
|
|
54
54
|
Accept:
|
55
55
|
- "*/*"
|
56
56
|
Date:
|
57
|
-
-
|
57
|
+
- Wed, 15 Apr 2020 20:38:51 GMT
|
58
58
|
Content-Type:
|
59
59
|
- application/x-www-form-urlencoded
|
60
60
|
Cookie: ''
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
Content-Type:
|
69
69
|
- text/html; charset=utf-8
|
70
70
|
Date:
|
71
|
-
-
|
71
|
+
- Wed, 15 Apr 2020 20:38:51 GMT
|
72
72
|
Server: ''
|
73
73
|
Set-Cookie: ''
|
74
74
|
Strict-Transport-Security:
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
encoding: UTF-8
|
88
88
|
string: "\\n\\n <!DOCTYPE html>\\n<html>\\n"
|
89
89
|
http_version:
|
90
|
-
recorded_at:
|
90
|
+
recorded_at: Wed, 15 Apr 2020 20:38:52 GMT
|
91
91
|
- request:
|
92
92
|
method: post
|
93
93
|
uri: http://localhost:8080/zport/dmd/zport/dmd/device_router
|
@@ -100,7 +100,7 @@ http_interactions:
|
|
100
100
|
Accept:
|
101
101
|
- "*/*"
|
102
102
|
Date:
|
103
|
-
-
|
103
|
+
- Wed, 15 Apr 2020 20:38:52 GMT
|
104
104
|
Content-Type:
|
105
105
|
- application/json; charset=utf-8
|
106
106
|
Cookie: ''
|
@@ -112,7 +112,7 @@ http_interactions:
|
|
112
112
|
Content-Type:
|
113
113
|
- application/json
|
114
114
|
Date:
|
115
|
-
-
|
115
|
+
- Wed, 15 Apr 2020 20:38:54 GMT
|
116
116
|
Server: ''
|
117
117
|
Strict-Transport-Security:
|
118
118
|
- max-age=31536000
|
@@ -123,23 +123,110 @@ http_interactions:
|
|
123
123
|
X-Xss-Protection:
|
124
124
|
- 1; mode=block
|
125
125
|
Content-Length:
|
126
|
-
- '
|
126
|
+
- '309'
|
127
127
|
Set-Cookie: ''
|
128
128
|
body:
|
129
129
|
encoding: UTF-8
|
130
|
-
string: '{"uuid": "
|
130
|
+
string: '{"uuid": "a34caf64-2209-480c-96ed-dd94117ef7ac", "action": "DeviceRouter",
|
131
|
+
"result": {"new_jobs": [{"uuid": "b0c01851-394f-49a1-8547-acd02633194e", "description":
|
132
|
+
"Create UnitTestDevice under /Devices/Server", "uid": "/zport/dmd/JobManager"}],
|
133
|
+
"success": true}, "tid": 1, "type": "rpc", "method": "addDevice"}'
|
134
|
+
http_version:
|
135
|
+
recorded_at: Wed, 15 Apr 2020 20:38:54 GMT
|
136
|
+
- request:
|
137
|
+
method: post
|
138
|
+
uri: http://localhost:8080/zport/dmd/zport/dmd/device_router
|
139
|
+
body:
|
140
|
+
encoding: UTF-8
|
141
|
+
string: __ac_name=admin&__ac_password=zenoss&submitted=true&came_from=https%3A%2F%2Fhttp:://localhost:8080/zport/dmd%2Fzport%2Fdmd
|
142
|
+
headers:
|
143
|
+
User-Agent:
|
144
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.3 (2016-11-21))
|
145
|
+
Accept:
|
146
|
+
- "*/*"
|
147
|
+
Date:
|
148
|
+
- Wed, 15 Apr 2020 20:38:54 GMT
|
149
|
+
Content-Type:
|
150
|
+
- application/json; charset=utf-8
|
151
|
+
Cookie: ''
|
152
|
+
response:
|
153
|
+
status:
|
154
|
+
code: 200
|
155
|
+
message: OK
|
156
|
+
headers:
|
157
|
+
Content-Type:
|
158
|
+
- application/json
|
159
|
+
Date:
|
160
|
+
- Wed, 15 Apr 2020 20:38:54 GMT
|
161
|
+
Server: ''
|
162
|
+
Strict-Transport-Security:
|
163
|
+
- max-age=31536000
|
164
|
+
Vary:
|
165
|
+
- Accept-Encoding
|
166
|
+
X-Frame-Options:
|
167
|
+
- SAMEORIGIN
|
168
|
+
X-Xss-Protection:
|
169
|
+
- 1; mode=block
|
170
|
+
Content-Length:
|
171
|
+
- '197'
|
172
|
+
Set-Cookie: ''
|
173
|
+
body:
|
174
|
+
encoding: UTF-8
|
175
|
+
string: '{"uuid": "48c067ba-5c1e-4d81-aac0-3c49aadba9fc", "action": "DeviceRouter",
|
176
|
+
"result": {"totalCount": 0, "hash": "0", "success": true, "devices": []},
|
177
|
+
"tid": 2, "type": "rpc", "method": "getDevices"}'
|
178
|
+
http_version:
|
179
|
+
recorded_at: Wed, 15 Apr 2020 20:38:54 GMT
|
180
|
+
- request:
|
181
|
+
method: post
|
182
|
+
uri: http://localhost:8080/zport/dmd/zport/dmd/device_router
|
183
|
+
body:
|
184
|
+
encoding: UTF-8
|
185
|
+
string: __ac_name=admin&__ac_password=zenoss&submitted=true&came_from=https%3A%2F%2Fhttp:://localhost:8080/zport/dmd%2Fzport%2Fdmd
|
186
|
+
headers:
|
187
|
+
User-Agent:
|
188
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.3 (2016-11-21))
|
189
|
+
Accept:
|
190
|
+
- "*/*"
|
191
|
+
Date:
|
192
|
+
- Wed, 15 Apr 2020 20:39:09 GMT
|
193
|
+
Content-Type:
|
194
|
+
- application/json; charset=utf-8
|
195
|
+
Cookie: ''
|
196
|
+
response:
|
197
|
+
status:
|
198
|
+
code: 200
|
199
|
+
message: OK
|
200
|
+
headers:
|
201
|
+
Content-Type:
|
202
|
+
- application/json
|
203
|
+
Date:
|
204
|
+
- Wed, 15 Apr 2020 20:39:11 GMT
|
205
|
+
Server: ''
|
206
|
+
Strict-Transport-Security:
|
207
|
+
- max-age=31536000
|
208
|
+
Vary:
|
209
|
+
- Accept-Encoding
|
210
|
+
X-Frame-Options:
|
211
|
+
- SAMEORIGIN
|
212
|
+
X-Xss-Protection:
|
213
|
+
- 1; mode=block
|
214
|
+
Content-Length:
|
215
|
+
- '905'
|
216
|
+
Set-Cookie: ''
|
217
|
+
body:
|
218
|
+
encoding: UTF-8
|
219
|
+
string: '{"uuid": "91ffde13-d44b-4a5e-9846-2155070ba803", "action": "DeviceRouter",
|
131
220
|
"result": {"totalCount": 1, "hash": "1", "success": true, "devices": [{"ipAddressString":
|
132
221
|
null, "serialNumber": "", "pythonClass": "Products.ZenModel.Device", "hwManufacturer":
|
133
|
-
null, "collector": "
|
222
|
+
null, "collector": "localhost", "osModel": null, "productionState": 1000,
|
134
223
|
"systems": [], "priority": 3, "hwModel": null, "tagNumber": "", "osManufacturer":
|
135
|
-
null, "location": null, "groups": [
|
136
|
-
"path": "/Groups/BackboneDevices", "uuid": "65142f38-df6e-482e-a74d-ec825af8e058",
|
137
|
-
"name": "/BackboneDevices"}], "uid": "/zport/dmd/Devices/Server/devices/UnitTestDevice",
|
224
|
+
null, "location": null, "groups": [], "uid": "/zport/dmd/Devices/Server/devices/UnitTestDevice",
|
138
225
|
"ipAddress": null, "events": {"info": {"count": 0, "acknowledged_count": 0},
|
139
226
|
"clear": {"count": 0, "acknowledged_count": 0}, "warning": {"count": 0, "acknowledged_count":
|
140
227
|
0}, "critical": {"count": 0, "acknowledged_count": 0}, "error": {"count":
|
141
228
|
0, "acknowledged_count": 0}, "debug": {"count": 0, "acknowledged_count": 0}},
|
142
|
-
"name": "UnitTestDevice"}]}, "tid":
|
229
|
+
"name": "UnitTestDevice"}]}, "tid": 3, "type": "rpc", "method": "getDevices"}'
|
143
230
|
http_version:
|
144
|
-
recorded_at:
|
231
|
+
recorded_at: Wed, 15 Apr 2020 20:39:11 GMT
|
145
232
|
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,99 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:8080/zport/dmd/zport/dmd/device_router
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '[{"action":"DeviceRouter","method":"getDevices","data":[{"uid":"/zport/dmd/Devices","params":{"name":"UnitTestDevice"}}],"type":"rpc","tid":4}]'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.3 (2016-11-21))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Wed, 15 Apr 2020 20:39:11 GMT
|
16
|
+
Content-Type:
|
17
|
+
- application/json; charset=utf-8
|
18
|
+
Cookie: ''
|
19
|
+
response:
|
20
|
+
status:
|
21
|
+
code: 200
|
22
|
+
message: OK
|
23
|
+
headers:
|
24
|
+
Content-Type:
|
25
|
+
- application/json
|
26
|
+
Date:
|
27
|
+
- Wed, 15 Apr 2020 20:39:11 GMT
|
28
|
+
Server: ''
|
29
|
+
Strict-Transport-Security:
|
30
|
+
- max-age=31536000
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block
|
37
|
+
Content-Length:
|
38
|
+
- '905'
|
39
|
+
Set-Cookie: ''
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: '{"uuid": "d7e1f3b6-bff3-4ac0-b915-974e7b57bd24", "action": "DeviceRouter",
|
43
|
+
"result": {"totalCount": 1, "hash": "1", "success": true, "devices": [{"ipAddressString":
|
44
|
+
null, "serialNumber": "", "pythonClass": "Products.ZenModel.Device", "hwManufacturer":
|
45
|
+
null, "collector": "localhost", "osModel": null, "productionState": 1000,
|
46
|
+
"systems": [], "priority": 3, "hwModel": null, "tagNumber": "", "osManufacturer":
|
47
|
+
null, "location": null, "groups": [], "uid": "/zport/dmd/Devices/Server/devices/UnitTestDevice",
|
48
|
+
"ipAddress": null, "events": {"info": {"count": 0, "acknowledged_count": 0},
|
49
|
+
"clear": {"count": 0, "acknowledged_count": 0}, "warning": {"count": 0, "acknowledged_count":
|
50
|
+
0}, "critical": {"count": 0, "acknowledged_count": 0}, "error": {"count":
|
51
|
+
0, "acknowledged_count": 0}, "debug": {"count": 0, "acknowledged_count": 0}},
|
52
|
+
"name": "UnitTestDevice"}]}, "tid": 4, "type": "rpc", "method": "getDevices"}'
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 15 Apr 2020 20:39:11 GMT
|
55
|
+
- request:
|
56
|
+
method: post
|
57
|
+
uri: http://localhost:8080/zport/dmd/zport/dmd/device_router
|
58
|
+
body:
|
59
|
+
encoding: UTF-8
|
60
|
+
string: '[{"action":"DeviceRouter","method":"remodel","data":[{"deviceUid":"/zport/dmd/Devices/Server/devices/UnitTestDevice","collectPlugins":"","background":false}],"type":"rpc","tid":5}]'
|
61
|
+
headers:
|
62
|
+
User-Agent:
|
63
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.3 (2016-11-21))
|
64
|
+
Accept:
|
65
|
+
- "*/*"
|
66
|
+
Date:
|
67
|
+
- Wed, 15 Apr 2020 20:39:11 GMT
|
68
|
+
Content-Type:
|
69
|
+
- application/json; charset=utf-8
|
70
|
+
Cookie: ''
|
71
|
+
response:
|
72
|
+
status:
|
73
|
+
code: 200
|
74
|
+
message: OK
|
75
|
+
headers:
|
76
|
+
Content-Type:
|
77
|
+
- application/json
|
78
|
+
Date:
|
79
|
+
- Wed, 15 Apr 2020 20:40:46 GMT
|
80
|
+
Server: ''
|
81
|
+
Strict-Transport-Security:
|
82
|
+
- max-age=31536000
|
83
|
+
Vary:
|
84
|
+
- Accept-Encoding
|
85
|
+
X-Frame-Options:
|
86
|
+
- SAMEORIGIN
|
87
|
+
X-Xss-Protection:
|
88
|
+
- 1; mode=block
|
89
|
+
Content-Length:
|
90
|
+
- '166'
|
91
|
+
Set-Cookie: ''
|
92
|
+
body:
|
93
|
+
encoding: UTF-8
|
94
|
+
string: '{"uuid": "40e52e10-789f-4da0-b15a-b839dbce38ae", "action": "DeviceRouter",
|
95
|
+
"result": {"exitStatus": 0, "success": true}, "tid": 5, "type": "rpc", "method":
|
96
|
+
"remodel"}'
|
97
|
+
http_version:
|
98
|
+
recorded_at: Wed, 15 Apr 2020 20:40:46 GMT
|
99
|
+
recorded_with: VCR 4.0.0
|
data/test/zenoss_client_test.rb
CHANGED
@@ -158,6 +158,15 @@ describe Zenoss do
|
|
158
158
|
set_info.wont_be_empty
|
159
159
|
set_info['success'].must_equal true
|
160
160
|
end
|
161
|
+
|
162
|
+
it 'remodels a device' do
|
163
|
+
uid = @dev.uid
|
164
|
+
remodel = @zen.remodel(uid)
|
165
|
+
remodel.must_be_kind_of Hash
|
166
|
+
remodel.wont_be_empty
|
167
|
+
remodel['success'].must_equal true
|
168
|
+
remodel['exitStatus'].must_equal 0
|
169
|
+
end
|
161
170
|
end
|
162
171
|
end
|
163
172
|
|
data/zenoss_client.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.platform = Gem::Platform::RUBY
|
11
11
|
gem.rubyforge_project = nil
|
12
12
|
|
13
|
-
gem.authors = ['Dan Wanek', 'Ben Miller', 'Marek Skrobacki']
|
14
|
-
gem.email = ['dan.wanek@gmail.com', 'bjmllr@gmail.com', 'marek@skrobacki.uk']
|
13
|
+
gem.authors = ['Dan Wanek', 'Ben Miller', 'Marek Skrobacki', 'Taylor Etheredge']
|
14
|
+
gem.email = ['dan.wanek@gmail.com', 'bjmllr@gmail.com', 'marek@skrobacki.uk', 'taylor.etheredge@gmail.com']
|
15
15
|
gem.homepage = "http://github.com/RubyOpenSource/zenoss_client"
|
16
16
|
|
17
17
|
gem.summary = "A wrapper around the Zenoss JSON and REST APIs"
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
|
|
28
28
|
gem.rdoc_options = %w(-x test/ -x examples/)
|
29
29
|
gem.extra_rdoc_files = %w(README.textile COPYING.txt)
|
30
30
|
|
31
|
-
gem.required_ruby_version = '>=
|
31
|
+
gem.required_ruby_version = '>= 2.0.0-p648'
|
32
32
|
gem.add_runtime_dependency 'httpclient', '~> 2.0'
|
33
33
|
gem.add_runtime_dependency 'tzinfo', '~> 0.3.20'
|
34
34
|
gem.add_runtime_dependency 'json', '~> 1.5'
|
metadata
CHANGED
@@ -1,134 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zenoss_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Wanek
|
8
|
-
- Ben Miller
|
9
|
-
- Marek Skrobacki
|
10
8
|
autorequire:
|
11
9
|
bindir: bin
|
12
10
|
cert_chain: []
|
13
|
-
date:
|
11
|
+
date: 2020-06-10 00:00:00.000000000 Z
|
14
12
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: httpclient
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - "~>"
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '2.0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - "~>"
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: '2.0'
|
29
13
|
- !ruby/object:Gem::Dependency
|
30
14
|
name: tzinfo
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
32
|
-
requirements:
|
33
|
-
- - "~>"
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 0.3.20
|
36
|
-
type: :runtime
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - "~>"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.3.20
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: json
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '1.5'
|
50
|
-
type: :runtime
|
51
|
-
prerelease: false
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
53
|
-
requirements:
|
54
|
-
- - "~>"
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '1.5'
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: rake
|
59
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - ">="
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '0'
|
64
|
-
type: :development
|
65
|
-
prerelease: false
|
66
|
-
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: minitest
|
73
15
|
requirement: !ruby/object:Gem::Requirement
|
74
16
|
requirements:
|
75
17
|
- - ">="
|
76
18
|
- !ruby/object:Gem::Version
|
77
19
|
version: '0'
|
78
|
-
type: :
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: vcr
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - ">="
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '0'
|
92
|
-
type: :development
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '0'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: webmock
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - ">="
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0'
|
106
|
-
type: :development
|
20
|
+
type: :runtime
|
107
21
|
prerelease: false
|
108
22
|
version_requirements: !ruby/object:Gem::Requirement
|
109
23
|
requirements:
|
110
24
|
- - ">="
|
111
25
|
- !ruby/object:Gem::Version
|
112
26
|
version: '0'
|
113
|
-
description:
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
this gem (rdoc.info).
|
118
|
-
email:
|
119
|
-
- dan.wanek@gmail.com
|
120
|
-
- bjmllr@gmail.com
|
121
|
-
- marek@skrobacki.uk
|
27
|
+
description: " \tThis is a Ruby library for accessing Zenoss through its REST interface.
|
28
|
+
\ It is a work in progress and as functionality is testing\n\tit will be added.
|
29
|
+
\ For documentation on what the method calls do see the official Zenoss API docs.\n"
|
30
|
+
email: dan.wanek@gmail.com
|
122
31
|
executables: []
|
123
32
|
extensions: []
|
124
33
|
extra_rdoc_files:
|
125
|
-
- README.
|
34
|
+
- README.rdoc
|
126
35
|
- COPYING.txt
|
127
36
|
files:
|
128
37
|
- ".gitignore"
|
129
38
|
- ".travis.yml"
|
130
39
|
- COPYING.txt
|
131
40
|
- Gemfile
|
41
|
+
- README.rdoc
|
132
42
|
- README.textile
|
133
43
|
- Rakefile
|
134
44
|
- VERSION
|
@@ -207,18 +117,20 @@ files:
|
|
207
117
|
- test/fixtures/vcr_cassettes/6_2_1_test_0009_renames_the_device.yml
|
208
118
|
- test/fixtures/vcr_cassettes/6_2_1_test_0010_sets_info_for_a_device.yml
|
209
119
|
- test/fixtures/vcr_cassettes/6_2_1_test_0011_sets_info_for_a_device_on_a_device_object.yml
|
120
|
+
- test/fixtures/vcr_cassettes/6_2_1_test_0012_remodels_a_device.yml
|
210
121
|
- test/test_helper.rb
|
211
122
|
- test/zenoss_client_test.rb
|
212
123
|
- test/zenoss_model_device_test.rb
|
213
124
|
- tools/callZenossMethod.py
|
214
125
|
- zenoss_client.gemspec
|
215
|
-
homepage: http://github.com/
|
216
|
-
licenses:
|
217
|
-
- GPL-3.0
|
126
|
+
homepage: http://github.com/zenchild/zenoss_client
|
127
|
+
licenses: []
|
218
128
|
metadata: {}
|
219
|
-
post_install_message:
|
129
|
+
post_install_message: See README.rdoc
|
220
130
|
rdoc_options:
|
221
131
|
- "-x"
|
132
|
+
- wsdl/
|
133
|
+
- "-x"
|
222
134
|
- test/
|
223
135
|
- "-x"
|
224
136
|
- examples/
|
@@ -235,9 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
147
|
- !ruby/object:Gem::Version
|
236
148
|
version: '0'
|
237
149
|
requirements: []
|
238
|
-
|
239
|
-
rubygems_version: 2.5.2.3
|
150
|
+
rubygems_version: 3.0.8
|
240
151
|
signing_key:
|
241
152
|
specification_version: 4
|
242
|
-
summary: A
|
153
|
+
summary: A Ruby API for accessing Zenoss via REST
|
243
154
|
test_files: []
|