Commit Graph
1495 Commits
Author SHA1 Message Date
Paul Brodner 38e4cc57f7 Merge branch 'fix/REPO-2365_addTest' into 'master'
Fix/repo 2365 add test

See merge request !21
2017-08-11 12:55:17 +01:00
Alexandru-Eusebiu Epure ea2972bb19 REPO-2365 : GET /shared-links?include=allowableOperations returns 403
Added GetSharedLinksFullTests.java and SharedLinksSanityTests.java in the same folder and package.
2017-08-11 14:47:23 +03:00
Alexandru-Eusebiu Epure 4a83f15bdb REPO-2365 : GET /shared-links?include=allowableOperations returns 403
Remove GetSharedLinksFullTests.java and SharedLinksSanityTests.java, because they are in different packages (will add them in the next commit).
2017-08-11 14:44:26 +03:00
Raluca Munteanu 7479648c1f REPO-2369: Removed negative tests from SANITY group. 2017-08-10 07:53:41 +01:00
Alexandru-Eusebiu Epure 5e19918e9c REPO-2365 :
Extended Node class with PUT /nodes/{nodeId} (update a node)
      Refactor getSharedLinksWithAllowableOperations TAS test using PUT /nodes/{nodeId} for creating permission and added a timer (max 15s) for the solr to index the sharedLink.
2017-08-09 18:55:40 +03:00
Andrei Forascu b5b852ce0c REPO-2365 - GET /shared-links?include=allowableOperations returns 403 for a user that has granular permissions on a shared file:
- added a TAS test for the issue
2017-08-08 17:51:27 +03:00
mbhave 0709643308 Added getter and setter for expiresAt and test code to test sharedLink methods 2017-08-07 17:18:06 +03:00
mbhave e42cb60fe5 cherry picked APPSREPO-165 from 5.2.1 2017-08-07 17:17:49 +03:00
mbhave 786ceda277 cherry pick includePath feature from 5.2.1 2017-08-07 17:12:33 +03:00
Andrei Forascu de775c64b2 REPO-437: Audit REST API
- fixed Audit tests by creating the private site in the AuditTest class
2017-08-03 18:00:26 +03:00
Andrei Forascu 8e0834ceac REPO-1787 - Retrieve Audit Entry:
- fixed a TAS test that was failing after we decided to display by default values for a single audit entry
2017-08-02 10:19:06 +03:00
Paul Brodner 181a98a2d6 added response assertion onResponse on RestWrapper 2017-08-01 15:05:47 +03:00
Andrei Forascu 66e3219917 Merge branch 'master' into feature/5.2.N-AUDIT-API 2017-07-28 16:20:21 +03:00
Paul Brodner f7835390cb clean up 2017-07-27 10:49:31 +03:00
Andrei Forascu 6e6d0cac3f REPO-2670 - REST API: Retrieve Node (alfresco-access) Audit Entries - add sanity TAS-level test:
- added TAS test to cover the scenario where a non-admin user with access to a node can access the audit entries for that node using nodes/{nodeId}/audit-entries
2017-07-26 12:16:48 +03:00
Alexandru-Eusebiu Epure 46e1f4134c Fix getAuditEntriesWithAdminUserUsingValidSkipCountAndMaxItems test that was failing if the interval used for pagination was no formed of consecutive ids values. 2017-07-25 11:33:32 +03:00
Alexandru-Eusebiu Epure 59ddbd8d8e Merge branch 'feature/5.2.N-AUDIT-API' of https://git.alfresco.com/tas/alfresco-tas-restapi-test into feature/5.2.N-AUDIT-API 2017-07-24 11:56:14 +03:00
Alexandru-Eusebiu Epure ed05b6b4eb REPO-437: Audit REST API
Fix code formatting (tabs -> spaces, added/removed newlines were needed).
      Added description for updateAuditApp call.
2017-07-24 11:46:02 +03:00
Andrei Forascu 038d9695a7 REPO-2644 - REST API: Delete Application Audit Entries - add TAS-level sanity test:
- minor code formatting
2017-07-24 11:23:22 +03:00
Alexandru-Eusebiu Epure 4bab6d8282 REPO-2644
Fix the merge request conflicts
      Now getAuditEntriesWithAdminUserUsingValidSkipCountAndMaxItems also tests pagination
2017-07-21 14:29:23 +03:00
Alexandru Epure c9c1b12b23 Merge branch 'feature/5.2.N-AUDIT-API' into 'REPO-2644'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/Audit.java
2017-07-20 14:02:20 +01:00
Andrei Forascu ec8f0d2ddd REPO-1786 / REPO-2670: REST API: Retrieve Node (alfresco-access) Audit Entries - add sanity TAS-level test
- removed steps from testgetAuditEntriesForNodeUsingMaxItemsAndWhereParam  to match the existing tests
2017-07-20 15:47:14 +03:00
Alexandru-Eusebiu Epure 59be5d5cec REPO-2644: REST API: Delete Application Audit Entries - add TAS-level sanity test
Refactor existing TAS test.
2017-07-20 15:29:24 +03:00
Alexandru-Eusebiu Epure edad414caf REPO-2644: REST API: Delete Application Audit Entries - add TAS-level sanity test
Refactor existing TAS test.
2017-07-20 15:28:06 +03:00
Alexandru-Eusebiu Epure 05fe676459 REPO-2644 : REST API: Delete Application Audit Entries - add TAS-level sanity test
Add TAS test for deleting audit application entries.
2017-07-20 14:48:47 +03:00
Andrei Forascu dc5dd8beac REPO-1786 / REPO-2670: REST API: Retrieve Node (alfresco-access) Audit Entries - add sanity TAS-level test
- TAS sanity test added: getAuditEntriesForNodeUsingMaxItemsAndWhereParam
    - Fixed some test descriptions / minor code formatting
