3c02dbac644d951bc264158d3f4efea577345b84 |
|
12-Feb-2015 |
Christopher Wiley <wiley@chromium.org> |
autotest: Support post Registration Buffet requests Buffet tries to patch its device resource on startup, aborts limbo commands, and then starts periodically polling for commands. BUG=brillo:15 TEST=buffet_Registration passes with these changes after being expanded to expect command polling to work. Change-Id: I0e3cce44fdf088bf2d063a03ff07e5073624e03d Reviewed-on: https://chromium-review.googlesource.com/249540 Tested-by: Christopher Wiley <wiley@chromium.org> Reviewed-by: Alex Vakulenko <avakulenko@chromium.org> Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/commands.py
|
feedba871f9ea080e3562f7d9875f09e63468c55 |
|
08-May-2014 |
Chris Sosa <sosa@chromium.org> |
Add auth support to client_lib and test to be able to use against the live server. In this CL I've added various oauth helpers to convert codes to auth tokens for use when interacting with our actual servers. In order to facilitate quick testing I've modified this test script to either test against the fake server OR the live server based on whether you pass in an auth code to the command line (see usage). There's still a couple issues (left as TODO's here) but this seems like a good point for review. BUG=chromium:361204 TEST=Tested up to command insertion with live server + fake server + unittests Change-Id: Ic7166ddaa50d171dbf9a8cbb4b50b736f79a32b6 Reviewed-on: https://chromium-review.googlesource.com/198784 Tested-by: Chris Sosa <sosa@chromium.org> Reviewed-by: Alex Vakulenko <avakulenko@chromium.org> Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: Chris Sosa <sosa@chromium.org>
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/commands.py
|
12dd813c417478dffb4bf66994eebbb125db7a27 |
|
29-Apr-2014 |
Chris Sosa <sosa@chromium.org> |
Add a small Python client library to communicate with the buffet server. This CL adds a small client library for interacting with the fake_device_server. Currently it does not support the actual service as I do not pass all the necessary HEADERS to auth needed (which I will add later). I've also added an integration test script that runs through all the common client methods / server interactions for testing this library. BUG=chromium:361204 TEST=Ran integration test. Change-Id: Ieb0c4d594557fabbc3871f549e932c87f73afb05 Reviewed-on: https://chromium-review.googlesource.com/197430 Tested-by: Chris Sosa <sosa@chromium.org> Reviewed-by: Alex Vakulenko <avakulenko@chromium.org> Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/commands.py
|