WIP: installed NATS. almost got logging prototype working. just need way to publish within a subscribe block
Rusty, but working prototype of streaming logs from a command line client
Updated Gemfile.lock for newest docker-api. Use Docker.attach rather than shelling out to system 'docker logs'
Stop using NATS and use a celluloid-based socket server instead
Basic working version of socket server with client. Connections getting closed. No leaking threads.
Just a comment about celluloid's sleep at the end of the messaging server
Messaging server refactored and tidy. All major functionality seemingly working. Need to refactor client parts. No tests yet
Refactored Switchboard to be nice and tidy with lots of seperate classes. Added logs methods to CLI client. Everything working. Need to add tests now
Fixed existing tests after implementing Switchboard and logging
First tests for Switchboard. Renamed commands to be more intuitive. Added to README
Added README to peas-dind folder. Tweak to run.sh to better detect existing peas-data container, and support a custom port
Finally got a test for Connection working. Needed to use the #wrapped_object method to get past Celluloid's Actor proxy object in order to stub the original object
Trying to test exception handling in switchboard but struggling :(
Some kind of progress on cacthing exceptions but still really confused :(
Finally got Switchboard error handling in some sort of sane state and with tests
Inactivity timer in Connection. Added wrapper methods to enable triggering of activity to reset inactivity timer. With some specs.
Completed specs for Switchboard server
Added specs for Peas-specific Switchboard logging commands
Logs specs for API, CLI and integration tests
Catch EOF error when trying to kill the build container. Broadcast error to build process. Try and break subsequent worler processes when an error occurs