Commit Graph

30 Commits

Author SHA1 Message Date
Jan Vonka
5c4a450d30 Merged RETURN-OF-THE-API (5.2.0) to HEAD (5.2)
128071: REPO-495: Update + add tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@128106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-09 16:14:36 +00:00
Alan Davis
3e1e1edbaa Merged 5.2.N (5.2.1) to HEAD (5.2)
125788 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      125606 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         125515 slanglois: MNT-16155 Update source headers - add new Copyrights for Java and JSP source files + automatic check in the build


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 17:08:06 +00:00
Alan Davis
da8101a5ba Merged 5.2.N (5.2.1) to HEAD (5.2)
125781 rmunteanu: Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)
      125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
         125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 16:40:56 +00:00
Jamal Kaabi-Mofrad
f9da6185f0 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127621 jkaabimofrad: Replaced anonymous class with lambda, to force the use of Java 8!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 01:33:13 +00:00
Jamal Kaabi-Mofrad
8cc239c53c Missed changes during resolving conflicts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 23:23:57 +00:00
Jamal Kaabi-Mofrad
be30635647 Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127435 jvonka: Node Associations - creating/listing primary child assoc type other than cm:contains
   - follow-on to add api sanity tests
   RA-1092


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 22:23:25 +00:00
Jamal Kaabi-Mofrad
355ae575ef Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
126000 jkaabimofrad: RA-933, RA-934, RA-972: Changed the "tickets" API namespace from "alfresco" to "authentication". Also, added support to the REST API test fwk to handle different API namespaces.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:39:14 +00:00
Jamal Kaabi-Mofrad
d29575ff1b Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125604 jkaabimofrad: RA-933: Initial commit for ticket base authentication.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:26:29 +00:00
Jamal Kaabi-Mofrad
90920131ca Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125406 jvonka: RA-779 / RA-780: Sites API - initial commit for create site [default/functional Share site ;-)] & delete site


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@127528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-02 21:17:46 +00:00
Jamal Kaabi-Mofrad
e7a64fe8f5 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
126201 jkaabimofrad: SFS-558: Added test for the move/copy between sites.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 12:12:06 +00:00
Jamal Kaabi-Mofrad
4c2d58fa31 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124729 jvonka: RA-773: Try bumping retry count for async rendition creation on build m/c (SharedLinkApiTest)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:37:27 +00:00
Jamal Kaabi-Mofrad
c1d3421cc8 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124269 jvonka: RA-834: Optionally request generation of a rendition on content creation (eg. file upload)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:28:14 +00:00
Jamal Kaabi-Mofrad
071f8481d6 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123126 jkaabimofrad: RA-676: Added 304 response tests in the download rendition api. Also, removed the check for "Expires" header in the tests (as we are using no-cache by default, the "Expires" header value always returns "Thu, 01 Jan 1970 00:00:00 GMT", so it is currently irrelevant).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:21:17 +00:00
Jamal Kaabi-Mofrad
ee3a942fc7 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123112 jvonka: Nodes (FileFolder) API - version options when updating/uploading (overwriting) existing content
   - add tests .. for now check version label only (pending future "list version history" + "get version" etc)
   RA-690


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:21:08 +00:00
Jamal Kaabi-Mofrad
c43cc28a2a Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123088 jvonka: Nodes (FileFolder) API - some test cleanup


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:21:02 +00:00
Jamal Kaabi-Mofrad
ce962da95d Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123086 jkaabimofrad: Added support to allow the REST API tests to set the request headers.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:20:55 +00:00
Jamal Kaabi-Mofrad
ad207dc72f Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123046 jvonka: Update API tests for  - tweaks for common code, also check that Last-Modified and Expires are not null when downloading file content/rendition
   RA-641, RA-676, RA-829, RA-830


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:20:08 +00:00
Jamal Kaabi-Mofrad
8e27cb0de1 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
123021 jvonka: (Quick) Shared Links API - as requested, add extra +ve/-ve tests for optional "attachment" header when getting file/rendition content (via unauthenticated shared link)
   - note: also tested via the NodeApiTest (when getting file/rendition content)
   RA-829, RA-830


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:19:29 +00:00
Jamal Kaabi-Mofrad
a519130b4c Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122947 jvonka: (Quick) Shared Links API - updates
   - test for get rendition content via share link (no auth)
   - add optional filter (sharedByUser) to find links
   RA-830, RA-777


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:18:18 +00:00
Jamal Kaabi-Mofrad
e9e5027d83 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122770 jvonka: Nodes & Shared Links APIs - some test refactoring
    - primarily introduce createTextFile helper (in addition to createFolder/createNode) to reduce dependency on "repoService" test helper
   - also means we're using the v1 api to upload test content :-)
   RA-388, RA-773


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:16:24 +00:00
Jamal Kaabi-Mofrad
6d8e8e5ecd Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122631 jkaabimofrad: RA-676: Added node's renditions REST API.
           - Download renditioned content + test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:11:15 +00:00
Jamal Kaabi-Mofrad
f470bf8efa Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122626 jvonka: Nodes (FileFolder) API - add "permanent" option to delete node (to optionally bypass archive/trashcan)
   - follow-on such that user cannot delete permanently (even with delete permission) unless they're owner or admin of node (for hierarchy, only checks parent folder node) 
   RA-837, RA-642


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:10:24 +00:00
Jamal Kaabi-Mofrad
6e2fbe27e3 Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122594 jvonka: REST api fwk: pass through query params for DELETE method
   - also update REST api test fwk
   RA-837


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-10 11:09:33 +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
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
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
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
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
Jamal Kaabi-Mofrad
8855ef66f8 ACE-4469: Merged BRANCHES/DEV/HEAD-SFS (cherry picked) to HEAD
113520: SFS-179: Added multipart upload support into Public API framework.
   114561: SFS-179: Added tests for upload API, as well as minor fixes.
   114732: SFS-179: Changed the assert import from 3.X to 4.X.
   114734: SFS-179: Added unit tests for Public API framework multiPart support.
   114735: SFS-179: Fixed unit test failure.
- Also removed mergeinfo added in r112639

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@114736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-10-19 23:25:59 +00:00
Gethin James
8962c270e3 Merge Sabre4 to HEAD
110680: Tests for ModulePackages api endpoint RA-370, moved some CMM logic to AbstractBaseApiTest


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-09-01 13:04:56 +00:00