Daniel Nichter
|
10a3dbdcf1
|
Fix get_api_client() so it doesn't loop out of controll if PWS doesn't return valid entry links.
|
2013-03-25 15:58:46 -06:00 |
|
Daniel Nichter
|
bdc3487919
|
Add and test start_services() for Service.run_once_on_start.
|
2013-03-25 14:27:53 -06:00 |
|
Daniel Nichter
|
2eff2692fe
|
Fix detecting new lib dir. Fix removing service files.
|
2013-03-22 17:07:02 -06:00 |
|
Daniel Nichter
|
9e1d935e19
|
Add Service.run_once_on_start. Refactor get config and get services blocks.
|
2013-03-22 12:08:45 -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
|
f04d0e575a
|
Write pt-agent docs.
|
2013-03-21 11:49:29 -06:00 |
|
Daniel Nichter
|
0e9e897791
|
Use 'Content-Type: multipart/form-data; boundary=Ym91bmRhcnk' to send multi-part data.
|
2013-03-21 07:52:21 -06:00 |
|
Daniel Nichter
|
cf0342c69e
|
Implement and test running queries for tasks.
|
2013-03-19 18:17:24 -06:00 |
|
Daniel Nichter
|
846daa6c31
|
Fix/update/test sending data. Rename query-monitor to query-server in tests.
|
2013-03-19 16:35:37 -06:00 |
|
Daniel Nichter
|
5a65305a47
|
Update pt-agent to run tasks not runs.
|
2013-03-19 15:37:55 -06:00 |
|
Daniel Nichter
|
9afa462cc2
|
Fix/update t/pt-agent/run_agent.t.
|
2013-03-19 14:56:53 -06:00 |
|
Daniel Nichter
|
2291a3c6c6
|
Update Lmo in pt-agent. Start fixing pt-agent tests.
|
2013-03-19 12:10:22 -06:00 |
|
Daniel Nichter
|
d28faa9b25
|
Don't require Task program or output attrib values.
|
2013-03-19 11:31:22 -06:00 |
|
Daniel Nichter
|
5e5943bd36
|
Change Run to Task. Add Percona/WebAPI/Exception/Resource.pm.
|
2013-03-01 09:47:49 -07:00 |
|
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
|
f99b1dee70
|
Update Percona::WebAPI::Representation in pt-agent so the previous commit actually works.
|
2013-01-31 17:50:57 -07:00 |
|
Daniel Nichter
|
5e362d9e4b
|
Fix write_services.t samples. Make send_data.t deterministic.
|
2013-01-31 17:14:32 -07:00 |
|
Daniel Nichter
|
3f4a02e1fb
|
Update pt-agent to implement new specs.
|
2013-01-31 17:00:38 -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
|
9cc3c81143
|
Fix init_agent.t.
|
2013-01-30 15:52:26 -07:00 |
|
Daniel Nichter
|
bf92ce765d
|
Update/fix pt-agent to work with new Service.run_schedule and Service.spool_schedule attribs.
|
2013-01-30 13:25:21 -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
|
4c48ed16a5
|
Remove --spool-interval. This is done per-service now.
|
2013-01-14 16:43:22 -07:00 |
|
Daniel Nichter
|
19ffb443b2
|
Add 3 TODO.
|
2013-01-14 15:07:34 -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
|
526437632c
|
Implement and test --check-spool. Make Mock/UserAgent save put and post data in an array. Make Percona/WebAPI/Client accept ready-made text resources, for multi-part resources.
|
2013-01-08 18:49:42 -07:00 |
|
Daniel Nichter
|
d68301f293
|
Implement and test pt-agent --run-service.
|
2013-01-08 13:19:55 -07:00 |
|
Daniel Nichter
|
f28aa90436
|
Finish writing and testing service scheduling code.
|
2013-01-08 10:55:58 -07:00 |
|
Daniel Nichter
|
d7f49dee8a
|
Start writing and testing schedule_services().
|
2013-01-07 17:52:37 -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
|
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
|
5b12357035
|
Merge Pingback into VersionCheck, but not working yet. Move Percona/HTTP/Mirco to HTTP/Micro.
|
2012-12-24 14:36:04 -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 |
|