Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Nichter
0be24a3b8d Misc work-in-progress updates to pt-agent, Agent and Config resources. Config will change again. Make Client::put() return Location header like POST. 2013-02-13 13:45:52 -07:00
Daniel Nichter
24e505a43d Simplify and test Percona::WebAPI::Client.pm according to new web API specs. 2013-01-31 12:58:09 -07:00
Daniel Nichter
f999686610 Fix Lmo::Types in pt-agent. Change Run->queries to query, Maybe[Str]. 2013-01-17 18:21:02 -07:00
Daniel Nichter
8f59c9f357 Change --check-spool to --send-data, and Run->schedule to Run->run_schedule. Add Run->spool_schedule and Run->queries. Remove Service->alias. 2013-01-14 15:02:07 -07:00
Daniel Nichter
0495f9aa8a Test and implement more run_agent(). Fix as_json() for lists of resources. Add alias attrib to Service for its friendly name; make name its code-friendly name. Fix ts in log messages. 2012-12-26 17:44:19 -07:00
Daniel Nichter
66fb54e793 Fix Client to expect X-Percona-Resource-Type else links. Add headers to Mock/UserAgent. Start testing run_agent(). As TO_JSON() magic to Run so encode can encode Service contain blessed Run objs. Use BUILDARGS to convert Run as hashref to real objs. 2012-12-26 13:00:46 -07:00
Daniel Nichter
d035125729 Add headers to Lmo and WebAPI modules, and put the modules in pt-agent. 2012-12-24 18:20:25 -07:00
Daniel Nichter
593e64e6ec Begin to fill in pt-agent. Use new, experimental Percona::Toolkit. Remove Versions resource; add as optional attrib to Agent resource. 2012-12-24 13:17:48 -07:00
Daniel Nichter
93416d4cb6 Skeleton bin/pt-agent and lib/Percona/WebAPI. 2012-12-24 11:24:53 -07:00