* feature/REPO-437_Audit_REST_API: (26 commits)
REPO-1786 - Retrieve Audit Entries for a Node - minor code formatting
REPO-1786 / REPO-2668 / REPO-2669 - Retrieve Audit Entries for a Node - fix permission issue & update related JUnit tests
REPO-1786 / REPO-2668 / REPO-2669 - Retrieve Audit Entries for a Node - minor re-formatting & cleanup
REPO-1786 / REPO-2668 / REPO-2669 - Retrieve Audit Entries for a Node: - fixed a small issue: in case createdByUser is used in 'where' clause to retrieve audit entries for a node that were created by a user, a response code 400 was received. Now the audit entries are retrieved and response code 200 is received - fixed the case where createdByUser = 'me' is used in 'where' clause to retrieve entries for the current user - added a Junit test to cover these scenarios
REPO-1787 - Retrieve Audit Entry - return "values" by default for single audit entry
REPO-2555 / REPO-1787 - Retrieve Application Audit Entries (minor fix - return auditAppId not auditAppName)
REPO-2669 - REST API: Retrieve Node (alfresco-access) Audit Entries - add detailed JUnit tests (+ve & -ve): - refactored the tests to minimize code duplication
REPO-1519 / REPO-2642: REST API: Delete Application Audit Entries - implement API code - fixed a small bug: the response code was incorrect (response code 204) in case the parameters from 'between' clause were consecutive and inversed (e.g where=(id BETWEEN(2,1)) ). For this case a Response code 400 is received - added a Junit to test the above fix
REPO-2669 REST API: Retrieve Node (alfresco-access) Audit Entries - add detailed JUnit tests (+ve & -ve)
REPO-1519 / REPO-2645: Delete Application Audit Entries - add detailed JUnit test (+ve & -ve) - added Junits for +ve and -ve test cases for DELETE /audit-applications/{auditApplicationId}/audit-entries endpoint
REPO-2664: REST API: Delete Audit Entry - add detailed JUnit test (+ve & -ve) Correct the comment for the positive test (200 to 204 returned code for the positive test)
REPO-2598 : REST API: Retrieve Application Audit Entries - add JUnit test (+ve & -ve)
Revert "REPO-2598 Retrieve Application Audit Entries - add JUnit test (+ve & -ve)"
REPO-2598 Retrieve Application Audit Entries - add JUnit test (+ve & -ve)
REPO-2668 REST API: Retrieve Node (alfresco-access) Audit Entries - implement code
REPO-2661 - REST API: Retrieve Audit Entry - add detailed JUnit test (+ve & -ve) REPO-2664: REST API: Delete Audit Entry - add detailed JUnit test (+ve & -ve) Fix comments mistype( for Positive tests we recieve 200 status code instead of 400), convert audit-entry id from long to string at the start of the test instead of converting it on each API call.
REPO-2664: REST API: Delete Audit Entry - add detailed JUnit test (+ve & -ve) add test for delete audit entry +ve & -ve REPO-2661: REST API: Retrieve Audit Entry - add detailed Junit test (+ve & -ve) add 400 (Bad Request) scenario to the test.
REPO-2661 - REST API: Retrieve Audit Entry - add detailed JUnit test (+ve & -ve) Add Junit test +ve &-ve
REPO-2555 / REPO-1519 - Retrieve / Delete Application Audit Entries - fix ISO8601 parsing (eg. +0000)
REPO-2555 / REPO-1787 - Retrieve Application Audit Entries / Entry (fix user lookup)
...
* REPO-2792: add the new test suite structure based on application context
* REPO-2792: balance the tests in the job better
* REPO-2792: delete the old test suites
* REPO-2792: try another rebalance as the first job still had too much work
* REPO-2792: more balancing
* REPO-2792: balance after looking at the times of the tests in the surefire reports
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
137899 aforascu: REPO-1785 / REPO-2585 - Retrieve Audit Application info
- added a negative test (501 response code) for testGetAuditApp() Junit
- added AuditTest class as an extra layer for methods and objects common to audit Junits (e.g enabling / disabling system audit)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261