9 Commits

Author SHA1 Message Date
Nick Burch
1f5c3a1d20 Improve how scheduled actions with historic start dates are handled during startup. The last run time is used to decide when they need to be re-scheduled for (ALF-4505)
Also, don't add the new scheduled action to Quartz until the transaction commits, to ensure the nodes are really there before Quartz fires


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 16:16:32 +00:00
Nick Burch
1136abdeac Start tracking when scheduled persisted actions run, so we can tweak the next run times at startup (ALF-4505)
Note - some tests broken, commit needed for Derek to investigate these


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 14:57:54 +00:00
Nick Burch
8fcd36b71e ALF-4347 - Further scheduled action unit tests, and document the remaining outstanding unit tests to be written
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22048 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-27 15:08:29 +00:00
David Caruana
4cad8ab1fd ALF-4346: Scheduled Persistent Actions CRUD
- implement persistence of scheduled actions
- tests
- TODO: further tests e.g. various updates of associated action

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21916 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-20 17:51:56 +00:00
Nick Burch
f4d3f870f5 Scheduled action executor - Unit tests for most execution cases, persistance still TODO (ALF-4346)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-17 16:53:57 +00:00
Nick Burch
177d2f46da Allow Context Aware quartz jobs, and start to implement scheduled persisted actions using this (ALF-4346)
Also update ScheduledPersistedActionService to fetch the persisted folder in a cleaner way, and start on tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-17 15:13:56 +00:00
Nick Burch
f3ce6ac130 Have the scheduled actions persister startup at the correct point, and start to make use of the new Quartz triggers (for ALF-4346)
Also update the documentation at the top of bootstrap-context.xml to reflect using AbstractLifecycleBean, rather than the raw spring interfaces


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-17 12:02:17 +00:00
Nick Burch
103c17d160 ALF-4346 - Start on the scheduled persisted actions service implementation
Tests are only stubbed out for now


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-16 16:37:41 +00:00
Nick Burch
fdc64e923d ALF-4346 - scheduling of persisted actions - tweak impl and service packages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-16 11:16:52 +00:00