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
|
87080d44b2
|
Fix WebAPI::Client to always expect links: in reponse.
|
2012-12-26 09:16:53 -07:00 |
|
Daniel Nichter
|
5051abc7ec
|
Partly working and tested pt-agent. Fix Percona/WebAPI/Client.pm. Add Percona/WebAPI/Util.pm, Percona/Test.pm, and /Test/Mock/UserAgent.pm.
|
2012-12-25 19:40:42 -07:00 |
|
Daniel Nichter
|
9241c27b7c
|
Almost working pt-agent main process. Clean up HTTP::Micro. Add Percona/WebAPI/Util, and some basic Percona/WebAPI/Representation tests.
|
2012-12-25 16:51:18 -07:00 |
|
Daniel Nichter
|
6f2d543653
|
Condense lib/Percona/WebAPI/Representation/* into lib/Percona/WebAPI/Representation.pm since our MO doesn't support roles. Continue building pt-agent.
|
2012-12-25 12:20:06 -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 |
|