REPO-892: make sure not all fields need to be supplied during create.
REPO-892: throws error if fields exclusively belonging to Person (that are not part of PersonUpdate) are sent in request.
REPO-892: cleaned up PersonUpdateJSONSerializer a little, by removing unnecessary 'fullVisibility' switch.
REPO-892: improved test for optional fields; added test for too few fields.
REPO-892: added tests (and impl where needed) for -ve response codes as given in the open api spec for create person.
REPO-892: fixed broken test due to reuse of username.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Creating branch for REPO-892 (Create person REST API)
REPO-892: create person - initial commit, bare-bones implementation and test.
REPO-892: refactored test versions of Person and Company to reduce duplication.
REPO-892: further refactoring to reduce prod/test duplication.
REPO-892: add missing fields to the 'create person' operation.
REPO-892: introduced PersonUpdate class for create (and I'm assuming update) operations.
REPO-892: missing license header
REPO-892: very minor refactoring - extract field in tests.
REPO-892: make sure not all fields need to be supplied during create.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
128207 jvonka: V1 REST API: Node Version History - add "revert version" operation
- ie. promote a previous version to become a new (most recent) version
- POST /nodes/nodeId/versions/versionId/revert (with request body, optionally majorVersion &/or comment)
REPO-236
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127604 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
127414 jvonka: Node Associations - create node with assocs (peer &/or secondary child)
- can be optionally used to create (eg. mandatory) assoc(s) to other existing node(s)
RA-925
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127567 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@127661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127555 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125601 jvonka: RA-779: Sites API - create site
- additional tests (site description & also max lengths for id, title & description)
- fix site id validation (repeating valid chars)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127532 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125514 jvonka: RA-779 / RA-780: Sites API - create site & delete site
- fix delete/remove test status code
- note: also put back previous rendition status codes (=> raise separate local vs build issue)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127642 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
127531 jkaabimofrad: Merged API-STRIKES-BACK (5.2.0) to HEAD (5.2)
125513 jvonka: RA-779 / RA-780: Sites API - create site & delete site
- follow-on improvemnts (generating site id, adding favorite with option to sip)
- more tests (+ve & -ve)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126573 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
124623 jkaabimofrad: SFS-405, RA-778: Added tests and as the result did some minor modifications. Also, removed the ability to set or remove a client via JMX (Read only).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126509 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122792 jkaabimofrad: RA-676, RA-677, RA-678:
- Added check to return 404 response when the renditionId is registered but is not applicable for the node's mimeType.
- Added check to return 400 when the source node has no content.
- Changed the create rendition response to return an empty body.
- Modified the exception when the renditionId is not registered.
- Fixed the framework to include “errorKey” in the error response which was missing from some exceptions such as EntityNotFoundException.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126853 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126495 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122697 jvonka: (Quick) Shared Links API - first-cut for shared links api tests (+ve & -ve)
- also tweaks to REST api test 'fwk' (harness)
RA-773, RA-708, RA-776, RA-750, RA-829, RA-775
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126401 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
121206 jvonka: FileFolder API - NodeApiTest - minor updates around 'expected' checks
- pre-work (eg. before implementing "move" and also hiding "sys" namespace aspects/props, etc)
RA-638, RA-683
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
126385 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261