arborist 0.0.1.pre20160106113421
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 +7 -0
- data/.document +4 -0
- data/.simplecov +9 -0
- data/ChangeLog +417 -0
- data/Events.md +20 -0
- data/History.md +4 -0
- data/LICENSE +29 -0
- data/Manifest.txt +72 -0
- data/Monitors.md +141 -0
- data/Nodes.md +0 -0
- data/Observers.md +72 -0
- data/Protocol.md +214 -0
- data/README.md +75 -0
- data/Rakefile +81 -0
- data/TODO.md +24 -0
- data/bin/amanagerd +10 -0
- data/bin/amonitord +12 -0
- data/bin/aobserverd +12 -0
- data/lib/arborist.rb +182 -0
- data/lib/arborist/client.rb +191 -0
- data/lib/arborist/event.rb +61 -0
- data/lib/arborist/event/node_acked.rb +18 -0
- data/lib/arborist/event/node_delta.rb +20 -0
- data/lib/arborist/event/node_matching.rb +34 -0
- data/lib/arborist/event/node_update.rb +19 -0
- data/lib/arborist/event/sys_reloaded.rb +15 -0
- data/lib/arborist/exceptions.rb +21 -0
- data/lib/arborist/manager.rb +508 -0
- data/lib/arborist/manager/event_publisher.rb +97 -0
- data/lib/arborist/manager/tree_api.rb +207 -0
- data/lib/arborist/mixins.rb +363 -0
- data/lib/arborist/monitor.rb +377 -0
- data/lib/arborist/monitor/socket.rb +163 -0
- data/lib/arborist/monitor_runner.rb +217 -0
- data/lib/arborist/node.rb +700 -0
- data/lib/arborist/node/host.rb +87 -0
- data/lib/arborist/node/root.rb +60 -0
- data/lib/arborist/node/service.rb +112 -0
- data/lib/arborist/observer.rb +176 -0
- data/lib/arborist/observer/action.rb +125 -0
- data/lib/arborist/observer/summarize.rb +105 -0
- data/lib/arborist/observer_runner.rb +181 -0
- data/lib/arborist/subscription.rb +82 -0
- data/spec/arborist/client_spec.rb +282 -0
- data/spec/arborist/event/node_update_spec.rb +71 -0
- data/spec/arborist/event_spec.rb +64 -0
- data/spec/arborist/manager/event_publisher_spec.rb +66 -0
- data/spec/arborist/manager/tree_api_spec.rb +458 -0
- data/spec/arborist/manager_spec.rb +442 -0
- data/spec/arborist/mixins_spec.rb +195 -0
- data/spec/arborist/monitor/socket_spec.rb +195 -0
- data/spec/arborist/monitor_runner_spec.rb +152 -0
- data/spec/arborist/monitor_spec.rb +251 -0
- data/spec/arborist/node/host_spec.rb +104 -0
- data/spec/arborist/node/root_spec.rb +29 -0
- data/spec/arborist/node/service_spec.rb +98 -0
- data/spec/arborist/node_spec.rb +552 -0
- data/spec/arborist/observer/action_spec.rb +205 -0
- data/spec/arborist/observer/summarize_spec.rb +294 -0
- data/spec/arborist/observer_spec.rb +146 -0
- data/spec/arborist/subscription_spec.rb +71 -0
- data/spec/arborist_spec.rb +146 -0
- data/spec/data/monitors/pings.rb +80 -0
- data/spec/data/monitors/port_checks.rb +27 -0
- data/spec/data/monitors/system_resources.rb +30 -0
- data/spec/data/monitors/web_services.rb +17 -0
- data/spec/data/nodes/duir.rb +20 -0
- data/spec/data/nodes/localhost.rb +15 -0
- data/spec/data/nodes/sidonie.rb +29 -0
- data/spec/data/nodes/yevaud.rb +26 -0
- data/spec/data/observers/auditor.rb +23 -0
- data/spec/data/observers/webservices.rb +18 -0
- data/spec/spec_helper.rb +117 -0
- metadata +368 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9556233dcdad66412d5cabd6df2a7f3235dc616d
|
4
|
+
data.tar.gz: 04d28c6e8168ff42793194506fa13c6a3261ba11
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a257132168202d1b7540286aad139cf52f3052924f64af76192ea65244ed591aff0dfc28241ee4e17497ab399b68639478e6200943757321b2a73c71fbd619fc
|
7
|
+
data.tar.gz: c027d0fad82b687ae3d3f56335f7d81f50818f964a0d659b14bef3697124539efccd74e6dd72434bae896d3a30f508c411e36c113c0c8c61a55500ae8d1ab3d2
|
data/.document
ADDED
data/.simplecov
ADDED
data/ChangeLog
ADDED
@@ -0,0 +1,417 @@
|
|
1
|
+
2015-12-16 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* Observers.md, bin/amonitord, bin/aobserverd,
|
4
|
+
lib/arborist/observer.rb, lib/arborist/observer/action.rb,
|
5
|
+
lib/arborist/observer/summarize.rb, lib/arborist/observer_runner.rb,
|
6
|
+
spec/arborist/observer/action_spec.rb,
|
7
|
+
spec/arborist/observer/summarize_spec.rb,
|
8
|
+
spec/arborist/observer_spec.rb, spec/data/observers/auditor.rb:
|
9
|
+
Add Observer#summarize actions
|
10
|
+
* * * Hook Action and Summary into Observers
|
11
|
+
[335823f98550] [github/master, tip]
|
12
|
+
|
13
|
+
2015-12-14 Michael Granger <ged@FaerieMUD.org>
|
14
|
+
|
15
|
+
* lib/arborist/manager/event_publisher.rb:
|
16
|
+
Break the #register retry loop
|
17
|
+
[d784b06e615d]
|
18
|
+
|
19
|
+
2015-12-11 Michael Granger <ged@FaerieMUD.org>
|
20
|
+
|
21
|
+
* .hgignore, Observers.md, Protocol.md, TODO.md,
|
22
|
+
lib/arborist/manager.rb, lib/arborist/observer.rb,
|
23
|
+
lib/arborist/observer/action.rb, lib/arborist/observer_runner.rb,
|
24
|
+
spec/arborist/observer/action_spec.rb:
|
25
|
+
Implement count and time thresholds on Observer actions
|
26
|
+
[88e5b037232f]
|
27
|
+
|
28
|
+
2015-12-09 Michael Granger <ged@FaerieMUD.org>
|
29
|
+
|
30
|
+
* Observers.md, bin/aobserverd, lib/arborist.rb,
|
31
|
+
lib/arborist/client.rb, lib/arborist/event.rb,
|
32
|
+
lib/arborist/event/node_acked.rb, lib/arborist/event/node_delta.rb,
|
33
|
+
lib/arborist/event/node_matching.rb,
|
34
|
+
lib/arborist/event/node_update.rb, lib/arborist/manager.rb,
|
35
|
+
lib/arborist/manager/event_publisher.rb,
|
36
|
+
lib/arborist/monitor/socket.rb, lib/arborist/node.rb,
|
37
|
+
lib/arborist/node/service.rb, lib/arborist/observer.rb,
|
38
|
+
lib/arborist/observer_runner.rb, lib/arborist/subscription.rb,
|
39
|
+
spec/arborist/client_spec.rb,
|
40
|
+
spec/arborist/event/node_update_spec.rb,
|
41
|
+
spec/arborist/event_spec.rb,
|
42
|
+
spec/arborist/manager/event_publisher_spec.rb,
|
43
|
+
spec/arborist/manager/tree_api_spec.rb,
|
44
|
+
spec/arborist/manager_spec.rb, spec/arborist/observer_spec.rb,
|
45
|
+
spec/arborist/subscription_spec.rb, spec/data/nodes/localhost.rb,
|
46
|
+
spec/data/observers/auditor.rb, spec/data/observers/webservices.rb,
|
47
|
+
spec/spec_helper.rb:
|
48
|
+
Add Observer class
|
49
|
+
* * * Refactor publication responsibility into Subscription
|
50
|
+
[fddcbace9b6d]
|
51
|
+
|
52
|
+
2015-12-07 Michael Granger <ged@FaerieMUD.org>
|
53
|
+
|
54
|
+
* lib/arborist/node.rb:
|
55
|
+
Allow single filename arguments to Node.each_in as with Monitor et.
|
56
|
+
al.
|
57
|
+
[b675468ea2d3]
|
58
|
+
|
59
|
+
* lib/arborist/monitor.rb:
|
60
|
+
Fix a constant name in monitor.rb.
|
61
|
+
[3fc70d8200e5]
|
62
|
+
|
63
|
+
* lib/arborist/monitor/socket.rb,
|
64
|
+
spec/arborist/monitor/socket_spec.rb:
|
65
|
+
Fix the update data and error handling in the socket monitor
|
66
|
+
[a552217db04b]
|
67
|
+
|
68
|
+
2015-12-05 Michael Granger <ged@FaerieMUD.org>
|
69
|
+
|
70
|
+
* lib/arborist/monitor/socket.rb,
|
71
|
+
spec/arborist/monitor/socket_spec.rb,
|
72
|
+
spec/data/monitors/port_checks.rb:
|
73
|
+
Add initial TCP socket monitor logic class
|
74
|
+
[a93e4f9cc81c]
|
75
|
+
|
76
|
+
2015-12-03 Michael Granger <ged@FaerieMUD.org>
|
77
|
+
|
78
|
+
* lib/arborist/node.rb, lib/arborist/node/host.rb,
|
79
|
+
lib/arborist/node/service.rb, spec/arborist/node/host_spec.rb,
|
80
|
+
spec/arborist/node/service_spec.rb, spec/arborist/node_spec.rb,
|
81
|
+
spec/spec_helper.rb:
|
82
|
+
Fix some node filtering issues and improve Node#inspect
|
83
|
+
[9f03e5ab6b67]
|
84
|
+
|
85
|
+
* lib/arborist/mixins.rb, spec/arborist/mixins_spec.rb:
|
86
|
+
Add future? and past? to TimeRefinements
|
87
|
+
[5395744f5005]
|
88
|
+
|
89
|
+
2015-12-02 Michael Granger <ged@FaerieMUD.org>
|
90
|
+
|
91
|
+
* Monitors.md, lib/arborist/monitor.rb, spec/arborist/monitor_spec.rb:
|
92
|
+
Make Monitor#exec accept any object that implements #run
|
93
|
+
[38cf9a76d080]
|
94
|
+
|
95
|
+
* .hgignore, Monitors.md, lib/arborist/monitor.rb,
|
96
|
+
spec/arborist/monitor_spec.rb:
|
97
|
+
Allow monitor exec to take a Module too
|
98
|
+
[f9b1e2534a0b]
|
99
|
+
|
100
|
+
2015-11-16 Michael Granger <ged@FaerieMUD.org>
|
101
|
+
|
102
|
+
* .gems, .tm_properties, Monitors.md, Protocol.md, bin/amonitord,
|
103
|
+
experiments/modcontext-instance-eval.rb, experiments/pipe-cat.rb,
|
104
|
+
lib/arborist/client.rb, lib/arborist/monitor.rb,
|
105
|
+
spec/arborist/manager_spec.rb, spec/arborist/monitor_spec.rb,
|
106
|
+
spec/data/monitors/pings.rb, spec/data/monitors/web_services.rb,
|
107
|
+
spec/spec_helper.rb:
|
108
|
+
Rewrote monitor strategy
|
109
|
+
[1c67662ec4f3]
|
110
|
+
|
111
|
+
2015-10-14 Michael Granger <ged@FaerieMUD.org>
|
112
|
+
|
113
|
+
* .gems, Monitors.md, Protocol.md, lib/arborist/manager.rb,
|
114
|
+
lib/arborist/monitor.rb, spec/data/monitors/pings.rb,
|
115
|
+
spec/data/observers/webservices.rb:
|
116
|
+
Change the execution strategy used for monitors/observers.
|
117
|
+
|
118
|
+
Update docs/examples with the new mechanism
|
119
|
+
[979179fac69a]
|
120
|
+
|
121
|
+
2015-10-07 Mahlon E. Smith <mahlon@martini.nu>
|
122
|
+
|
123
|
+
* .gems, Rakefile, experiments/arborist.schema, experiments/nodes-
|
124
|
+
from-ldap.rb, lib/arborist/manager.rb:
|
125
|
+
Checkpoint a LDAP sourced node builder.
|
126
|
+
[0bdf779138c4]
|
127
|
+
|
128
|
+
2015-09-10 Michael Granger <ged@FaerieMUD.org>
|
129
|
+
|
130
|
+
* lib/arborist/node.rb, spec/arborist_spec.rb, spec/spec_helper.rb:
|
131
|
+
Only use the `spec/data/nodes` directory for loading test nodes
|
132
|
+
[43882cef9f1f]
|
133
|
+
|
134
|
+
2015-09-09 Michael Granger <ged@FaerieMUD.org>
|
135
|
+
|
136
|
+
* Observers.md, lib/arborist/client.rb, lib/arborist/event.rb,
|
137
|
+
lib/arborist/event/sys_reloaded.rb, lib/arborist/manager.rb,
|
138
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/node.rb,
|
139
|
+
lib/arborist/subscription.rb, spec/arborist/client_spec.rb,
|
140
|
+
spec/arborist/event_spec.rb, spec/arborist/manager/tree_api_spec.rb,
|
141
|
+
spec/arborist/manager_spec.rb, spec/arborist/node_spec.rb,
|
142
|
+
spec/arborist/subscription_spec.rb, spec/data/nodes/sidonie.rb,
|
143
|
+
spec/data/observers/webservices.rb:
|
144
|
+
Checkpoint commit
|
145
|
+
[2e629096ee55]
|
146
|
+
|
147
|
+
2015-08-20 Michael Granger <ged@FaerieMUD.org>
|
148
|
+
|
149
|
+
* Rakefile, arborist.gemspec:
|
150
|
+
Add missing author to the gemspec.
|
151
|
+
[013f9be18f9f]
|
152
|
+
|
153
|
+
* Events.md, Manifest.txt, Observers.md, Rakefile, arborist.gemspec,
|
154
|
+
lib/arborist.rb, lib/arborist/event.rb,
|
155
|
+
lib/arborist/event/node_acked.rb, lib/arborist/event/node_delta.rb,
|
156
|
+
lib/arborist/event/node_update.rb, lib/arborist/manager.rb,
|
157
|
+
lib/arborist/manager/event_publisher.rb,
|
158
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/node.rb,
|
159
|
+
lib/arborist/node/root.rb, lib/arborist/subscription.rb,
|
160
|
+
spec/arborist/event/node_update_spec.rb,
|
161
|
+
spec/arborist/event_spec.rb,
|
162
|
+
spec/arborist/manager/event_publisher_spec.rb,
|
163
|
+
spec/arborist/manager/tree_api_spec.rb,
|
164
|
+
spec/arborist/manager_spec.rb, spec/arborist/node/root_spec.rb,
|
165
|
+
spec/arborist/node_spec.rb, spec/arborist/subscription_spec.rb,
|
166
|
+
spec/spec_helper.rb:
|
167
|
+
Add basic subscriptions, flesh out events.
|
168
|
+
[6c8636097d37]
|
169
|
+
|
170
|
+
2015-07-20 Michael Granger <ged@FaerieMUD.org>
|
171
|
+
|
172
|
+
* Events.md, Manifest.txt, Observers.md, lib/arborist.rb,
|
173
|
+
lib/arborist/event.rb, lib/arborist/manager.rb,
|
174
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/node.rb,
|
175
|
+
spec/arborist/client_spec.rb,
|
176
|
+
spec/arborist/manager/event_publisher_spec.rb,
|
177
|
+
spec/arborist/manager/tree_api_spec.rb,
|
178
|
+
spec/arborist/manager_spec.rb, spec/arborist/node_spec.rb:
|
179
|
+
Start work on adding node update events
|
180
|
+
|
181
|
+
- Simplify event class (no need for pluggability yet)
|
182
|
+
- Refactor some of the tree API code with too much intimate knowledge
|
183
|
+
of the manager and nodes up into the manager. This is also how the
|
184
|
+
manager will be able to do event propagation from Tree API calls.
|
185
|
+
- Add event-generation to Node#update.
|
186
|
+
- Make the Tree API fetch always return Hash values for consistency
|
187
|
+
[af63d56deafa]
|
188
|
+
|
189
|
+
2015-07-15 Michael Granger <ged@FaerieMUD.org>
|
190
|
+
|
191
|
+
* lib/arborist.rb, lib/arborist/manager.rb,
|
192
|
+
spec/arborist/client_spec.rb,
|
193
|
+
spec/arborist/manager/tree_api_spec.rb,
|
194
|
+
spec/arborist/manager_spec.rb, spec/arborist/monitor_runner_spec.rb,
|
195
|
+
spec/arborist_spec.rb:
|
196
|
+
Fix a spec problem with trying to use two ZMQ contexts
|
197
|
+
[ee2875d38797]
|
198
|
+
|
199
|
+
2015-07-08 Michael Granger <ged@FaerieMUD.org>
|
200
|
+
|
201
|
+
* Manifest.txt, bin/amonitord, lib/arborist.rb,
|
202
|
+
lib/arborist/monitor_runner.rb, monitors/pings.rb,
|
203
|
+
monitors/system_resources.rb, monitors/web_services.rb,
|
204
|
+
spec/arborist/manager_spec.rb, spec/arborist/monitor_runner_spec.rb,
|
205
|
+
spec/arborist_spec.rb, spec/data/monitors/pings.rb,
|
206
|
+
spec/data/monitors/system_resources.rb,
|
207
|
+
spec/data/monitors/web_services.rb:
|
208
|
+
Add a monitor runner.
|
209
|
+
[cd9a1a9cb61a]
|
210
|
+
|
211
|
+
2015-07-06 Michael Granger <ged@FaerieMUD.org>
|
212
|
+
|
213
|
+
* monitors/pings.rb:
|
214
|
+
Only ping "down" nodes from the downed host pinger
|
215
|
+
[874a2816d0d5]
|
216
|
+
|
217
|
+
2015-07-03 Michael Granger <ged@FaerieMUD.org>
|
218
|
+
|
219
|
+
* spec/data/nodes/duir.rb:
|
220
|
+
Make the testing data work on hosts with no 'nat-pmp' /etc/services
|
221
|
+
entry.
|
222
|
+
[25bdee773318]
|
223
|
+
|
224
|
+
* Rakefile, arborist.gemspec, bin/amanagerd:
|
225
|
+
Add timecop developer dep
|
226
|
+
[682cf0904237]
|
227
|
+
|
228
|
+
* Rakefile, arborist.gemspec:
|
229
|
+
Fix rbczmq version.
|
230
|
+
[337d4ddc2c41]
|
231
|
+
|
232
|
+
* Rakefile, arborist.gemspec:
|
233
|
+
Fix deps: add rbczmq, remove rgl.
|
234
|
+
[00aed09c231c]
|
235
|
+
|
236
|
+
* Manifest.txt, Nodes.md, arborist.gemspec:
|
237
|
+
Update manifest, gemspec.
|
238
|
+
[905f639ef8c2]
|
239
|
+
|
240
|
+
* Rakefile:
|
241
|
+
Rebuild the gemspec before checkin
|
242
|
+
[6ac865dc47c1]
|
243
|
+
|
244
|
+
2015-07-02 Michael Granger <ged@FaerieMUD.org>
|
245
|
+
|
246
|
+
* experiments/run_monitors.rb, lib/arborist.rb,
|
247
|
+
lib/arborist/client.rb, lib/arborist/node.rb,
|
248
|
+
lib/arborist/node/host.rb, lib/arborist/node/root.rb,
|
249
|
+
spec/arborist/client_spec.rb:
|
250
|
+
Add a spike of a ZMQ::Loop-based monitor runner.
|
251
|
+
[c32fc2af7e33]
|
252
|
+
|
253
|
+
* lib/arborist/manager.rb, lib/arborist/manager/event_publisher.rb,
|
254
|
+
spec/arborist/manager/event_publisher_spec.rb:
|
255
|
+
Add registration/deregistration for event publisher to avoid
|
256
|
+
spinning.
|
257
|
+
[fd304df012d4]
|
258
|
+
|
259
|
+
* Monitors.md, lib/arborist/monitor.rb, monitors/pings.rb,
|
260
|
+
monitors/system_resources.rb, monitors/web_services.rb,
|
261
|
+
spec/arborist/monitor_spec.rb:
|
262
|
+
Add initial implementation of the monitor class.
|
263
|
+
[9fe5a028d82a]
|
264
|
+
|
265
|
+
2015-07-01 Michael Granger <ged@FaerieMUD.org>
|
266
|
+
|
267
|
+
* experiments/fping_wrapper.sh, experiments/fping_wrapper_data.txt:
|
268
|
+
Adding experimental fping shell wrapper
|
269
|
+
[97321e2a97fd]
|
270
|
+
|
271
|
+
2015-06-19 Michael Granger <ged@FaerieMUD.org>
|
272
|
+
|
273
|
+
* README.md:
|
274
|
+
Fix spelling of the project in the README.
|
275
|
+
[f0ffaa9a81b8]
|
276
|
+
|
277
|
+
2015-06-18 Michael Granger <ged@FaerieMUD.org>
|
278
|
+
|
279
|
+
* Monitors.md, Protocol.md:
|
280
|
+
Renamed Monitors.md to Protocol.md
|
281
|
+
[05ab00e422c5]
|
282
|
+
|
283
|
+
2015-06-17 Michael Granger <ged@FaerieMUD.org>
|
284
|
+
|
285
|
+
* bin/amanagerd, experiments/make_dot.rb, lib/arborist.rb,
|
286
|
+
lib/arborist/client.rb, lib/arborist/manager.rb,
|
287
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/mixins.rb,
|
288
|
+
lib/arborist/node.rb, lib/arborist/node/host.rb,
|
289
|
+
lib/arborist/node/service.rb, spec/arborist/client_spec.rb,
|
290
|
+
spec/arborist/manager/tree_api_spec.rb,
|
291
|
+
spec/arborist/manager_spec.rb, spec/arborist/node_spec.rb,
|
292
|
+
spec/spec_helper.rb:
|
293
|
+
Finish up work on the Tree API, add a simple client class
|
294
|
+
[6e4b8b2e9692]
|
295
|
+
|
296
|
+
* Monitors.md, lib/arborist/manager.rb,
|
297
|
+
lib/arborist/manager/event_publisher.rb,
|
298
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/mixins.rb,
|
299
|
+
lib/arborist/node.rb, lib/arborist/node/host.rb,
|
300
|
+
lib/arborist/node/service.rb,
|
301
|
+
spec/arborist/manager/tree_api_spec.rb,
|
302
|
+
spec/arborist/manager_spec.rb, spec/arborist/node/service_spec.rb,
|
303
|
+
spec/arborist/node_spec.rb, spec/data/nodes/sidonie.rb,
|
304
|
+
spec/data/nodes/yevaud.rb:
|
305
|
+
Checkpoint commit
|
306
|
+
[53f8c46273b7]
|
307
|
+
|
308
|
+
2015-05-28 Michael Granger <ged@FaerieMUD.org>
|
309
|
+
|
310
|
+
* .tm_properties, lib/arborist/manager.rb,
|
311
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/node.rb,
|
312
|
+
spec/arborist/manager/tree_api_spec.rb,
|
313
|
+
spec/arborist/manager_spec.rb:
|
314
|
+
Checkpoint of work from Wednesday
|
315
|
+
[c17020a7fb2a]
|
316
|
+
|
317
|
+
2015-05-27 Mahlon E. Smith <mahlon@martini.nu>
|
318
|
+
|
319
|
+
* .gems, experiments/make_dot.rb:
|
320
|
+
Add some dependencies to the .gems file. Add a simplistic .dot
|
321
|
+
generator.
|
322
|
+
[3e66ce756411]
|
323
|
+
|
324
|
+
2015-05-25 Michael Granger <ged@FaerieMUD.org>
|
325
|
+
|
326
|
+
* .gems, .hgignore, Manifest.txt, Monitors.md, Observers.md, Rakefile,
|
327
|
+
experiments/manager-sockets.rb, experiments/yay-client.rb,
|
328
|
+
lib/arborist.rb, lib/arborist/exceptions.rb,
|
329
|
+
lib/arborist/manager.rb, lib/arborist/manager/event_publisher.rb,
|
330
|
+
lib/arborist/manager/tree_api.rb, lib/arborist/node/host.rb,
|
331
|
+
lib/arborist/node/service.rb, lib/arborist/node/webservice.rb,
|
332
|
+
spec/arborist/manager/event_publisher_spec.rb,
|
333
|
+
spec/arborist/manager/tree_api_spec.rb,
|
334
|
+
spec/arborist/manager_spec.rb, spec/arborist/node/service_spec.rb,
|
335
|
+
spec/arborist_spec.rb, spec/data/nodes/duir.rb,
|
336
|
+
spec/data/nodes/sidonie.rb, spec/data/nodes/test1.rb,
|
337
|
+
spec/data/nodes/yevaud.rb, spec/spec_helper.rb, tree/duir.rb,
|
338
|
+
tree/sidonie.rb, tree/yevaud.rb:
|
339
|
+
Start implementing the Tree API
|
340
|
+
|
341
|
+
- Document the protocol
|
342
|
+
- Start specs for the API handler.
|
343
|
+
- Add MessagePack lib dependency
|
344
|
+
- Add manager server stuff (startup, shutdown, signal-handling, etc.)
|
345
|
+
- Resolve some problems with the Service node type.
|
346
|
+
[c6fb156530cc]
|
347
|
+
|
348
|
+
2015-05-06 Michael Granger <ged@FaerieMUD.org>
|
349
|
+
|
350
|
+
* ChangeLog, Manifest.txt, Monitors.md, experiments/monitor-client.rb,
|
351
|
+
experiments/monitor-service.rb, lib/arborist.rb,
|
352
|
+
lib/arborist/mixins.rb, lib/arborist/node.rb,
|
353
|
+
lib/arborist/node/host.rb, lib/arborist/node/service.rb,
|
354
|
+
monitors/pings.rb, spec/arborist/node/host_spec.rb,
|
355
|
+
spec/arborist/node/root_spec.rb, spec/arborist/node/service_spec.rb,
|
356
|
+
spec/arborist/node_spec.rb, spec/arborist_spec.rb:
|
357
|
+
Checkpoint of work from today and last week.
|
358
|
+
|
359
|
+
- Added acknowlegements to Arborist::Node
|
360
|
+
- Fixed address code for host nodes, port code for service nodes.
|
361
|
+
- Better spec coverage all around.
|
362
|
+
[c94494647182]
|
363
|
+
|
364
|
+
2015-04-22 Michael Granger <ged@FaerieMUD.org>
|
365
|
+
|
366
|
+
* .pryrc:
|
367
|
+
Load all node types in .pryrc
|
368
|
+
[7366a03c490e]
|
369
|
+
|
370
|
+
* lib/arborist.rb:
|
371
|
+
Fix a bug in `Arborist.manager_for`
|
372
|
+
[4c9abee5b344]
|
373
|
+
|
374
|
+
* lib/arborist/node.rb, lib/arborist/node/webservice.rb,
|
375
|
+
spec/arborist/node_spec.rb:
|
376
|
+
Add properties/status API to Arborist::Node.
|
377
|
+
[98f3f332b5a3]
|
378
|
+
|
379
|
+
* experiments/monitor-client.rb, experiments/monitor-service.rb:
|
380
|
+
Add spike of REQ/REP socket use
|
381
|
+
[0126d248b0f6]
|
382
|
+
|
383
|
+
2015-04-15 Michael Granger <ged@FaerieMUD.org>
|
384
|
+
|
385
|
+
* .tm_properties, Monitors.md, Rakefile, experiments/hash-add.rb,
|
386
|
+
lib/arborist.rb, lib/arborist/manager.rb, lib/arborist/node.rb,
|
387
|
+
lib/arborist/node/host.rb, lib/arborist/node/root.rb,
|
388
|
+
spec/arborist/manager_spec.rb, spec/arborist/node_spec.rb,
|
389
|
+
spec/data/nodes/test1.rb, spec/spec_helper.rb:
|
390
|
+
Add basic node graph functionality
|
391
|
+
[e653b1bafeb7]
|
392
|
+
|
393
|
+
2015-03-22 Michael Granger <ged@FaerieMUD.org>
|
394
|
+
|
395
|
+
* .gems, .pryrc, .rvm.gems, README.md, images/Leaf.sketch,
|
396
|
+
lib/arborist.rb, lib/arborist/collector.rb, lib/arborist/manager.rb,
|
397
|
+
lib/arborist/node.rb, lib/arborist/node/host.rb,
|
398
|
+
spec/arborist/collector_spec.rb, spec/arborist/manager_spec.rb,
|
399
|
+
tree/duir.rb, tree/sidonie.rb, tree/yevaud.rb:
|
400
|
+
Snapshot of today's spike work
|
401
|
+
[203aed65712a]
|
402
|
+
|
403
|
+
2015-03-18 Michael Granger <ged@FaerieMUD.org>
|
404
|
+
|
405
|
+
* .document, .hgignore, .pryrc, .rvm.gems, .rvmrc, .simplecov,
|
406
|
+
ChangeLog, Gemfile, History.md, LICENSE, Manifest.txt, Observers.md,
|
407
|
+
README.md, Rakefile, alerts/host_down.rb, arborist.gemspec,
|
408
|
+
lib/arborist.rb, lib/arborist/collector.rb, lib/arborist/event.rb,
|
409
|
+
lib/arborist/mixins.rb, lib/arborist/node.rb,
|
410
|
+
lib/arborist/node/host.rb, lib/arborist/node/root.rb,
|
411
|
+
lib/arborist/node/service.rb, monitoring_featureset.txt,
|
412
|
+
monitors/pings.rb, monitors/system_resources.rb,
|
413
|
+
monitors/web_services.rb, spec/arborist/collector_spec.rb,
|
414
|
+
spec/arborist/mixins_spec.rb, spec/arborist_spec.rb,
|
415
|
+
spec/spec_helper.rb, tree/duir.rb, tree/sidonie.rb, tree/yevaud.rb:
|
416
|
+
Spikes and notes
|
417
|
+
[0999d72c1a9f]
|
data/Events.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Events
|
2
|
+
|
3
|
+
## Event Types
|
4
|
+
|
5
|
+
«type».«subtype».«identifier»
|
6
|
+
|
7
|
+
sys.reload
|
8
|
+
sys.shutdown
|
9
|
+
node.delta
|
10
|
+
node.update
|
11
|
+
node.ack
|
12
|
+
|
13
|
+
Second part of the event name is the verb.
|
14
|
+
|
15
|
+
- update
|
16
|
+
- change (delta)
|
17
|
+
- reload
|
18
|
+
- shutdown / startup
|
19
|
+
|
20
|
+
|