Commit Graph

261 Commits

Author SHA1 Message Date
cagache
2a9aca2ced transform UserPermissions in enum; add helper methods to create users with rm role, permissions or clearance
(cherry picked from commit ebc860ea2a)

# Conflicts:
#	rm-automation/rm-automation-enterprise-rest-api/src/test/java/org/alfresco/rest/rm/enterprise/v0/classification/content/SetRMExemptionReasonTest.java
2019-07-05 10:32:10 +03:00
Rodica Sutu
ed02c79096 Merge branch 'release/V3.0' of https://git.alfresco.com/records-management/records-management into feature-3-0/RM-6577_AutomatedRestApiTests 2019-07-04 17:59:38 +03:00
cagache
1070562e07 transform UserPermissions in enum; add helper methods to create users with rm role, permissions or clearance
(cherry picked from commit 451eaaf679)

# Conflicts:
#	rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RMUserAPI.java
#	rm-automation/rm-automation-enterprise-rest-api/src/test/java/org/alfresco/rest/rm/enterprise/base/BaseRMEnterpriseRestTest.java
#	rm-automation/rm-automation-enterprise-rest-api/src/test/java/org/alfresco/rest/rm/enterprise/v0/classification/folder/RecordFolderClassificationTest.java
2019-07-04 16:03:20 +03:00
Rodica Sutu
11a638c827 refactoring of the added rest api tests for SQL queries
new tests added for sql queries for: record categories, record folders and records
2019-07-02 10:29:21 +03:00
Rodica Sutu
9314432beb test updates: minor refactoring and formatting fixes 2019-06-24 10:16:20 +03:00
cagache
c747e2bdab Revert "removed unused variable"
This reverts commit 06c7cfd2
2019-06-21 16:33:08 +03:00
cagache
0d4c5d2979 Fix "Either re-interrupt this method or rethrow the "InterruptedException"." sonar bug
(cherry picked from commit 8225920986)
2019-06-21 16:14:53 +03:00
cagache
d5335dc0cd delete unnecessary semicolon
(cherry picked from commit 162456217a)
2019-06-21 16:14:30 +03:00
cagache
06c7cfd2a5 removed unused variable
(cherry picked from commit b29f087bb2)
2019-06-21 16:11:11 +03:00
Tom Page
23c98eaa08 RM-6141 Revert change of how a user is a member of the RM site.
The user should be an RM User, not a site manager.  Also revert a couple
of changes that were done to make this work.

Minor tweaks to use constants rather than member variables.

(cherry picked from commit b284ba90388ef360f5321826e292ec43bf2e5197)
2019-06-19 11:43:31 +03:00
Tom Page
2ab90aad6b RM-6141 Update SQL tests to use correct users.
Also hardcode the site id of the RM site to be "rm", so that we can use
this when adding site members.

(cherry picked from commit 92a6dcf8ae04151699b0b5a4bad79bc82f36ae71)

# Conflicts:
#	rm-enterprise/pom.xml
2019-06-19 11:41:23 +03:00
Rodica Sutu
84aca54f31 adding search tests for the SQL support
(cherry picked from commit 29f2ddf2203261f477464528a9f5b83a7679223c)

# Conflicts:
#	rm-automation/rm-automation-enterprise-rest-api/pom.xml
2019-06-19 11:36:45 +03:00
cagache
3310d3805a Renamed files to end with Test or Tests to get rid of java.lang.ClassNotFoundException 2019-04-10 17:47:48 +03:00
cagache
73c8c23766 Merge remote-tracking branch 'remotes/origin/release/V2.7' into merge-3.0/RM-6786_FileCan'tBeDeclaredAsRecord 2019-03-15 10:00:48 +02:00
cagache
09de772516 code review comments 2019-03-14 09:19:23 +02:00
cagache
86a954f36e added cleanup method 2019-03-13 15:54:15 +02:00
cagache
02fd1c6e5e RM-6786 Create test to check that a file that has a record version can be declared as record 2019-03-13 12:23:25 +02:00
Rodica Sutu
eafe3ebf30 Merge remote-tracking branch 'remotes/origin/release/V2.7' into merge-3.0/MNT_20145_RM_6758_ChangesFrom2_6 2019-02-25 16:03:08 +02:00
Rodica Sutu
475164672e Merge remote-tracking branch 'remotes/origin/release/V2.6' into merge-2.7/MNT_20145_RM_6758_ChangesFrom2_6 2019-02-25 09:19:23 +02:00
cagache
d3a8dca230 code review changes 2019-02-12 12:25:10 +02:00
Rodica Sutu
da21154350 add tests to check the content bin is available for:
- the copy when the original file is destroyed
 - file when having a record version that gets deleted
