Commit Graph

6 Commits

Author SHA1 Message Date
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