Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Nichter
862765db6e Fix init_agent.t. 2013-09-23 12:07:34 -07:00
Daniel Nichter
ec2343f379 Retry 403 in init_agent(), warning just once. 2013-09-23 12:06:05 -07:00
Daniel Nichter
f6f121ca82 Make init_agent() stop on 403 (too many agents). 2013-09-23 11:55:27 -07:00
Daniel Nichter
25024149be Make init_agent() tries required. Load service earlier in send_data() and run_service(). Fix init_agent.t. 2013-09-19 14:53:31 -07:00
Daniel Nichter
d14951ae5f Make entry_links an arg to send_data() and run_services. Start updating/fixing tests. Add lib/Percona/Test/Mock/AgentLogger.pm. 2013-06-16 17:28:18 -07:00
Daniel Nichter
03f8720871 Fix/update init_agent.t and replace_special_vars.t. 2013-04-13 11:55:53 -06:00
Daniel Nichter
c1cce0c6ca Get and send real program version when the agent starts. 2013-03-21 13:50:49 -06:00
Daniel Nichter
70c28272a7 Fix/update t/pt-agent/init_agent.t. 2013-03-19 14:44:02 -06:00
Daniel Nichter
3f4a02e1fb Update pt-agent to implement new specs. 2013-01-31 17:00:38 -07:00
Daniel Nichter
9cc3c81143 Fix init_agent.t. 2013-01-30 15:52:26 -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
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