Nick Burch
8bfc88b8d6
Wire in the asynchronous action service OnAsyncActionExecute policy (policy was previously defined but not active)
...
Update the tagging service tests, and some of the action tracking service tests to wait on the policy firing instead of using Thread.sleep
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-18 05:24:03 +00:00
Nick Burch
4be5b72b3c
Bump up a sleep wait time, to hopefully fix things on panda. (Long term we need to wait on a callback, but until that is in place we just have to sleep)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 09:48:02 +00:00
Nick Burch
42785b0760
Bump up a sleep wait time, to hopefully fix things on panda. (Long term we need to wait on a callback, but until that is in place we just have to sleep)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 08:44:37 +00:00
Nick Burch
e9ef3837e8
Add a TODO note about a possible future improvement to the tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-12 21:16:41 +00:00
Nick Burch
6c8e135759
Tweak async wait to avoid incorrect test failures
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-08 09:25:56 +00:00
Nick Burch
28dcad6dba
ALF-3262 - Avoid contention and auth issues when updating the last run details on a previously persisted action run through the action tracking service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-06 12:33:11 +00:00
Derek Hulley
82955f3ae2
Fixed ALF-4682: ActionTrackingService uses cluster-unsafe cache
...
- Added *full* replication of objects across the cluster for 'executingActionsCache'
- Changed cache variables to use SimpleCache
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-10 11:58:15 +00:00
Nick Burch
1ee65f081a
Make the cache objects used by the Action Tracking Service immutable
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-10 11:13:33 +00:00
Nick Burch
d9748ebdf0
Unit tests for the action tracking service javascript interface (ALF-4505)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 13:48:37 +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
b3406e7da0
ALF-4284 - allow cluster-wide visibility of pending actions, as well as running ones
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-10 13:38:56 +00:00
Nick Burch
77967ef61b
Action Tracking Service update
...
Keep a record of which machine an action is currently running on, so for a cluster situation you know where you actions are
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-29 11:10:41 +00:00
Nick Burch
876ebf377f
Increase async wait time in action tracking test
...
Seems it needs a tiny bit longer for everything to finish on the build box vs everyone's laptops
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21421 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-26 17:45:51 +00:00
Nick Burch
69815dab52
Action service tracking of multiple copies of the same action (replication 79)
...
Assign them a unique execution ID, and unit tests for this
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-23 17:39:07 +00:00
Nick Burch
4425a2b4db
Ability to cancel replication actions (replication 94)
...
Cance ability, which feeds down into the transfer service, and feeds it back up to the action tracking service. Also, refactor of the replication service unit tests to do the transactions itself, which is needed to reliably test async actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-23 16:52:54 +00:00
Nick Burch
17bcf56a93
ActionTrackingService work
...
Initial cancel support, and some duplicate instance work (mostly updating tests to handle it coming along). Duplicate id assignment work still remains
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-21 15:49:19 +00:00
Nick Burch
0442d3564d
ActionTrackingService test updates
...
Make the cache key generation less brittle, add unit tests for listing functions, and stub out the cancel related tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21332 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-21 13:52:16 +00:00
Nick Burch
fd87beb9a2
Action test refactoring
...
Reduce duplication between tests which all need working and failing actions that behave in a predictable, testable way
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21327 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-21 12:07:45 +00:00
Nick Burch
6f828a8b97
Action Tracking Service work (Replication Task 79) -
...
Basic cache population (no id clash avoidance yet though), along with basic tracking and simpler unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-20 17:00:29 +00:00