Commit Graph

13 Commits

Author SHA1 Message Date
Gethin James
9975042571 SEARCH-189: Always return skipCount and maxItems
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-30 11:22:15 +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
1b4fe8ad9e REPO-1059: REST API: Invalid orderBy field is ignored
- additional fix + test case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-13 10:56:05 +00:00
Jan Vonka
566179e8b2 REPO-1059: REST API: Invalid orderBy field direction is ignored (hence defaults to ascending rather than returning an error)
- implement fix & update test
- note: InvalidArgumentException maps to HTTP 400
- note: we already have tests for case-insensitive (ie. we allow ASC, Asc, AsC, DESC, Desc, DeSC, or similar)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-12 11:17:04 +00:00
Gethin James
580b464ad2 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130030 gjames: Manual merge of r129730 and r129731:mmuller:Add a specific error message for invalid maxItem and skipCount. REPO-1061


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:14 +00:00
Gethin James
b4bbb859e9 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
130029 gjames: Manual merge of r129701:mmuller:Add a specific error message for the maxItem=0. REPO-890


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 15:38:05 +00:00
Gethin James
f60bdb5914 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129777 gjames: Reformatted to Alfresco standards


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:52 +00:00
Gethin James
b2a6ad44ef Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129776 gjames: SEARCH-113: Adding a default success response


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:45 +00:00
Gethin James
c12508fb75 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129775 gjames: Updated the auto-generated headers using mvn license:update-file-header


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130166 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:38 +00:00
Gethin James
bfd32ef859 Merged searchapi (5.2.1) to 5.2.N (5.2.1)
129774 gjames: SEARCH-113: Moving more api logic to helper classes, using a "trait" style


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-09-06 14:14:29 +00:00
Alan Davis
cf17943d43 Merged HEAD (5.2) to 5.2.N (5.2.1)
127899 adavis: Update source headers that came from API-STRIKES-BACK


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127901 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-06 11:13:46 +00:00
Alan Davis
10aebdcf28 Merged HEAD (5.2) to 5.2.N (5.2.1)
127592 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      127226 gjames: RA-1064: Added a WebScriptExceptionResolver


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:18:42 +00:00
Alan Davis
b2fe847b6c Merged HEAD (5.2) to 5.2.N (5.2.1)
127571 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
      126242 gjames: RA-878:All api errors should return the standard error object


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-06-03 14:14:04 +00:00