2017-07-20 13:46:32 +03:00
Alexandru-Eusebiu Epure c32c239e2d Fixed failing bamboo build.
Moved the enable auditing part at the start of the dataPrep.
2017-07-19 17:30:58 +03:00
Andrei Forascu 0b388a59bd REPO-2662 / REPO-2644: Retrieve audit entry / Delete audit entry
- minor formatting
2017-07-19 11:43:19 +03:00
jcule f380912fb6 REPO-2644: REST API: Delete Application Audit Entries - add TAS-level sanity test
- added test for deleting of range of entries
2017-07-19 09:34:56 +01:00
Alexandru-Eusebiu Epure 419cb50b14 REPO-2665 REST API: Delete Audit Entry - add sanity TAS test
REPO-2662 REST API: Retrieve Audit Entry - add sanity TAS test
      Add sanity tests.
         Fix some coding style (tabs to spaces).
2017-07-18 15:14:16 +03:00
jcule b206af38e3 added checks for property setting, fixing merge fallouts and reusing code 2017-07-14 20:44:40 +01:00
Alexandru Epure 40ac17a085 Merge branch 'feature/5.2.N-AUDIT-API' into 'REPO-2620'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/Audit.java
#   src/test/java/org/alfresco/rest/audit/AuditTest.java
#   src/test/java/org/alfresco/rest/audit/GetAuditCoreTests.java
2017-07-14 14:43:36 +01:00
Alexandru-Eusebiu Epure 3197eba6b5 REPO-2620 REST API: Retrieve Application Audit Entries - add TAS-level test
Extend TAS with AuditValuesModel in order to validate Retrieval of the Audit App Entries
       Add Sanity level TAS Tests.
2017-07-13 17:46:48 +03:00
jcule 5b999a1f39 REPO-2632: REST-API: Enable/Disable Application Auditing - add TAS level test 2017-07-06 21:18:27 +01:00
Alexandru Epure a101d55a41 Merge branch 'REPO-2620' into 'retrieveAuditApplicationInfo'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/Audit.java
2017-07-04 12:24:43 +01:00
jcule 95aa33b22d Merge remote-tracking branch 'remotes/origin/retrieveAuditApplicationInfo' into feature/5.2.N-AUDIT-API
# Conflicts:
#	src/main/java/org/alfresco/rest/requests/Audit.java
2017-07-04 12:14:31 +01:00
Alexandru Epure 0cb9c5f15f Merge branch 'feature/5.2.N-AUDIT-API' into 'REPO-2582'
# Conflicts:
#   src/main/java/org/alfresco/rest/requests/coreAPI/RestCoreAPI.java
2017-07-04 11:35:13 +01:00
Alexandru-Eusebiu Epure 6b84a9d7e2 REPO-2582 Retrieve Audit Applications - add TAS-level test
Correct test description(error code from 403 to 400), removed the optional parameter from getAuditApplication, removed extra spaces and tabs from RestAuditAppModel.java
      REPO-2620 REST API: Retrieve Application Audit Entries - add TAS-level test
         Add AuditEntryModel and AuditEntryModelsCollection(a list of AuditEntryModel), and add listAuditEntriesForAnAuditApplication call
2017-07-04 11:45:11 +03:00
jcule a5b080c357 REPO-2586: REST API: Retrieve Audit Application info - add TAS-level test 2017-07-03 23:16:54 +01:00
Alexandru-Eusebiu Epure 83d44e474c REPO-2582 Retrieve Audit Applications - add TAS-level test
Add core tests for Retrieve Audit Applications.
      Creat AuditTest abstract class for the dataprep, and validate if the audit is enabled.
2017-07-03 15:24:47 +03:00
Paul Brodner 5a110159e2 Merge branch 'master' of https://gitlab.alfresco.com/tas/alfresco-tas-restapi-test into gitlab-master 2017-07-03 11:30:16 +03:00
jcule 2df339791a REPO-2586: REST API: Retrieve Audit Application info - add TAS-level test 2017-06-29 22:51:06 +01:00
jcule ae9b0b5b83 REPO-2117: Deleted nodes pagination returns incorrect properties - adding the test to the build 2017-06-28 21:05:26 +01:00
jcule 384aa9f2c0 REPO-2117: Deleted nodes pagination returns incorrect properties - adding the test to the build 2017-06-28 17:34:09 +01:00
jcule 806fcbf700 REPO-2117: Deleted nodes pagination returns incorrect properties - adding the test to the build 2017-06-28 14:09:51 +01:00
jcule 7a39e9c8d5 REPO-2117: Deleted nodes pagination returns incorrect properties 2017-06-28 12:04:26 +01:00
jcule 028a424ed5 REPO-2590: Fix Deleted nodes pagination - add TAS-level test 2017-06-28 10:53:50 +01:00
Bogdan Bocancea d948012b44 - set utility to 1.0.16-SNAPSHOT
- update site visibility (from dataprep) and user role in test
2017-06-27 16:54:42 +03:00
Gethin James 66fec6e1bf TAS-3500: Tagging more tests are TestGroup.ASS_1 2017-06-20 12:48:03 +02:00
Gethin James 469c2c0e17 MNT-18051: Changed stats count to countValues 2017-06-15 12:20:37 +02:00