Commit Graph

274 Commits

Author SHA1 Message Date
Holger Hagen 32d069ac97 TSK-1152: added test coverage for util methods. 2020-03-05 13:27:41 +01:00
Holger Hagen 9615e8f77d TSK-1152: checkstyle fix. 2020-03-05 13:27:41 +01:00
Holger Hagen 545c706547 TSK-1152: removed stacktrace from log for InvalidArgumentException. 2020-03-05 13:27:41 +01:00
Holger Hagen ad31328e1b TSK-1152: using embedded ldap for integration tests. 2020-03-05 13:27:41 +01:00
Holger Hagen bbd6686248 TSK-1052: added inmemory ldap server for int testing. 2020-03-05 13:27:41 +01:00
Sascha Frevel 89de71f242 TSK-1151: fixed pretty printing configuration for spring rest doc 2020-03-05 10:46:20 +01:00
Holger Hagen 22b1db4a23 TSK-1024: Add base dn to dn if it does not exist. 2020-03-04 16:39:59 +01:00
Jörg Heffner 80d813709b TSK-1148 Include Comments from Holger Hagen 2020-03-03 12:32:45 +01:00
Jörg Heffner 349d24d7b8 TSK-1148 Application-Entry-Point in ClassificationSummaryResource 2020-03-03 12:32:45 +01:00
Sofie Hofmann ebd2098434 TSK-1147 Replaced getRestTemplate() by constant TEMPLATE
TSK-1147 Usage of AssertJ ListAsserts

TSK-1147 Usage of AssertJ ListAssert

TSK-1147 Removed doesNotContain
2020-03-03 11:40:47 +01:00
Mustapha Zorgati 5770ddd63e TSK-1146: added ConstantNameCheck to checkstyle 2020-02-26 08:45:12 +01:00
Sofie Hofmann 1109a01349 TSK-1140 Corrected ClassificationResourceAssembler and corresponding test 2020-02-23 10:26:15 +01:00
Jörg Heffner d34a44a32a TSK-1137 Endpoint to cancel claim task for REST-API
-Added endpoint
-Added tests
-updated REST documentation
-removed unnecessary delete documentation from unrelated test in TaskControllerRestDocumentation
2020-02-21 11:32:45 +01:00
Sofie Hofmann 9546ff37b2 TSK-1112 Changed @RequestMapping to @PostMapping / @GetMapping / ...
TSK-1112 deleted suppressWarnings

TSK-1112 Removed duplicated method
2020-02-17 14:26:28 +01:00
Mustapha Zorgati 5dc185daeb Updated poms to version 2.0.1-SNAPSHOT 2020-02-14 14:48:18 +00:00
Jörg Heffner ddb12a6ad1 TSK-1095
-Removed internal imports from api classes
-moved 3 exceptions from common.api.exceptions to task.api.exceptions
-Adjusted package structure of taskana-cdi and taskana-spring to match taskana-core
2020-02-14 12:04:52 +01:00
Holger Hagen f64053ec4e TSK-1125: distributiontargets now produce application/hal-json 2020-02-13 16:12:39 +01:00
Jörg Heffner 5c7d38451c TSK-1094 introduce models package for */api and */internal 2020-02-13 15:09:39 +01:00
Holger Hagen 4c884819d5 TSK-1123: workbasketaccessitems now produce application/hal-json 2020-02-13 14:20:17 +01:00
Sofie Hofmann fc812cb9ea TSK-1109 Make WorkbasketResource attributes private and convert tests to AssertJ 2020-02-13 09:25:08 +01:00
Sofie Hofmann 71761c1328 TSK-1108 Made attributes in WorkbasketAccessItemResource private and converted tests to AssertJ
TSK-1108
2020-02-12 16:24:14 +01:00
Jörg Heffner 507a37ba70 TSK-1101 minor refactoring of method names and javadoc 2020-02-12 16:20:27 +01:00
Mustapha Zorgati a26e536b91 TSK-1101: restructured report-sub-package to match architecture tests 2020-02-12 16:20:27 +01:00
Holger Hagen 95495e4894 TSK-1110: Enforce application/hal+json MediaType for classification and
workbasket
2020-02-12 15:31:34 +01:00
Sofie Hofmann 01545e476e TSK-1106 Make ClassificationSummaryResource attributes private
TSK-1106 Converted tests to AssertJ

