Commit Graph

39 Commits

Author SHA1 Message Date
Oliver Gorwits
e0c6615c87 fix bugs 2017-11-08 21:51:55 +00:00
Oliver Gorwits
1eeaba441d finish refactor to new desired behaviour (buggy?) 2017-11-07 22:30:55 +00:00
Oliver Gorwits
7edfe88f25 fix to work, and correct namespace check 2017-11-06 22:50:51 +00:00
Oliver Gorwits
25907d3544 move status tracking and checking inside job instance 2017-11-06 21:26:01 +00:00
Oliver Gorwits
4436150bf4 remove global rubbish 2017-11-05 20:54:28 +00:00
Oliver Gorwits
10f78d5dbe add priority and namespace to support fancy worker overrides 2017-11-04 23:06:20 +00:00
Oliver Gorwits
5b7ce3f797 cannot Sereal::Encode DBIC row 2017-10-09 15:46:09 +01:00
Oliver Gorwits
207476950d default causes no attr to be created?! 2017-10-09 14:03:37 +01:00
Oliver Gorwits
912f2fa91f better debug logging 2017-10-08 18:43:51 +01:00
Oliver Gorwits
41be926921 run all check workers 2017-10-07 13:04:45 +01:00
Oliver Gorwits
b8108986fb phase fixups 2017-10-07 11:32:10 +01:00
Oliver Gorwits
ee38bae48a store result of worker if best for this phase so far 2017-10-07 09:05:25 +01:00
Oliver Gorwits
5bddfc73ba auto debug-log worker return messages 2017-10-07 08:50:31 +01:00
Oliver Gorwits
3af13f0dfe introduce noop and refactor checks in all workers 2017-10-06 07:15:59 +01:00
Oliver Gorwits
98463c8cad no need to debug log if there are no hooks in phase 2017-10-01 10:49:12 +01:00
Oliver Gorwits
3b32e84312 fiddle about with runner logic to fix exit states 2017-10-01 08:18:13 +01:00
Oliver Gorwits
8fdba38ee0 cannot reuse a worker as the job will be already set and the wrong plugins loaded 2017-09-29 08:01:42 +01:00
Oliver Gorwits
2a74e0befa can pass device instance to check_* 2017-09-29 07:58:33 +01:00
Oliver Gorwits
3e41c93f5a clean snmp handling 2017-09-20 21:47:50 +01:00
Oliver Gorwits
3454d95a84 capture result on main phase as well 2017-09-20 20:54:15 +01:00
Oliver Gorwits
1969291719 simplify to remove phases and fewer hooks 2017-09-18 22:04:22 +01:00
Oliver Gorwits
6edd2dc879 no need to list all plugins 2017-09-13 21:51:40 +01:00
Oliver Gorwits
d5d39289d6 rename init stage to check 2017-09-13 10:44:31 +01:00
Oliver Gorwits
1fdb086183 refactor to remove second loop 2017-09-12 08:12:12 +01:00
Oliver Gorwits
64a9491115 change to init, first, second stages 2017-09-10 16:10:50 +01:00
Oliver Gorwits
411918e3f8 only load worker plugins for the action 2017-09-06 20:56:26 +01:00
Oliver Gorwits
1f9740c0e2 shorten hook names 2017-09-06 18:30:43 +01:00
Oliver Gorwits
a59c23de79 make psql worker primary, add hook debug log 2017-09-06 18:27:34 +01:00
Oliver Gorwits
a79cb9a9e4 all the bug fixes and a working plugin!!!!!!!!! :-D 2017-09-05 22:11:02 +01:00
Oliver Gorwits
04896202e0 refine runner 2017-09-05 21:39:41 +01:00
Oliver Gorwits
547fce2f3c hack the status class to regen if needed 2017-09-05 20:56:21 +01:00
Oliver Gorwits
cd71a0b7a8 move status update to job class 2017-09-05 20:41:05 +01:00
Oliver Gorwits
c8e5cea4ed objectify the running 2017-09-05 20:37:13 +01:00
Oliver Gorwits
f48004fffa bug squish 2017-09-05 20:09:02 +01:00
Oliver Gorwits
46ece568f6 implement runner?! 2017-09-05 19:54:57 +01:00
Oliver Gorwits
fc9c60f707 rename ok to is_ok and change slot names to avoid conflict with creators 2017-09-05 19:28:38 +01:00
Oliver Gorwits
75abdad812 further work on retval handling from workers 2017-09-04 21:54:37 +01:00
Oliver Gorwits
4c1fdf4f92 move worker plugin loader to Worker.pm 2017-09-04 20:37:53 +01:00
Oliver Gorwits
be0c5181a3 move Runner to Worker namespace 2017-09-04 20:35:42 +01:00