Commit Graph

3908 Commits

Author SHA1 Message Date
Rodica Sutu
947367299b updates to use Lombok library 2016-12-12 15:43:18 +02:00
Rodica Sutu
ec0735ec30 Merge branch 'master' of https://gitlab.alfresco.com/records-management/records-management into feature/RM-4396_Lombok_UseModelInsteadJsonObject
# Conflicts:
#	rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/fileplancomponents/FilePlanComponent.java
#	rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/fileplancomponents/FilePlanComponentProperties.java
2016-12-12 15:15:20 +02:00
Kristijan Conkas
d554f9fdd2 RM-4542: record name doesn't default to file name 2016-12-12 11:20:54 +00:00
Ana Bozianu
08cc908c5b Merge branch 'feature/RM-4528_WrongErrorCodesOnUpload' into 'master'
Feature/rm 4528 wrong error codes on upload

The NodesImpl#upload method surrounds the node creation with a try catch that encapsulates the exceptions in an ApiException and the Api framework tries to map the ApiException to an error code. Because there isn't a defined code for ApiException 500 Internal Error is returned.

I extracted the original exception if it is a runtime exception.

See merge request !692
2016-12-12 10:38:04 +00:00
Ana Bozianu
88d64bc233 RM-4528 - extract original exception so it can be properly mapped to api error code 2016-12-10 14:01:16 +02:00
Kristijan Conkas
4b168fe08d Merge branch 'feature/RM-4405_Electronic_Records_API_Tests' into 'master'
Feature/rm 4405 electronic records api tests

API automation tests for RM-4359.

See merge request !689
2016-12-09 16:00:03 +00:00
Kristijan Conkas
7922a3d995 RM-4405: renamed valid containers data provider 2016-12-09 15:43:56 +00:00
Kristijan Conkas
f58926c55f RM-4405: import tidy-up 2016-12-09 15:26:27 +00:00
Kristijan Conkas
d5ff320f56 RM-4405: CI remediation. 2016-12-09 15:23:20 +00:00
Kristijan Conkas
b2698cf8a2 RM-4405: fixed erroneous comments 2016-12-08 13:29:05 +00:00
Kristijan Conkas
bf1086b5c9 RM-4405: mandatory properties tests 2016-12-08 12:15:34 +00:00
Kristijan Conkas
c1b96b929f RM-4405: now with correct header 2016-12-08 10:32:37 +00:00
Kristijan Conkas
4a7f3e9e86 Merge remote-tracking branch 'origin/master' into feature/RM-4405_Electronic_Records_API_Tests 2016-12-08 10:26:48 +00:00
Kristijan Conkas
a1bc42433b RM-4405: invalid containers tests + utility method renaming 2016-12-08 10:22:02 +00:00
Kristijan Conkas
4a86be224a RM-4405: removed hardcoding 2016-12-07 16:49:02 +00:00
Kristijan Conkas
7540fbb519 RM-4405: added tests with valid containers 2016-12-07 16:37:56 +00:00
Kristijan Conkas
6383308df0 RM-4405: added some utility methods 2016-12-07 16:37:22 +00:00
Kristijan Conkas
bf390076ff RM-4405: electronic records client API implementation 2016-12-07 15:44:52 +00:00
Mihai Cozma
b1665d7f40 Remove .orig files 2016-12-07 16:48:14 +02:00
Ana Bozianu
b71f50ce96 Merge branch 'feature/RM-4521_DocumentCreationOfElectronicRecords' into 'master'
Feature/rm 4521 document creation of electronic records

See merge request !687
2016-12-07 14:00:47 +00:00
Ana Bozianu
ad1b9aa6d8 RM-4521 - fixed typo 2016-12-07 15:29:36 +02:00
Ana Bozianu
fa543e43d3 RM-4521 - added info about creation of electronic records 2016-12-07 15:25:19 +02:00
Tom Page
8fe55665ab Merge branch 'merge/RM-4084_PreventOrphanedMarksTests' into 'master'
Merge/rm 4084 prevent orphaned marks tests

RM-4084 UI tests for prevention of orphaned marks.

See merge request !683
2016-12-06 14:36:00 +00:00
Samuel Langlois
dda822f90f Merge branch 'release/V2.5' into 'release/V2.5'
Specify full URL for Alfresco installers in 2.5

Similar to Merge Request !680 based on release/2.5 branch

The modification allows to specify the full URL (rather than pieces of it) to download the Alfresco One installer used by functional tests. It is cleaner, and also allows more flexibility.

