Nick Burch
baf2876ffc
ALF-4348 - Fix up scheduled replication execution, and stub out the unit tests for this
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-26 16:17:37 +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
Nick Burch
e7439974f2
Mark out which bits need to be changed to support ALF-4476
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-25 13:36:31 +00:00
David Caruana
2d6fd30803
Replication - record target transfer report in replication definition
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21880 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-19 16:18:53 +00:00
Nick Burch
39ed19b346
ALF-4135 - Webscript support for deleting replication definitions
...
Includes webscript unit tests, and expands the service unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-05 13:44:01 +00:00
Nick Burch
3ffb67e824
Replication Service transfer report tracking
...
Make the transfer service report available through the replication service, and add unit tests to show that it turns up as expected
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-27 15:25:54 +00:00
Nick Burch
91aa8759f5
Replication Service tweaks
...
In preparation for writing the webscripts, add a rename service method, and change the user facing type of the name from QName to string
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21440 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-27 15:01:02 +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
7215f51fe9
Replication Definition enable/disable/check support (Replication 69+70)
...
Ability to enable and disable replication definitions, which the executor checks, along with unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-23 15:40:49 +00:00
Nick Burch
5214729811
Expand a couple of replication service tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21247 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-16 16:24:43 +00:00
Nick Burch
7c46ccea69
Have the action service record when actions run, and if they worked
...
Handles persisting this action data for sucessful actions
(Failure information persistance still to follow)
Includes lots of unit tests for working and failing sync and async actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-14 16:08:37 +00:00
Derek Hulley
7c27a2c711
Fix SAIL-389 (SAIL-294): NodeDAO: single-valued, d:any properties don't handle increasing array values
...
- Re-enabled test and fixed assertion
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-13 15:34:43 +00:00
Mark Rogers
e468ab3a4b
transfer service : work in progress.
...
implementation of transfer requsite.
API change isComplete to isSync
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-13 14:04:23 +00:00
Nick Burch
5a3d53e5c1
Replication Service test which ensures that the right things get copied by the tranfer service
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 14:27:10 +00:00
Nick Burch
d633e6416b
Replication Definition deletion support + unit test
...
(Disabled) unit test for edit/save/load/edit/save of replication definitions,
so that Derek can look at why the node service breaks for this
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-12 13:57:30 +00:00
Nick Burch
e6a6b9bf0b
Replication service now calls the transfer service
...
Includes unit tests for the basic operations, and a make same-repo transfer handler as used in the transfer service tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21033 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-09 12:36:36 +00:00
Nick Burch
283d66c7eb
Replication service unit tests
...
Refactor the executor to make testing easier, and add unit tests for many parts of the executor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-08 16:54:10 +00:00
Nick Burch
9d3ec267b1
Replication Service execution work
...
Now handles locking the replication job, deciding what to replicate for a given payload, and refreshing the lock as the transfer progresses, plus tests. Still needs to call the transfer service though.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-07 16:23:34 +00:00
Nick Burch
553df63c59
Stub the replication service action executor
...
Doesn't trigger a transfer yet, as waiting on the appropriate node finder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20967 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-06 20:40:35 +00:00
Nick Burch
7a8e50de23
Initial replication service tests
...
Fix up the definition parameter persisting, and test that we can create/save/load/list the definitions propertly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-06 15:02:02 +00:00