Commit Graph

26 Commits

Author SHA1 Message Date
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
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
Jamal Kaabi-Mofrad
22f204941b Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121255 jvonka: FileFolder API - add move (with optional rename)
   - also add +ve/-ve tests
   RA-683


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:44:27 +00:00
Jamal Kaabi-Mofrad
4808aaef45 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121206 jvonka: FileFolder API - NodeApiTest - minor updates around 'expected' checks
   - pre-work (eg. before implementing "move" and also hiding "sys" namespace aspects/props, etc) 
   RA-638, RA-683


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:44:09 +00:00
Jamal Kaabi-Mofrad
381c83facf Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121204 gcornwell: Very minor formatting and test fixes spotted during verification of various stories.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:43:59 +00:00
Jamal Kaabi-Mofrad
9c2e9983ff Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120807 jvonka: FileFolder API - create/update node will return 400 for unknown property or aspect (not in dictionary models)
   - we no longer ignore invalid property and now also return correct error code for invalid aspect
   - update NodeApiTest and A/C of JIRAs ( RA-635, RA-636, RA-637, RA-638 )
   - note: in the future, we could consider option (eg. via query param) to allow residual props on create or update (or at least ability to nullify)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:43:44 +00:00
Jamal Kaabi-Mofrad
f03a6e9e0e Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120735 jvonka: FileFolder API - NodeApiTest - add more tests for "list (folder) children"
   RA-634


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:43:28 +00:00
Jamal Kaabi-Mofrad
cfee1bb594 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120648 jkaabimofrad: RA-640: Added test to update node content. Also, minor modification to satisfy the IDEA's code analysis.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126394 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:39:38 +00:00
Jamal Kaabi-Mofrad
4cb38289a5 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120645 jkaabimofrad: RA-638: Added test to GET node information.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:39:27 +00:00
Jamal Kaabi-Mofrad
dcc2467133 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120469 jvonka: FileFolder API - NodeApiTest - add test to retrieve content
   - also update test fwk to support post request body as byte array (as well as string)
   RA-641


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:37:51 +00:00
Jamal Kaabi-Mofrad
ff65db22e9 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120464 jkaabimofrad: RA-725: Changed the "userName" property in minimal person response to "id".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:37:10 +00:00
Jamal Kaabi-Mofrad
8c957be649 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120439 jvonka: RA-630: FileFolder API - update antlr grammar in REST fwk for select/where clause
   - to allow colon in property name identifier (json path)
   - also update impl + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:36:33 +00:00
Jamal Kaabi-Mofrad
9ec0c640f3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120084 jkaabimofrad: RA-640, RA-681: made "update node content" API to return the default JSON representation of the file node. Also added a test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:36:18 +00:00
Jamal Kaabi-Mofrad
10d9b76ddb Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
120059 jvonka: FileFolder API - NodeApiTest - add tests (+ve & -ve) to update node information
   RA-639


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:35:31 +00:00
Jamal Kaabi-Mofrad
e8f94dbdaa Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119921 jkaabimofrad: Finished the requirements in RA-637. Added nodeType form data, the client provided content-type will be used if it is not null, and also support for model properties in the form data.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:35:00 +00:00
Jamal Kaabi-Mofrad
ee8bc09fd3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119840 jvonka: FileFolder API - update NodeApiTest (testCreateFolder & testCreateEmptyFile)
   - follow pre-existing "expected" api test pattern


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:34:20 +00:00
Jamal Kaabi-Mofrad
7212f0eec6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119837 jvonka: FileFolder API - fix build (BCK) & api tests
   - as agreed, for now split test client api models from server-side impl
   - rename existing Node/Document/Folder to FavouriteNode/Document/Folder (for backwards compat')


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:34:09 +00:00
Jamal Kaabi-Mofrad
945ccb724b Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119801 jkaabimofrad: RA-637: Added autoRename form data for the multipart upload, so, on name clash, the API will try to auto­rename the file with an integer counter.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:33:36 +00:00
Jamal Kaabi-Mofrad
01777c4bd3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119798 jvonka: FileFolder API - NodeApiTest - add tests (+ve & -ve) to create empty file node
   - TODO subsequently show that file content can be updated
   RA-636


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126369 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:33:27 +00:00
Jamal Kaabi-Mofrad
cc94c78812 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119796 jvonka: FileFolder API - NodeApiTest - add tests (+ve & -ve) for create folder
   RA-635


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:33:16 +00:00
Jamal Kaabi-Mofrad
981f35301b Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119790 jvonka: FileFolder API - NodeApiTest - add test for delete node
   RA-642


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:33:06 +00:00
Jamal Kaabi-Mofrad
84f812c5c2 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119730 jvonka: FileFolder API - NodeApiTest - fix check for path elements (null unless selected)
   -RA-638


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:31:42 +00:00
Jamal Kaabi-Mofrad
840c1ba969 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
119504 jkaabimofrad: RA-637, SFS-260: Added multipart upload REST API.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 10:30:20 +00:00
Jamal Kaabi-Mofrad
d8eb979be3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
118825 jkaabimofrad: RA-655: manual merge of SFS module to FILE-FOLDER-API.


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