The goal is to be able to download installers stored on S3, making it much more efficient and hopefully Automation builds will stop breaking randomly on elastic Bamboo agents - see https://issues.alfresco.com/jira/browse/BDE-837

See merge request !681
2016-12-06 14:14:13 +00:00
Samuel Langlois
cd082da61e BDE-837 Allow to specify URL of Alfresco installer in functional tests 2016-12-06 12:16:23 +00:00
Kristijan Conkas
7ab31d6078 Merge branch 'feature/RM-4391_Non_Electronic_Records_API_Tests' into 'master'
Feature/rm 4391 non electronic records api tests

API tests for RM-4391.

See merge request !678
2016-12-06 11:56:26 +00:00
Kristijan Conkas
471a00c9ab Merge remote-tracking branch 'origin/master' into feature/RM-4391_Non_Electronic_Records_API_Tests 2016-12-06 11:24:08 +00:00
Kristijan Conkas
0be62ac094 RM-4391: CI remediation 2016-12-06 11:23:48 +00:00
Samuel Langlois
b3deb5025a BDE-837 Allow to specify URL of Alfresco installer in functional tests 2016-12-05 18:03:16 +00:00
Kristijan Conkas
f73203bd7f RM-4391: javadoc clarification 2016-12-05 16:00:27 +00:00
Kristijan Conkas
6b3be22a75 RM-4391: fixed core API use affecting RM base path 2016-12-05 15:59:38 +00:00
Tom Page
7640eeca9a RM-4084 Merge commit 'a85d9f5' into master.
UI tests for prevention of orphaned marks.
2016-12-05 15:57:07 +00:00
Mihai Cozma
0a3b1928e8 Merge commit 'bcbf3658' 2016-12-05 17:32:02 +02:00
Kristijan Conkas
652510d098 Merge remote-tracking branch 'origin/master' into feature/RM-4391_Non_Electronic_Records_API_Tests 2016-12-05 15:20:29 +00:00
Kristijan Conkas
672d339bcb RM-4391: User without rm privileges test. 2016-12-05 14:52:55 +00:00
Ana Bozianu
db481377fd Merge branch 'feature/RM-4503_DocumentAccessDeniedOnRead' into 'master'
Feature/rm 4503 document access denied on read

documented 403 exception - trivial change

See merge request !675
2016-12-05 10:16:56 +00:00
Ana Bozianu
2817c00306 Merge branch 'feature/RM-4499_IntegerOverflowChecksForNonElectronicRecords' into 'master'
Feature/rm 4499 integer overflow checks for non electronic records

Added [0,MAX-INT] restrictions for physicalSize and numberOfCopies integers. The changes are reflected in the UI.

See merge request !676
2016-12-02 07:30:41 +00:00
Kristijan Conkas
42ba364b0f RM-4391: Now with correct header. 2016-12-01 14:59:24 +00:00
Kristijan Conkas
f9c010b9de RM-4391: Added remaining unfiled records root + folders tests. 2016-12-01 14:46:57 +00:00
Kristijan Conkas
f0bdaac00b RM-4391: mandatory parameters test. 2016-12-01 14:04:37 +00:00
Kristijan Conkas
ab6566da4e RM-4391: Closed folder creation test. 2016-12-01 11:29:47 +00:00
Kristijan Conkas
f63185149a RM-4391: Added tests 2016-12-01 10:39:33 +00:00
Kristijan Conkas
cf49e51eba RM-4391: Support for non-electronic records. 2016-12-01 10:39:06 +00:00
Kristijan Conkas
2f2e402a33 RM-4391: added parameters in POST and PUT 2016-12-01 10:14:07 +00:00
Tom Page
a85d9f5290 RM-4493 Add javax.servlet-api "provided" dependency to community.
This is required to build the community code against Alfresco 5.2-EA, which
we do as part of the enterprise release build.
2016-12-01 09:55:33 +00:00
Kristijan Conkas
1da5384583 RM-4391: Test tidied up. 2016-11-30 14:59:51 +00:00
Ana Bozianu
408d81d9a9 RM-4503 - documented 403 error for read operations 2016-11-30 16:32:41 +02:00
Tuna Aksoy
b52ec09f8d Changed "alfresco.installer.host" value from "nightlybuilds" to "releases". If needed that can be set in the builds but normally we will depend on released versions of Alfresco. 2016-11-30 13:31:45 +00:00
Ana Bozianu
814c349f62 RM-4499 - added check for physical size too 2016-11-30 14:21:48 +02:00
Ana Bozianu
6bb93c6698 RM-4499 - added positive number constraint in the model definition 2016-11-30 12:16:49 +02:00