Commit Graph

5481 Commits

Author SHA1 Message Date
Andrei Rebegea
31b3007a4b Merge pull request #3 from Alfresco/MNT-17745_add_test
MNT-17745: add tests into a test suite. This test does not use an app…
2017-08-22 14:38:25 +03:00
Andrei Rebegea
f206e71020 MNT-17745: add tests into a test suite. This test does not use an app context 2017-08-22 14:06:23 +03:00
Alex Mukha
b3ee00b84d Merge branch 'fix/MNT-17745_IndexDatesBefore1848' into develop 2017-08-22 00:15:31 +01:00
Alex Mukha
0f672dfb26 Code Quality: Added missing null checks 2017-08-22 00:08:20 +01:00
Alex Mukha
751d4c0257 Merge branch 'feature/REPO-437_Audit_REST_API' into develop
* 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)
  ...
2017-08-22 00:06:35 +01:00
Alex Mukha
37ff2cb2af REPO-2669 - REST API: Retrieve Node (alfresco-access) Audit Entries - add detailed JUnit tests (+ve & -ve):
- refactored the tests to minimize code duplication
2017-08-21 23:50:22 +01:00
Alex Mukha
f17fa25151 Create LICENSE 2017-08-17 16:27:38 +01:00
Alex Mukha
062b3aac37 REPO-2756 Add readme and contributing guide 2017-08-17 16:26:01 +01:00
Andrei Rebegea
6149a95104 Repo 2792 split tests on context (#2)
* 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
2017-08-16 15:57:02 +03:00
Alex Mukha
e4b4fd50bb REPO-2724 Fix test module to work with repo version 2017-08-04 15:54:48 +01:00
Alex Mukha
7b03b7d76e REPO-2724 Increase repository version 2017-08-04 15:26:08 +01:00
Alex Mukha
80ccfd00d3 REPO-2724 Add licence header checks 2017-08-03 14:22:30 +01:00
Alex Mukha
933fd1befd Merge pull request #1 from Alfresco/develop
REPO-2724 Fix pom to run integration tests
2017-08-01 21:03:13 +01:00
Alex Mukha
5cd452ac22 REPO-2724 Enable FTR for integration tests 2017-08-01 20:44:00 +01:00
Alex Mukha
8c4b16baec REPO-2724 Fix pom config for transformation tests 2017-08-01 17:27:56 +01:00
Alex Mukha
884f618781 REPO-2724 Enhance pom for integration tests 2017-08-01 16:40:33 +01:00
alfresco-build
1efe672a60 [maven-release-plugin] prepare for next development iteration 2017-07-28 18:18:24 +01:00
alfresco-build
a787d15b0b [maven-release-plugin] prepare release alfresco-remote-api-6.0 2017-07-28 18:18:18 +01:00
Alex Mukha
db706a73c4 REPO-2724 Add gitignore 2017-07-28 17:48:29 +01:00
Alex Mukha
427bee5a26 REPO-2724 Fix pom after split 2017-07-28 17:47:37 +01:00
Alex Mukha
de4cb3fdf8 REPO-2724 Apply default maven folder structure 2017-07-28 16:54:44 +01:00
Matt Ward
a9feda2f0b Merge branch 'develop' of git.alfresco.com:Repository/repo into develop 2017-07-21 16:09:23 +01:00
Alan Davis
5546c363be Fix/mnt 15937 cmis filter 2017-07-21 16:09:06 +01:00
Alan Davis
5dd0fc26e5 Fix/mnt 15937 cmis filter 2017-07-21 14:32:53 +01:00
Ancuta Morarasu
1cbb113c3a REPO-2346: Create develop branch from 5.2.N and change version to 5.3-SNAPSHOT 2017-07-13 15:39:27 +03:00
David Webster
5cbcb7d493 MNT-18018: Use same de-dupe marker detection in client side code to prevent version comparison displaying if filename difference will be ignored on upload.
(partial merge - changes in share were skipped)
(cherry picked from commit 3614ebb6510a4137dd7ce7d988def985ea6eb1d6)
2017-07-13 15:23:04 +03:00
David Webster
252563d05f MNT-18018: Ensure filename is correctly escaped before being passed into RegEx.
(cherry picked from commit 787e42b0639412a66a6c4e5b0658b9b9e9992fcc)
2017-07-13 15:22:43 +03:00
David Webster
42e2243dc0 MNT-18018: Add check to ensure that we don't introduce spurious filename changes when using Edit Offline repeatedly.
(cherry picked from commit 638112d0a073da1591f16970dde48d9b908b5cd5)
2017-07-13 15:22:20 +03:00
Jan Vonka
40737b18ec Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137954 jvonka: REPO-2555: Retrieve Audit Application Entries - temporarily comment out failed testGetAuditEntries
   - added TODOs & comment to sub-task REPO-2598


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:12:05 +00:00
Jan Vonka
e50e49d525 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137952 jvonka: REPO-2555: Retrieve Audit Application Entries - fix compilation issue & minor refactor/cleanup
   - see sub-task REPO-2619


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:58 +00:00
Jan Vonka
0e86382a6b Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137949 anechifor: REPO-2555 validate auditAppId


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:51 +00:00
Jan Vonka
03ec9fbbcf Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137948 jvonka: REPO-1785: Get Audit App Info - minor code formatting & consistency fix 
   - noticed whilst verifying REPO-2585


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:43 +00:00
Jan Vonka
fa37e7b8f2 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137947 anechifor: add total items


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137977 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:37 +00:00
Jan Vonka
589867297f Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137946 anechifor: add totalItems


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:31 +00:00
Jan Vonka
a706379934 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137945 anechifor: REPO-2555 audit Entries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:22 +00:00
Jan Vonka
a04d774ff6 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137931 anechifor: REPO-2555 audit-entries added include


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:16 +00:00
Jan Vonka
1b35b79dfa Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137930 anechifor: REPO-2555 audit-entries retrieve


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:09 +00:00
Jan Vonka
97299a3616 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137927 eknizat: REPO-1298 Enable/Disable Application Auditing - Changes following code review


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137972 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:11:02 +00:00
Jan Vonka
131985f84d Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137926 aforascu: REPO-2555 / REPO-2598 - Retrieve Application Audit Entries
       - commented failing tests for Response Codes 400&404


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137971 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:10:54 +00:00
Jan Vonka
9fcff2ecad Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137925 aforascu: REPO-2555 / REPO-2598 - Retrieve Application Audit Entries
       - added Junit positive and negative tests for audit entries: checked response codes and basic audit entry details 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137970 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:10:45 +00:00
Jan Vonka
4ec36646bd Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137909 eknizat: REPO-1298,REPO-2624 Enable/Disable Application Auditing - Add junit tests for 501 error code


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:10:38 +00:00
Jan Vonka
87d5202adf Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137908 anechifor: REPO-2619 - adding implementation of listAuditEntries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:10:30 +00:00
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
4032d49248 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137906 aforascu: REPO-1785 / REPO-2585 - Retrieve Audit Application info
       - deleted AuditTest.java and added the methods from it to AuditAppTest.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:10:01 +00:00
Jan Vonka
8ed0f981b8 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137905 anechifor: REPO-2619 - adding implementation of listAuditEntries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:09:55 +00:00
Jan Vonka
0da3bb1492 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137900 eknizat: REPO-1298,REPO-2624 Enable/Disable Application Auditing - Add junit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:09:49 +00:00
Jan Vonka
e66ff31d3c Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
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
2017-07-12 12:09:43 +00:00
Jan Vonka
72ca042f3b Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137897 anechifor: REPO-2619 - adding implementation of listAuditEntries


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:09:36 +00:00
Jan Vonka
bbfd3a75a6 Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137892 eknizat: REPO-1298 Enable/Disable Application Auditing


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:09:29 +00:00
Jan Vonka
02d812a0cd Merged 5.2.N-AUDIT-API (5.2.2) to 5.2.N (5.2.2)
137889 aforascu: REPO-1785 / REPO-2585 - Retrieve Audit Application info
       - added Junit tests (positive and negative)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2017-07-12 12:09:21 +00:00