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
61583adef0
ALF-4346 & ALF-4348 - More work on schedulable actions, and start to expose this through to the replication service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-26 13:36:37 +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
Derek Hulley
637495973d
Removed repo-based 'init-method' from scheduled job (stops repo startup if patch hasn't been run)
...
- Init methods are for parameter checking; use an AbstractLifecycleBean-derived bean in bootstrap-context.xml.
- Reformatted ScheduledPersistedActionServiceImpl.java; dev-env has Eclipse settings that can be imported
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-16 18:56:42 +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