2019-02-12 10:49:55 +02:00
Rodica Sutu
59c6909d2d java docs updates 2019-02-07 09:36:18 +02:00
Rodica Sutu
307b92ee30 tests to cover cases when deleting records or classified files when the files have copies 2019-02-06 17:08:51 +02:00
Ross Gale
c8afff9a4b RM-6702 updating headers to 2019 2019-01-04 12:25:39 +00:00
Ross Gale
0d9f375d7b RM-6702 updating headers to 2019 2019-01-04 10:11:45 +00:00
Ross Gale
c98274f77f RM-6702 updating headers to 2019 2019-01-03 14:30:44 +00:00
cagache
af42247487 Merge remote-tracking branch 'remotes/origin/release/V2.7' into merge-3.0/Merge_MNT-19967_From2.6 2018-10-03 10:10:12 +03:00
cagache
3dedf274f2 Merge remote-tracking branch 'remotes/origin/release/V2.6' into merge-2.7/Merge_MNT-19967_From2.6
# Conflicts:
#	rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/v0/RecordCategoriesAPI.java
#	rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/v0/service/DispositionScheduleService.java
2018-10-02 14:51:13 +03:00
cagache
690d55cf44 code review changes 2018-10-01 18:34:14 +03:00
cagache
810879d51c code review changes 2018-10-01 16:38:19 +03:00
cagache
26a966743e Added 3 more tests to check Retention schedule inheritance for records and record folders 2018-09-28 11:40:32 +03:00
cagache
63e56b9003 Automated test for disposition schedule inheritance 2018-09-28 08:23:11 +03:00
cagache
2b43e58852 Merge changes from 2.6.1 release to 3.0 2018-08-31 17:27:59 +03:00
Rodica Sutu
2b8ebc8bb7 Merge origin/release/V2.6' into merge-2-7/MNT-19080_RM-6504_MergeFrom2.6
* remotes/origin/release/V2.6:
  fixed tests because exception changed
  use fileFolderService instead of contentService
  MNT-18806 create a new content URL for the copy only if it has content
  MNT-18806 create a new content bin for the copy on copy complete behavior
  MNT-18806 Add REST test for deleting copy of record.
  MNT-18806 Remove some raw Exceptions from REST test framework.
2018-08-27 20:01:26 +03:00
Tom Page
33f1c9e897 MNT-18806 Add REST test for deleting copy of record. 2018-08-20 13:57:06 +01:00
Tom Page
2239b23e40 MNT-18806 Remove some raw Exceptions from REST test framework. 2018-08-20 08:36:41 +01:00
cagache
53a6887d71 code review changes 2018-06-11 10:15:14 +03:00
cagache
82345db29a code review changes 2018-06-07 16:35:42 +03:00
cagache
a9bf1b91a5 RM-6364 Convert search integration tests to end to end tests done through api 2018-06-07 10:43:37 +03:00
jcule
bffbb3c4b4 RM-6310: sc:securityMarksSearch is not properly updated when editing the content classification (affects the results from RM search results): automation tests 2018-05-29 16:25:31 +01:00
jcule
986c1b8fea RM-6310: sc:securityMarksSearch is not properly updated when editing the content classification (affects the results from RM search results): automation test 2018-05-25 21:46:19 +01:00
jcule
4c4ef8dc3b Merge remote-tracking branch 'remotes/origin/release/V2.7.0.x' into feature/RM-6310_securityMarksSearchNotProperlyUpdated_AutomationTests 2018-05-23 15:10:06 +01:00
jcule
0fe8eaa44e Merge remote-tracking branch 'remotes/origin/release/V2.7.0.x' into feature/RM-6310_securityMarksSearchNotProperlyUpdated_AutomationTests 2018-05-23 12:42:57 +01:00
jcule
b075bf9e62 RM-6318: Search for "derived by" and classification reasons: Automate AC 2018-05-22 20:13:42 +01:00
jcule
89fefe1747 RM-6318: Search for "derived by" and classification reasons: Automate AC 2018-05-21 13:38:21 +01:00
cagache
2408e4144a RM-6320 Automated tests for Declassification review for records and record folders 2018-05-18 17:45:38 +03:00
jcule
5717a6d36e RM-6310: sc:securityMarksSearch is not properly updated when editing the content classification (affects the results from RM search results): automation test 2018-05-17 22:46:53 +01:00
cagache
899301d7cd code review changes 2018-05-14 11:07:06 +03:00
cagache
d06c4a36d1 RM-6311 wait for the expected records to be in the search results list 2018-05-11 17:26:09 +03:00
cagache
1b5653bb86 RM-6311 added API test to check that rm search results are ordered by security marks 2018-05-11 16:54:54 +03:00