TSK-1106 Converted assertThrows to AssertJ

TSK-1106 Removed suppress checkstyle for lambdas
2020-02-12 12:53:08 +01:00
Holger Hagen 60d4b29015 TSK-1031: formatting issues fixed. 2020-02-11 17:05:34 +01:00
Holger Hagen 007f268be5 TSK-1031: update Spring Boot to 2.2.4.RELEASE except Hateoas. 2020-02-11 17:05:34 +01:00
Holger Hagen e6f8883e49 TSK-1031: removed unnecessary throws statements 2020-02-11 17:05:34 +01:00
Sofie Hofmann 38d5c8535c TSK-1105 Make attributes in ClassificationResource private
TSK-1105 Converted tests to AssertJ
2020-02-11 14:07:00 +01:00
Jörg Heffner dcc72d1781 TSK-1088 optimistic locking on workbasket update
- Added optimistic locking for workbasket update
- Adjusted WorkbasketDefinitionController
- Added tests in UpdateWorkbasketAccTest
- Added tests in WorkbasketControllerIntTest
- Changed ConcurrencyException HTTP-Status Code to CONFLICT (409)
2020-02-11 09:33:54 +01:00
Sofie Hofmann 6eeff1ba22 TSK-1065 Refactor TaskImpl 2020-02-07 08:36:52 +01:00
Mustapha Zorgati e308578ced TSK-991: refactored report structure to meet api -> internal agreement 2020-02-06 17:26:05 +01:00
BerndBreier 12a94193be TSK-927 set owner - comments from Holger 2020-02-06 14:05:27 +01:00
BerndBreier 22ac25f5c9 TSK-927 reserve a task via SetOwner 2020-02-06 14:05:27 +01:00
BerndBreier 77663f02ca TSK-991
-prevent api classes from accessing internal classes
-disable architecture test for mapper classes / package
-added architecture tests for exceptions and api/internal
-defined exceptional classes: TaskanaHistory* and BulkOperationResults
2020-02-03 11:41:02 +01:00
BerndBreier 4423854822 TSK-991 fix dependent projects 2020-02-03 11:41:02 +01:00
BerndBreier 3b13b9a95e TSK-991 after initial refactoring 2020-02-03 11:41:02 +01:00
Benjamin Eckstein a1f1e72afc TSK-1024: Make LdapClient more testable 2020-01-30 17:24:45 +01:00
Sofie Hofmann 57cb37fb0d TSK-1077 added ClassificationSummaryAssemblerTest 2020-01-30 16:45:52 +01:00
BVier b68043a078 changes 2020-01-30 14:09:11 +01:00
BVier 0c63dfaea3 TSK-1037: WBDefinitonController accepts existing distributionTargets 2020-01-30 14:09:11 +01:00
Mustapha Zorgati 659272fda9 Updated poms to version 1.2.3-SNAPSHOT 2020-01-30 10:41:25 +00:00
Jörg Heffner b01e5c3de6 TSK-989 Filter Tasks by planned TimeIntervals (REST)
-Added planned, planned-from and planned-until params in filter list
-Added due, due-from and due-until params in filter list
-Implemented needed methods
-Added Test
-Updated rest-api.doc
-Refactored TaskControllerIntTests to use AssertJ
2020-01-30 11:08:58 +01:00
Benjamin Eckstein 99e2caadec TSK-1024: Refactor and clean up LdapClient changes 2020-01-30 10:03:34 +01:00
Mustapha Zorgati 34d6bfdae6 TSK-1024: removed lenient() and replaced MockitoSettings annotation 2020-01-30 10:03:34 +01:00
Benjamin Eckstein 08571e7216 TSK-1024: Add tests for ldapclient 2020-01-30 10:03:34 +01:00
Sofie Hofmann dbe17fff57 TSK-1051 Expose task description via rest
TSK-1051 Expose task description via rest

TSK-1051 changed devMode property
2020-01-29 17:11:57 +01:00
Benjamin Eckstein 0d9ebe07c5 TSK-987: Fix Spotbugs - Write to static field from instance method 2020-01-29 09:27:08 +01:00
Mustapha Zorgati 9b61abda37 TSK-1038: added WAIAlreadyExistsException to missing operations with access Items 2020-01-28 12:27:37 +01:00
Mustapha Zorgati 7477092a69 automated formatting
changes most likely method order
2020-01-27 20:40:43 +01:00