Commit Graph

171 Commits

Author SHA1 Message Date
Sara Aspery
2ffb75aa06 RM-5875 fix path and add yaml name to exception 2017-11-15 16:36:13 +00:00
Sara Aspery
c2b068b4d0 Yaml unit test - split community and enterprise tests 2017-11-14 09:24:48 +00:00
Sara Aspery
5d38eb3da7 Yaml unit test 2017-11-09 11:14:32 +00:00
Tom Page
c58f7af109 RM-5481 Handle empty string as a reason or exemption id.
If the empty string is passed as a classification reason or exemption id then the API framework
converts it to null for us. We should throw a 404 (not found) error, because there are no reasons
or exemptions with the empty string as their id (or null for that matter).  Add two new REST API
tests for these cases.

Also stopped using the helper method addParam in TopicsWithInstructionsTest, as it is only saving us
about ten characters, causes an extra import and includes an explicit mention of the topicsApi
inside it (i.e. it doesn't work at all with the guidesAPI).
2017-08-03 13:10:37 +01:00
Ana Bozianu
c8e47639a3 RM-5012 - fix unit tests and cleanedup merge request 2017-05-17 16:04:54 +03:00
Tuna Aksoy
62a01f103f Feature/rm 4639 rest api refactoring 2 2017-04-12 07:36:12 +01:00
Ana Bozianu
eef010c2cb Merge RM-2396 and RM-3727 to master 2017-04-06 10:52:25 +03:00
Ana Bozianu
4ea6723600 Merge 'release/V2.4' into 'release/V2.5' 2017-04-06 10:18:16 +03:00
Ana Bozianu
4e91c9b4ed RM-3727 - added unit test for reviewed action and removed notification issued property 2017-04-05 12:04:31 +03:00
Ana Bozianu
950c0028f3 RM-4619 - updated unit tests 2017-02-27 16:17:22 +02:00
Ana Bozianu
7e08ee2f98 RM-4619 - convert the folder nodes before setting identifier 2017-02-27 12:41:39 +02:00
Ana Bozianu
161ec4eaee RM-4619 - replaced unit tests with integration tests 2017-02-07 16:24:10 +02:00
Ana Bozianu
257880cb62 Revert "RM-4619 - added the fileplan component check back but in different place"
This reverts commit e1b0e994a1.
2017-01-30 16:53:58 +02:00
Ana Bozianu
40b61c5c62 RM-4619 - doing the conversion at first event 2017-01-30 14:35:23 +02:00
Ana Bozianu
e1b0e994a1 RM-4619 - added the fileplan component check back but in different place 2017-01-30 12:54:37 +02:00
Ana Bozianu
6ff8dd5846 RM-4619 - added cm:folder as accepted type and do the conversion onCommit - request doesn't have full info 2017-01-30 12:05:48 +02:00
Ana Bozianu
088c870141 RM-4619 - moved code to existing onCommit method 2017-01-29 17:37:05 +02:00
Ana Bozianu
ca88921955 RM-4619 - fixed unit tests 2017-01-26 12:16:54 +02:00
Tom Page
b74b84ab07 MNT-16881 Fix typo in unit test.
Due to the lack of ordering in hash sets, this was passing locally but
failing on Bamboo with a NPE.
2017-01-24 11:45:39 +00:00
Tom Page
3b6204873b MNT-16881 Fix unit test and write an additional one. 2017-01-24 11:30:26 +00:00
Ana Bozianu
bbba5ff777 RM-4436 and RM-4549 - unit tests for record api 2017-01-04 17:57:10 +02:00
Tuna Aksoy
7a7986bfcd RM-4570 (Update license headers) 2017-01-02 19:45:32 +00:00
Tuna Aksoy
058e3803fe RM-4570 (Update license headers) 2017-01-02 19:21:21 +00:00
Tuna Aksoy
a80d4a523e Updated license headers 2017-01-01 11:52:56 +00:00
Ana Bozianu
4f95c905a6 RM-4436 - implemented file record
RM-4429 - implemented declare record
-renamed the nodes package into fileplancomponents
2016-12-17 23:22:12 +02:00
Tom Page
3b3decf41c RM-4456 Make unit tests work against Alfresco 5.2.b and 5.1.1. 2016-11-24 16:01:06 +00:00
Tuna Aksoy
b6fdb18124 RM-4399 (Update Alfresco dependency for RM Community to 5.2.b) 2016-11-23 19:43:25 +00:00
Ana Bozianu
f487877b1c RM-4376 - create RM relative path + unit tests 2016-11-21 17:11:37 +02:00
Ana Bozianu
28026941c3 RM-4357 - return null when allowableOperations is empty 2016-11-17 14:50:17 +02:00
Ana Bozianu
c8f6bfe333 RM-4357 - updated test for fileplan create operation check 2016-11-17 13:01:25 +02:00
Ana Bozianu
3bb40fb88c Merge master into feature/RM-4357_and_RM_4373 2016-11-17 11:37:04 +02:00
Silviu Dinuta
9f7d772ac5 Merge remote-tracking branch 'origin/master' into feature/RM-4293_RM_special_containers_can_be_deleted 2016-11-17 11:10:28 +02:00
Ana Bozianu
45cbc77ef3 Revert "Revert "Merge branch 'feature/RM-4357_AllowableOperations' into 'master'""
This reverts commit 54717418e1.
2016-11-17 11:07:14 +02:00
Silviu Dinuta
b660169e6a Merge master into feature/RM-4293_RM_special_containers_can_be_deleted 2016-11-17 10:53:25 +02:00
Ana Bozianu
54717418e1 Revert "Merge branch 'feature/RM-4357_AllowableOperations' into 'master'"
This reverts commit ab93e7b9c0, reversing
changes made to 0e74642b32.
2016-11-17 10:52:40 +02:00
Ana Bozianu
ab93e7b9c0 Merge branch 'feature/RM-4357_AllowableOperations' into 'master'
Feature/rm 4357 allowable operations

RM-4357 - fileplanComponent's allowable actions don't reflect RM security

RM's capabilities overrides core's security so it is enough to test the capabilities. Please see the table from the issue's comment.

See merge request !624
2016-11-17 07:33:42 +00:00
Ana Bozianu
2248e99b67 RM-4357 - updated unit tests 2016-11-16 16:19:16 +02:00
Silviu Dinuta
51f99f1846 RM-4293: prevent filePlan and unfiled Record container from behaviour
beans, also removed deleteNode method from RMNodesImpl and some unit
tests
2016-11-15 19:00:48 +02:00
Ana Bozianu
a867a9618a RM-4357 - change addChildren capability and updated unit tests 2016-11-14 18:16:04 +02:00
Silviu Dinuta
e8fd663859 Merge master into feature/RM-4327 2016-11-14 14:08:09 +02:00
Silviu Dinuta
dd3117bdaa RM-4367: restricted types created under record category and added unit
tests for RecordCategoryType
2016-11-14 10:20:00 +02:00
Silviu Dinuta
ce0a3e54ae RM-4327: changed exception type on RecordFolderType and added unit tests
for the changes
2016-11-11 17:39:01 +02:00
Tom Page
cf6e32ff7e RM-4247 Merge master into RM-4247_UpdateDispositionProperty. 2016-11-11 08:21:58 +00:00
Silviu Dinuta
9b0aa770f9 RM-4327: changed InvalidParameterException with IntegrityException 2016-11-10 16:58:05 +02:00
Tom Page
bae6ca0338 RM-4247 Re-add changes that were meant to be merged from release/V2.5.
The merge in '5f75e3' missed the changes from RM-4247, so this commit adds
them back in.
2016-11-10 13:14:33 +00:00
Silviu Dinuta
94ec27b0de RM-4326 : added some more unit tests for RmSiteType and did some code
cleanup in this class
2016-11-10 11:04:34 +02:00
Silviu Dinuta
0e93c1dcbe RM-4326: renamed rm site type unit test class 2016-11-09 16:52:17 +02:00
Silviu Dinuta
1d7f8673bb RM-4326: added unit tests for RmSiteType class 2016-11-09 16:35:51 +02:00
Silviu Dinuta
49cb2f59ae RM-4326: undo some formatting 2016-11-09 12:51:14 +02:00
Silviu Dinuta
7e06083595 RM-4326: removed checkPostPermission method and changed RmSyteType to
handle allowed created types
2016-11-09 12:44:19 +02:00