Commit Graph

26 Commits

Author SHA1 Message Date
Nick Burch
90da842035 Merged BRANCHES/V3.4 to HEAD:
23857: Add in UserTransactions to a few places that now need it, to fix webscript unit test
   23859: Add in UserTransactions to a few places that now need it, to fix webscript unit test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-22 16:07:50 +00:00
Nick Burch
f4789e91bf ALF-4704 - Filter out deleted nodes in the replication model builder, otherwise the freemarker for the replication webscripts chokes on deleted ones. Includes new unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-10 10:08:14 +00:00
Nick Burch
a88a8ef6b2 Re-enable webscript test for ALF-4610 now that the spring surf fix is in
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 15:57:38 +00:00
Nick Burch
e83f5f2bd0 Add commented out unit test for ALF-4610, to show that we can cope with replication definitions with funny characters in the name
Unit test is disabled for now, as it triggers a springsurf webscript bug...


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-07 11:53:21 +00:00
Nick Burch
cfbfdb92ac When an action is marked as pending, it shouldn't have a started execution at time yet (ALF-4505)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 13:43:55 +00:00
Nick Burch
9b867fc350 When a replication task is executing, the rest API details shouldn't include information on the previous run, such as logs and messages (ALF-4505)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-31 12:01:26 +00:00
Nick Burch
aecf8c464b ALF-4505 - Change how replication definition "sort by last run" orders jobs that haven't ever been run
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-27 13:17:31 +00:00
Nick Burch
eb4b8fd94e ALF-4348 - More replication job scheduling work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22021 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-26 13:56:44 +00:00
Nick Burch
ce1f57c3b9 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
8ae41a2a94 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
Nick Burch
926effbcae ALF-4408 - prevent creation of duplicate named replication definitions, and update the unit tests to properly test this, not just almost test it...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-25 12:02:42 +00:00
Nick Burch
3c16d97c3c In the replication webscripts, return single responses still wrapped in data:{} entries
Update unit tests following this json change, and also fix them after the json changes from r21749


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-13 12:45:05 +00:00
Nick Burch
984c17f7cd ALF-4296 - different replication definition delete webscript http response code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21739 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-11 14:26:01 +00:00
Nick Burch
af204372ec ALF-4296 - tweak how Status.STATUS_GONE is returned from the replication webscripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-11 11:52:58 +00:00
Nick Burch
9945c6f44c 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
7ed6d33810 ALF-4133 - Partial support for executing actions via the webscript
Will need a refactor of pending actions support before this can be finished, and unit tests can be enabled


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-09 14:26:33 +00:00
Nick Burch
a36decbb8e 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
2f8a9f1d58 Finish ALF-4132 & ALF-4131 - edit and create replication definition webscripts, including unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 14:17:53 +00:00
Nick Burch
19a026e3a4 Initial work for ALF-4131 - Update Replication Definition Webscript
Stubs out webscript and unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-04 11:13:15 +00:00
Nick Burch
a343197d68 Initial work for ALF-4132 - create replication definition webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 15:12:35 +00:00
Nick Burch
d2ceb3bc73 Finish ALF-4130 - Replication Details get webscript
Includes unit tests for most states of replication definitions


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 14:32:44 +00:00
Nick Burch
dd5a727408 ALF-4130 - Continue work on replication details fetch webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 11:47:58 +00:00
Nick Burch
fac612f159 Start on ALF-4130 (F105) - replication details fetch webscript.
Basics are returned, and unit tested, but the remainder of the details need to be retrieved, computed, output and tested


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-02 16:38:43 +00:00
Nick Burch
a1c412e4e6 Finish ALF-4129 - list replication definitions webscript
Fix up the freemarker output, add sorting support, and webscript unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-02 13:22:42 +00:00
Nick Burch
c7ba8fea8a ALF-4129 - More work on replication definitions listing webscript
Move towards a model builder, and start on unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-30 16:41:43 +00:00
Nick Burch
54fc5b8f83 Initial cut of the replication definitions list webscript (ALF-4129)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-30 15:09:49 +00:00