Commit Graph

362 Commits

Author SHA1 Message Date
Jamal Kaabi-Mofrad
256e3e5254 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122590 jkaabimofrad: RA-841: Fixed the status code for the large file upload. Also, added a new exception with 507 status code to be thrown, when "ContentQuotaException" occurs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:24 +00:00
Jamal Kaabi-Mofrad
50dffcc569 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122580 jvonka: Nodes (FileFolder) API - return isFile in node info (renamed from isContent) in addition to isFolder
   RA-828, RA-741


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:09 +00:00
Jamal Kaabi-Mofrad
1da6179926 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122547 gjames: RA-823:  Allow the implementation to specify the "source entity" first.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:46 +00:00
Jamal Kaabi-Mofrad
e3068608bc Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122543 gjames: RA-211: Moving around execution logic in preparation for more flexible respoonse handling


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:37 +00:00
Jamal Kaabi-Mofrad
e1e80ff823 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122518 gjames: RA-211: Added the webscriptrequest to the Params interface


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:24 +00:00
Jamal Kaabi-Mofrad
f7d7bef19d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122483 jkaabimofrad: RA-678: Updated create rendition Api + tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126476 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:08:09 +00:00
Jamal Kaabi-Mofrad
748cf5a840 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122419 gjames: RA-827 More testing of custom status codes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:06:05 +00:00
Jamal Kaabi-Mofrad
c03efd351c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122418 gjames: RA-827 Supporting custom status codes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:56 +00:00
Jamal Kaabi-Mofrad
84947ba6de Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122394 jkaabimofrad: RA-677: Added node's renditions REST API.
           - Retrieve information about a rendition of a node + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:42 +00:00
