First of all a quick status on the client:
- it covers the bare minimum functionality,
- uses the network protocol because it was easy to do,
- has no error handling because most of the time it just works.
So far it has been working really well without any issues. As this was an interim measure I didn't want to spend too much time creating a monitoring tool but so far am impressed with how simple it was to hook everything up.
Some technical details on the solution: use SUnit to test the REST-ful services, announce the results (using Announcements) so that either the TestCase runs standalone if there isn't an announcer registered or it notifies all subscribers. Set up UpsideDownSnarl client to process the announcements. Used Seaside to create a management interface.
The sweetest section of code in all of this: Using Process>>allSubInstances and then using the enumeration protocol to find and terminate any processes that were registered on the clients behalf.
Smalltalk makes it so easy to do something like this :) you gotta love the quick feedback cycles
No comments:
Post a Comment