Commit Graph

83 Commits (8821df25993aeeb16aac69b7009eb62dcd6910dd)

Author SHA1 Message Date
Russell Haering 8821df2599 gitignore .coverage 2013-12-20 15:34:52 -08:00
Russell Haering 1bbb9dcc19 add unit tests of agent API 2013-12-20 15:29:39 -08:00
Russell Haering ffcbbd49e0 remove old agent classes 2013-12-20 15:29:23 -08:00
Russell Haering 508195ef5c validate that command params are a dictionary 2013-12-20 15:29:06 -08:00
Russell Haering f005c10d4f split agent out into standby and decom classes 2013-12-20 12:57:38 -08:00
Russell Haering 98b56fe53c update code to adhere to OS hacking guidelines 2013-12-19 16:59:16 -08:00
Russell Haering e97b0864af reduce max line length to default of 79 2013-12-19 16:59:00 -08:00
Russell Haering 98761a1c1a add dependency on 'hacking' flake8 plugin 2013-12-19 16:58:39 -08:00
Russell Haering 2f5dcb896b begin on command execution 2013-12-18 15:47:48 -08:00
Russell Haering a58e837e59 begin adding agent API 2013-12-17 15:13:30 -08:00
Russell Haering 27fdc13e49 out with the old, in with the new 2013-12-16 15:38:02 -08:00
Paul Querna b3ee1d828c Merge pull request #11 from racker/tasks_for_doing_things
Tasks and Image Download
2013-11-07 13:49:38 -08:00
Paul Querna d45974b049 give each task a unique id 2013-11-07 21:09:03 +00:00
Paul Querna 448a7da95b add image download tests 2013-11-07 20:10:00 +00:00
Paul Querna 532ad9b457 add basic tasks structure 2013-11-07 20:04:39 +00:00
Jay Faulkner c4e9a6dd0a add(docs): Document when autobuilds happen 2013-11-06 16:55:31 -08:00
Jay Faulkner cfc750aa57 add(docs): Document builder locations 2013-11-06 16:53:49 -08:00
Russell Haering d08ed28ae9 switch from simplejson to json 2013-11-04 14:54:35 -08:00
Paul Querna b0b5cf6188 Merge pull request #7 from racker/add_tests_for_protocol
Add tests for require_parameters
2013-10-29 14:25:43 -07:00
Paul Querna 94027eaa09 capitalize 2013-10-29 18:41:30 +00:00
Paul Querna 6016be5ab2 dumb change 2013-10-29 18:39:34 +00:00
Paul Querna 4622cabf97 Add tests for require_parameters 2013-10-29 17:48:31 +00:00
Paul Querna a861c28759 Force upgrade. 2013-10-29 17:17:51 +00:00
Russell Haering 0cee477518 finish stubbing out the standby agent 2013-10-13 10:20:45 -07:00
Russell Haering ee40766be2 fix task tests 2013-10-12 16:54:53 -07:00
Russell Haering 6293722e2e hook up `prepare_image` to `PrepareImageTask` 2013-10-12 16:50:09 -07:00
Russell Haering ac520e9bbb remove unnecessary parameter to Task constructor 2013-10-12 16:49:46 -07:00
Russell Haering c95bb8e607 fix kwarg mismatch 2013-10-12 16:49:23 -07:00
Russell Haering da5690ce24 fix require_parameters 2013-10-11 10:37:00 -07:00
Russell Haering af1fff2226 unify agent handler convention
handlers should take a 'command' parameter, instead of multiple
parameters as keyword arguments
2013-10-11 10:23:02 -07:00
Russell Haering 1f9db20a5b rename addHandler -> add_handler 2013-10-10 14:08:11 -07:00
Russell Haering fc9891c4e5 expose more of structlog.get_logger() 2013-10-10 13:48:27 -07:00
Russell Haering 0209387649 clean up task logging 2013-10-10 13:47:28 -07:00
Russell Haering 37f74d0999 expand agent response to 'status' call 2013-10-09 15:56:32 -07:00
Russell Haering 26348bb016 expose 'log' method which sends log messages to endpoint 2013-10-09 15:31:44 -07:00
Russell Haering ad26a257f8 client: send_response -> _send_response 2013-10-09 11:47:48 -07:00
Russell Haering 7b41d1183e log fatal errors 2013-10-09 11:05:54 -07:00
Russell Haering 90c8754bbc close connections cleanly on a fatal error 2013-10-09 10:49:21 -07:00
Russell Haering 6baffb4708 add protocol utilities for parameter validation 2013-10-09 10:48:59 -07:00
Russell Haering 72e9b79d3d fix bug when non-connected protocol gets disconnected
(this may only happpen in tests)
2013-10-07 17:31:12 -07:00
Russell Haering 8a5c09d9d0 fix prepare_image implementation 2013-10-07 17:22:59 -07:00
Russell Haering 8d0c0a40e7 fix returning responses 2013-10-07 17:22:47 -07:00
Russell Haering 4bf66527aa stop pinging on disconnect 2013-10-07 17:20:09 -07:00
Russell Haering 04b025c7f6 fix ping response logging 2013-10-07 16:03:34 -07:00
Russell Haering 88575c5878 fix tests 2013-10-07 14:38:16 -07:00
Russell Haering 99f5c897cc ping agent endpoint and disconnect when no response occurs 2013-10-07 14:37:25 -07:00
Russell Haering 6831845510 default make target runs lint + tests 2013-10-05 15:41:26 -07:00
Russell Haering 936a4c17e6 remove unused import 2013-10-05 15:41:11 -07:00
Russell Haering 7bcb8f6d2d make TeethClient to rely more MultiService for startup/shutdown 2013-10-05 15:37:33 -07:00
Russell Haering bd398f13f8 update handshake to use new message objects 2013-10-05 15:35:08 -07:00