Commit Graph

11 Commits

Author SHA1 Message Date
Jan Vonka
bb0ab874a0 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137907 jvonka: Trivial improvement: Queries REST API Test - testFieldsId
   - noticed whilst running ApiTest suite locally for new V1 Audit REST API
   - hence initially committed on 5.2.N-AUDIT-API branch (prior to merge to 5.2.N
   - this tests now passes even if AbstractSingleNetworkSiteTest -> useDefaultNetwork is set to true


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137967 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:10:23 +00:00
Jan Vonka
e3355b881b REPO-1646: V1 REST API - cannot unset optional fields (eg. when updating person / site details ...)
- fix test fallout (Person returns empty Company object by default - as per existing V1 getPerson API)
- TODO review the way we match expected results QueriesPeopleApiTest (vs other test patterns)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-11-30 15:51:00 +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
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
Alan Davis
4b308b5cdc REPO-1079 Rename "Live Search" API endpoints
- Changes to end points to reflect the rename of:
     /queries/live-search-nodes  to /queries/nodes
     /queries/live-search-people to /queries/people
     /queries/live-search-sites  to /queries/sites


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-09 09:33:20 +00:00
Martin Muller
fda06755c6 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129059 adavis: REPO-243 People Live Search
      - Use id (in fields and orderBy) rather than userName as it is an id that is returned in the Person entity
      - Added tests to test id can be used in fields and orderBy
      - Added 'wildcard' tests created by Alexandru-Eusebiu Epure


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129199 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:50:07 +00:00
Martin Muller
267cdf9072 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129037 adavis: REPO-243 People Live Search
      - Added another orderBy test following a question from Jan.
      - Minor change in post order code to replace a Map lookup with a List lookup. Logically the same but faster.
      - Replaced a NPE test failure with a failure message if TEST_COUNT is too small


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:35 +00:00
Martin Muller
dd330266ed Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129017 adavis: REPO-243 People Live Search
      - Added additional tests
      - Removed check in Person constructor for no id as we want to be able to create a Person from json which might not have the id.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:27 +00:00
Martin Muller
83e9fdf964 Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
129004 adavis: REPO-243 People Live Search
      - First cut of this code
      - Includes a re-factor of the code used by GET /queries/live-search-nodes as there is much in common.
      - Still have some tests to write and there are bound to be comments from the review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-08-05 13:49:15 +00:00