Jamal Kaabi-Mofrad
115e9d73ff Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122329 jkaabimofrad: Fixed API tests failure.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:05:01 +00:00
Jamal Kaabi-Mofrad
cb6a9ce73e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122327 jkaabimofrad: RA-673, RA-678: Added node's renditions REST API. 
                 - Retrieve Renditions For Node + tests
                 - Create Rendition


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:40 +00:00
Jamal Kaabi-Mofrad
645041272a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122325 jkaabimofrad: Moved some of the FileFolder API tests logic to AbstractBaseApiTest.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:29 +00:00
Jamal Kaabi-Mofrad
64910d2d77 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122317 gjames: Adding more test coverage of the webscript executors


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:11 +00:00
Jamal Kaabi-Mofrad
52ef5d5374 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122276 gjames: Improving the test coverage of webscriptGet


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:04:04 +00:00
Jamal Kaabi-Mofrad
f7f489f349 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122275 gjames: Improving the tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126463 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:58 +00:00
Jamal Kaabi-Mofrad
7d99e1aa4a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122241 gjames: RA-833: Added a RelationshipResourceBinaryAction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:52 +00:00
Jamal Kaabi-Mofrad
05757c9773 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122240 gjames: RA-833: Initial framework changes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:39 +00:00
Jamal Kaabi-Mofrad
e35223c712 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122184 jvonka: Nodes (FileFolder) API - remove test workaround (based on fix for ACE-5114)
   - re: list children nodeType filtering - exact match with no sub-types - if super-type does not exist
   - for example: where=(nodeType='cm:link includeSubTypes')
   RA-811, ACE-5114


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:03:29 +00:00
Jamal Kaabi-Mofrad
0bf34f2694 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122176 gjames: RA-823 Using the sites.expected() check instead


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126457 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:58:11 +00:00
Jamal Kaabi-Mofrad
93a9e0cb47 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122175 gjames: RA-823 added parseListSource() proxy method and SiteMembers source entity test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126456 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:58:04 +00:00
Jamal Kaabi-Mofrad
fd7690b5c7 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122167 gjames: RA-823 adding "source" into the collection output


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:58 +00:00
Jamal Kaabi-Mofrad
c35f8c0a24 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122166 gjames: Changed the method name because Jan didn't like it.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:50 +00:00
Jamal Kaabi-Mofrad
3b6cad99e6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122164 gjames: RA-823 adding "includeSource" param


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126452 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:28 +00:00
Jamal Kaabi-Mofrad
2795628608 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122140 jvonka: Nodes (FileFolder) API - update listChildren 'where' filtering (inc tests) for nodeType + optionally including sub-types
   - for example: where=(nodeType='cm:link includeSubTypes')
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:20 +00:00
Jamal Kaabi-Mofrad
ac73cc618d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122127 jvonka: Nodes (FileFolder) API - update/add -ve tests for move & copy operations
   - also fix-up error messages to show nodeId (rather than full nodeRef)
   RA-684, RA-806


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126450 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:11 +00:00
Jamal Kaabi-Mofrad
df9a17f35f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122013 jvonka: Nodes (FileFolder) API - add isContent (in addition to isFolder) to node info
   RA-828, RA-741


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:57:02 +00:00
Jamal Kaabi-Mofrad
455071900d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121977 jvonka: Nodes (FileFolder) API - demonstrate nodeType query without subTypes using cm:link
   - however, need to workaround subtle issue (if super-type qname has never existed) where FileFolder list (via GetChildren CQ) does not match and returns all ...
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:35 +00:00
Jamal Kaabi-Mofrad
e47c926b90 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121973 jvonka: Nodes (FileFolder) API - fix list children (fallout & tests -re: nodeType/subTypes 'where' filtering)
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:29 +00:00
Jamal Kaabi-Mofrad
41fd384c44 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121972 jvonka: Nodes (FileFolder) API - add api tests when setting owner (cm:owner prop')
   RA-706, RA-639


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126445 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:22 +00:00
Jamal Kaabi-Mofrad
bba84f94b7 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121939 jvonka: Nodes (FileFolder) API - update listChildren 'where' filtering (inc tests) for nodeType + subTypes
   RA-811, RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:56:07 +00:00
Jamal Kaabi-Mofrad
1bd4af7a70 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121929 jvonka: Nodes (File/Folder) API - test for move operation
   - update existing test
   - switch from PUT /nodes/{nodeId} (with parentId) to POST /nodes/{nodeId} (with targetParentId)
   RA-683, RA-806


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:55:46 +00:00
Jamal Kaabi-Mofrad
6775385f1f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121926 jvonka: Nodes (File/Folder) API - prevent move via PUT (change of parentId)
   - will be replaced shortly by POST /nodes/{nodeId}/move (RA-806)
   RA-683


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126440 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:55:25 +00:00
Jamal Kaabi-Mofrad
c2c1293a8e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121924 gjames: RA-684: Adding a test for node copy


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:55:09 +00:00
Jamal Kaabi-Mofrad
bd65bbf529 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121907 gjames: RA-774 Renaming action to operation


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126435 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:54:32 +00:00
Jamal Kaabi-Mofrad
e025be9f98 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121865 gjames: RA-774 Unit test handled Throwable


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:53:34 +00:00
Jamal Kaabi-Mofrad
7c27b2070f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121864 gjames: RA-774 Allow the use of "Void" parameter type


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:53:24 +00:00
Jamal Kaabi-Mofrad
ee39a9192e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121839 jvonka: FileFolder (Node) API - update test for node type other than folder/content 
   - sanity test app:filelink & app:folderlink (and remove TODO comment)
   RA-741


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:52:38 +00:00
Jamal Kaabi-Mofrad
2d1cadafe6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121834 jvonka: FileFolder (Node) API - test updates
   - add sanity checks for node type that extend cm:cmobject (other than cm:folder / cm:content)
   - also add  -ve test if attempting to use relative path lookup to get node info (if path parent is not a folder) 
   RA-741, RA-672


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:52:23 +00:00
Jamal Kaabi-Mofrad
3a6d18ba6a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121808 gjames: RA-774 Improving action tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126421 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:36 +00:00
Jamal Kaabi-Mofrad
6e0f375fb5 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121807 gjames: RA-774 Added basic action support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:25 +00:00
Jamal Kaabi-Mofrad
08b6ba84ad Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121799 jvonka: FileFolder API - minor validation fix when listing children via "relativePath" 
   - also check type of parentId (to be a folder) before (as well as after) resolving relative path
   RA-753


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:11 +00:00
Jamal Kaabi-Mofrad
f118d0fda3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121794 gcornwell: Minor fix to a couple of tests found during verification.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126418 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:51:01 +00:00
Jamal Kaabi-Mofrad
c721bb396e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121705 jkaabimofrad: RA-751, RA-752: Added "autoRename" query parameter support when creating a folder/empty file.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:50:16 +00:00
Jamal Kaabi-Mofrad
5474d0a70f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121614 jvonka: REST fwk - allow select clause properties to take precedence (ie. be included) when using properties 'filter'
   - eg. select=abc,def&properties=id,name, ghi ... should return all five (not just id,name,ghi)
   RA-739


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:50:07 +00:00
Jamal Kaabi-Mofrad
ca1de05fe7 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121563 jkaabimofrad: RA-640: Fixed encoding issue when updating binary content, as well as, multipart uploading.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:49:57 +00:00
Jamal Kaabi-Mofrad
9bcca7763d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121561 jvonka: FileFolder API - add some extra tests for "relativePath" (when getting node info or listing children)
   RA-672, RA-753


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126411 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:49:48 +00:00
Jamal Kaabi-Mofrad
08bb18b229 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121438 jvonka: FileFolder API - support "relativePath" when listing children, eg. /nodes/{parentId}/children?relativePath=f1/f2
   - also add tests both for list children & get node info
   - TODO investigate/fix RA-755
   RA-672, RA-753


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:45:37 +00:00
Jamal Kaabi-Mofrad
c210aaf402 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121355 gcornwell: RA-758: Disable the CheckedOutTest for the 1.1 bindings


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:45:25 +00:00
Jamal Kaabi-Mofrad
2d3deb2a66 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121337 gcornwell: RA-758: Ensure all appropriate TCK tests are being run against all bindings


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:45:14 +00:00
Jamal Kaabi-Mofrad
88eef07069 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121328 jvonka: FileFolder API - add additional (-ve) "move" tests
   - also rationalise some of the other tests (start removing dependency on repoService/repositoryHelper)
   RA-683


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:44:41 +00:00