Cristian Turlica
0ffa19ad19
REPO-1417: Allow Discovery to be disabled - add -ve test(s)
...
- added test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-17 09:14:09 +00:00
Matt Ward
ba33a435d4
REPO-1348/REPO-1349: implemented checks to guard against invalid fields
...
Explicitly rejects fields: id, guid and role
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 16:19:00 +00:00
Iuliana Danea
82f2708aa7
ACE-5453: 500 error: GET /nodes/{nodeId}/ratings?skipCount=XXX
...
- implemented fix and added new unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-13 06:52:01 +00:00
Cristian Turlica
3f6a5d9e81
REPO-1394: Discovery: merge back to 5.2.N (from feature branch)
...
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
130980 jkaabimofrad: REPO-224: API for retrieving detailed repository information.
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
131056 jkaabimofrad: REPO-224: Removed "transformationServerExpiresAt" attribute from the license JSON response as it is not part of AC.
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
131179 jkaabimofrad: REPO-224: Modified the license's entitlement response to always return "isClusterEnabled" and "isCryptodocEnabled".
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-12 05:14:58 +00:00
Raluca Munteanu
316a9644d4
REPO-1355: Get Rendition info - add automated tests
...
- added tests for /shared-link/{sharedLinkId}/renditions/{renditionId} endpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-11 10:33:59 +00:00
Matt Ward
eba3054605
Merged r131242:131277 from BRANCHES/DEV/mward/5.2.n-restapi into BRANCHES/DEV/5.2.N
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 16:03:58 +00:00
Cristina Mocanu
aa6f02fbc2
REPO-1360 - Filter sites by visibility - add automated test for NOT in where clause
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 15:23:47 +00:00
Cristian Turlica
66c78c8dcd
REPO-1360: Filter sites by visibility - add automated tests
...
- added new tests for filter by visibility
- updated getSites by personId because the value of totalItems wasn't calculated, also updated existing tests that where using the incorrect expected value.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-10 12:48:37 +00:00
Matt Ward
8d91423894
REPO-1348: initial check-in for "update site" API implementation.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-06 11:17:16 +00:00
Jan Vonka
2ab6aa4676
REST API Tests: minor - update TestNodeRatings to use new V1 create site
...
- REPO-112
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-10-03 14:02:34 +00:00
Jan Vonka
5b4b7e00dd
REST API Tests: minor pre-work (mark RepoService.createSite as deprecated, remove exists/delete)
...
- build attempt
- REPO-1344, REPO-112
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131113 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-30 14:11:28 +00:00
Jan Vonka
33c60f39c5
REST API Tests: minor
...
- build attempt (to move CMIS-related tests to appropriate test suite)
- REPO-414, REPO-968
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-29 10:36:05 +00:00
Ancuta Morarasu
f5a3fa3a3f
REPO-484: [REST API] Added more comprehensive tests for the 'where' predicate - covered most of the endpoints, except the workflow ones.
...
- More tests should be added in REPO-1249
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-27 12:03:34 +00:00
Jan Vonka
114ce8b02c
REPO-1027: V1 REST API - minor: tweak TestSiteMembers
...
- to make it repeatable (TODO further splitting/refactoring)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-26 15:26:57 +00:00
Jan Vonka
6e857ad3bf
REPO-1027: V1 REST API - fix error handling (update / remove site member)
...
- already fix on 5.2(.N) so simply add -ve api tests
- ACE-5444
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-23 16:56:39 +00:00
Jan Vonka
ffb51954d8
REPO-1027: V1 REST API - fix error handling (update site member)
...
- already fix on 5.2(.N) so simply add -ve api tests
- ACE-5443
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 09:41:59 +00:00
Jan Vonka
533e948222
REPO-1027: V1 REST API - fix error handling (add site member)
...
- fix error code (should be 400 not 500) & add -ve api tests
- ACE-5458
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 09:27:50 +00:00
Jan Vonka
62f10172a6
REPO-1027: V1 REST API - fix error handling (get site membership request)
...
- fix error code (should be 404 not 500) & add -ve api test
- ACE-2049 / ACE-5442
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-22 08:49:27 +00:00
Jan Vonka
0aed749b05
REPO-1058 / REPO-1244: REST API - list Sites - orderBy
...
- tweak the default (as agreed with GC)
- update automated unit test (and also refactor to make it re-runnable and to consistently use create site api)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-21 10:13:59 +00:00
Jan Vonka
b69a0ab012
REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces
...
- bump the test count, thanks Ancuta :-)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-20 13:28:34 +00:00
Jan Vonka
6501413922
REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-20 13:11:22 +00:00
Jan Vonka
94efedd1b1
REPO-1058 / REPO-1244: REST API - list Sites - orderBy
...
- add automated unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 14:46:29 +00:00
Jan Vonka
6242e57e6c
REPO-1058: REST API - list sites that person is member of ...
...
- fix orderBy tests and backward compatibility
- REPO-1242, / REPO-1244
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-19 13:03:35 +00:00
Jan Vonka
ffcd8885c9
REPO-1058: REST API - minor refactor of TestSites to split the existing test
...
- prep' for REPO-1058 / REPO-1244
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-15 10:13:05 +00:00
Cristina Mocanu
e05b5d5a0e
REPO-164 - Added new negative unit test for includeChildren: try to lock using includeChildren parameter that has been removed and 400 response code is retrieved.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 12:26:19 +00:00
Ancuta Morarasu
302e275b3e
REPO-1059: Fix tests number.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-14 12:05:58 +00:00
Jan Vonka
2b312bf4ce
REPO-1059: REST API: Invalid orderBy field is ignored
...
- minor follow-on (comment in the specific test when this issue was found - in addition to the new generic tests)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 16:58:20 +00:00
Ancuta Morarasu
e586f9f210
REPO-484: [REST API] 400 error for unsupported NOT operator in the 'where' predicate.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130610 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 15:41:43 +00:00
Cristina Mocanu
b2accc9af8
REPO-164 - Added new unit test for timeToExpire parameter: locked a document, tried to delete while is locked, wait until expiration time has passed and delete the document.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 13:19:22 +00:00
Cristina Mocanu
c69160a717
Added new negative test for Lock functionality: try to lock a folder.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 11:39:10 +00:00
Jan Vonka
bae222c1f3
MNT-16449: CMIS delete version fails on versions other than latest (most recent) version
...
- add commented-out test to demonstrate the issue (we can then decide to prioritise accordingly)
- note: this scenario works via V1 REST API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-09 15:04:32 +00:00
Ancuta Morarasu
59eed12c13
REPO-1164: [REST API] 422 error when executing unlock on a node that is not locked
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-07 11:48:02 +00:00
Gethin James
59a1186522
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
130005 gjames: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
129716 amorarasu: REPO-340 / REPO-1136 - V1 REST API: Unlock Node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:12:54 +00:00
Gethin James
91cc53e31b
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
129999 ahind: Merged 5.2.N-AHIND (5.2.1) to searchapi (5.2.1)
129643 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:58:13 +00:00
Gethin James
faeb31dabe
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
129786 gjames: SEARCH-113: Adding client object for SearchEntry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:18:27 +00:00
Gethin James
b18f433fca
Merged searchapi (5.2.1) to 5.2.N (5.2.1)
...
129778 gjames: SEARCH-113: Initial implementation of the Search public API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:15:02 +00:00
Jan Vonka
30a211d262
REPO-1187 / REPO-164: V1 REST API to "lock content node" - initially, we will support one of two lock types, either ALLOW_OWNER_CHANGES (default, if not requested otherwise) or FULL
...
- we will not support ALLOW_ADD_CHILDREN lock type (removed as part of this change request)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-01 10:35:46 +00:00
Martin Muller
ed67760ab4
Restrict lock method to content types. REPO-1158
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-26 09:15:52 +00:00
Jan Vonka
25988a8efb
REPO-1090: fix regress (V1 REST API - list children within the context of a smart folder)
...
- follow-on (re: NodeApiTest.getChildrenAssocType fallout - when returning any assoc, not just cm:contains)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 17:02:31 +00:00
Ancuta Morarasu
8dfbbeaf3d
REPO-1155 / REPO-160 / REPO-340 - V1 REST API: Remove "includeChildren" option for Lock / Unlock in the rest api (REPO-1163)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-25 16:16:37 +00:00
Jan Vonka
51c220c5a5
REPO-164 / REPO-1150: fix minor regress (eg. if recursively locking nodes via includeChildren)
...
- MNT-16446, MNT-14945
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-24 12:11:40 +00:00
Ancuta Morarasu
b04cef45d1
REPO-340 / REPO-1136 - V1 REST API: Unlock Node
...
- Removed the allowCheckedOut option from the unlock body
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 20:24:18 +00:00
Ancuta Morarasu
d53ac5135a
REPO-340 / REPO-1136 - V1 REST API: Unlock Node
...
- Unlock with includeChildren=true - fixed + testcases
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129791 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 11:34:52 +00:00
Jan Vonka
650554b62c
REPO-164 / REPO-1141: fix error mapping when unable to update content due to locked node (should be 409 not 500)
...
- also minor cleanup of error handling/mapping (handle within common "writeContent")
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-23 11:14:03 +00:00
Martin Muller
2c62e68f71
Added somes tests for invalid paging parameters. REPO-1061, REPO-890
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 13:24:38 +00:00
Ancuta Morarasu
ecec348d6c
REPO-164 / REPO-1086 - V1 REST API: Lock Node
...
- review suggestions
- added more test cases + utility methods
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129751 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-22 13:10:19 +00:00
Ancuta Morarasu
063dde5d8b
REPO-340 / REPO-1136 - V1 REST API: Unlock Node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-19 18:37:10 +00:00
Jan Vonka
0376e880d0
REPO-1138 / REPO-983: Add support for the isLocked property
...
- can optionally "include" when getting node info, listing children, ...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-19 16:22:09 +00:00
Ancuta Morarasu
3374ed8e49
REPO-164 / REPO-1086 - V1 REST API: Lock Node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-18 12:11:24 +00:00
Alan Davis
c82cfb582c
REPO-1069 Review live search sort order / sort type (sites and also people)
...
- Removal of parameter sortType - we are going to be using the POST_QUERY_SORT
- Removal of tests using IN_QUERY_SORT except for the one to do with the default sort.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 10:09:49 +00:00