Commit Graph

781 Commits

Author SHA1 Message Date
Jörg Heffner e2568bba1b TSK-1179 2020-04-09 14:03:54 +02:00
Christopher Heiting d4350199b9 TSK-1169: refactored daysToWorkingDaysReportConverter, renamed test methods according to the new community of practices convention and deleted duplicate unit tests, switched test framework to assert via assertJ 2020-04-09 12:26:33 +02:00
Mustapha Zorgati 4a4a11704e TSK-1168: added acceptance tests to show that you can create entities after copy 2020-04-09 10:03:07 +02:00
Christopher Heiting 11bdda1047 TSK-1168: Removed Id from CopyConstructor 2020-04-09 10:03:07 +02:00
Christopher Heiting 7d7a9e123e TSK-1168: made interfaces clonable with a new "copy()" method, added tests 2020-04-09 10:03:07 +02:00
Christopher Heiting 9013eaa573 TSK-1168: made interfaces of entities clonable 2020-04-09 10:03:07 +02:00
BerndBreier 2038999ee7 TSK-1177 update Planned - Holger's comments 2020-04-06 20:10:21 +02:00
BerndBreier 520eb4e295 TSK-1177 update Planned of Task if only Due was changed 2020-04-06 20:10:21 +02:00
Sascha Frevel 48595686de TSK-1162 rwwork: removed commented line 2020-04-06 18:26:55 +02:00
Sascha Frevel 03a2985b1c TSK-1162 new postgres version 42.2.11; refactoring of db setup/teardown in test classes 2020-04-06 18:26:55 +02:00
Jörg Heffner dffb139a82 comments from Holger Hagen 2020-03-31 11:56:59 +02:00
Jörg Heffner 636135bf1a Comments from Mustapha Zorgati 2020-03-31 11:56:59 +02:00
Jörg Heffner c5bb6fb32c TSK-1150 - added taskId as pathvariable to updateTaskComment and createTaskComment
-Added tests
2020-03-31 11:56:59 +02:00
Mustapha Zorgati 93a94f0458 TSK-1150: added taskId as pathvariable to getTaskComment and deleteTaskComment
this is necessary since the path variable {taskId} is not used otherwise. Furthermore this will require that the search for a comment must match a given taskId.
2020-03-31 11:56:59 +02:00
Jörg Heffner ce571722d5 TSK-1150: Added REST-API for task comments 2020-03-31 11:56:59 +02:00
BerndBreier 7fdea5bef2 TSK-1160 - terminate/cancel task more comments from Holger 2020-03-30 13:21:06 +02:00
BerndBreier d6505284f7 TSK-1160 - terminate/cancel task Holger's comments 2020-03-30 13:21:06 +02:00
BerndBreier 2ce7f86456 TSK-1160 TaskStates CANCELLED and TERMINATED 2020-03-30 13:21:06 +02:00
BerndBreier 4fe3c96a87 TSK-442 improve task refresh on classification update 2020-03-30 13:21:06 +02:00
BerndBreier d83b573542 TSK-1143b - fix error in testcase UpdateObjectsUseUtcTimeStampsAccTest. 2020-03-30 13:21:06 +02:00
BerndBreier 28fbeb8a2e TSK-442 improve task refresh on classification update 2020-03-30 13:21:06 +02:00
BerndBreier 7352a8a728 TSK-1143 UpdateTask with Planned sometimes fails 2020-03-30 13:21:06 +02:00
BerndBreier df31b8f8ce TSK-1143C mismatch between forward and backward calculation between planned and due 2020-03-30 13:21:06 +02:00
BerndBreier 87fd1af390 TSK-442 improve task refresh on classification update 2020-03-26 08:47:03 +01:00
BerndBreier 9251975f47 TSK-1143 UpdateTask planned - comments from Holger 2020-03-26 08:47:03 +01:00
BerndBreier 403d57fc8a TSK-1143 UpdateTask planned - comments from Holger 2020-03-26 08:47:03 +01:00
BerndBreier c2d974b02e TSK-1143 UpdateTask with Planned sometimes fails 2020-03-26 08:47:03 +01:00
BerndBreier fa429cef97 TSK-1143C mismatch between forward and backward calculation between planned and due 2020-03-26 08:47:03 +01:00
BerndBreier 7b409451dc TSK-1143C mismatch between forward and backward calculation between planned and due 2020-03-25 08:44:18 +01:00
Sascha Frevel fc3f9e1868 TSK-1164: refactor code which is using assertJ's assertThatThrownBy and lambda expression with line breaks 2020-03-23 07:37:54 +01:00
BerndBreier f14c09c88e TSK-1143b - fix error in testcase UpdateObjectsUseUtcTimeStampsAccTest. 2020-03-19 16:13:05 +01:00
BerndBreier e470f8d200 TSK-1143 even more comments from Holger 2020-03-19 14:43:16 +01:00
BerndBreier f78e7616f6 TSK-1143 Update Task PLANNED - Holger's comments 2020-03-19 14:43:16 +01:00
BerndBreier 7deb925411 TSK-1143 UpdateTask planned - comments from Holger 2020-03-19 14:43:16 +01:00
BerndBreier 1291287419 TSK-1143 UpdateTask with Planned sometimes fails 2020-03-19 14:43:16 +01:00
Holger Hagen c9791b01b8 TSK-1029: Proper distinction between delete and markForFeletion for
workbaskets
2020-03-19 09:53:54 +01:00
Jörg Heffner 7d464bd6cd TSK-1150 Comments from Bernd Breier 2020-03-17 11:54:26 +01:00
Jörg Heffner 3b7da72d24 TSK-1150 Java-API for the administration of comments for tasks 2020-03-17 11:54:26 +01:00
Mustapha Zorgati b386af1a30 Updated poms to version 2.0.2-SNAPSHOT 2020-03-05 17:03:05 +00:00
Sascha Frevel 446eb3a1c9 TSK-1149: fixed test so that the build will also run on macos 2020-03-05 12:20:36 +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
BerndBreier 02a6df6f73 TSK-1139 Bulk update of Planned timestamp 2020-02-28 10:46:45 +01:00
BerndBreier 7f93dd048e TSK-1131 updateOwner Bulk - comments from Holger 2020-02-26 14:48:50 +01:00
BerndBreier 20bd0922db TSK-1131 updateOwner on multiple tasks 2020-02-26 14:48:50 +01:00
Sofie Hofmann 21a4110f2a TSK-1141 Removed JUnit4 dependency and converted to AssertJ 2020-02-26 08:53:47 +01:00
Sofie Hofmann 96f0b8bb15 TSK-1103 Changed vulnerable logging messages
TSK-1103 Make method sanitizeLoggingMessage generic

TSK-1103 Renamed method
2020-02-25 14:57:32 +01:00
Sofie Hofmann 4f4e7209cd TSK-1138 Removed Junit4 dependency in taskana-spring-example 2020-02-21 08:57: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
Jörg Heffner 5c7d38451c TSK-1094 introduce models package for */api and */internal 2020-02-13 15:09:39 +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 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
Jörg Heffner 448d4fb8fc TSK-1107 Use userId-parameter in contructor of TaskanaHistoryEvent
-Prevents unwanted INTERNAL access
2020-02-11 16:09:51 +01:00
Jörg Heffner f3f71a66b5 TSK-1097 2020-02-11 09:48:03 +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 1ecb613526 TSK-1090 Refactored AttachmentImpl 2020-02-07 15:09:18 +01:00
Mustapha Zorgati 2924eda82e TSK-1065: minor refactoring of TaskImpl 2020-02-07 14:57:26 +01:00
Mustapha Zorgati a5b3254c8d TSK-1064: refactored PrioDurationHolder -> generic Pair 2020-02-07 09:26:45 +01:00
Mustapha Zorgati 6c73ed18f2 TSK-1064: refactored / simplified streams and boolean expressions 2020-02-07 09:26:45 +01:00
Mustapha Zorgati 811f26c206 TSK-1064: removed DeclarationOrderCheck from checkstyle 2020-02-07 09:26:45 +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 22ac25f5c9 TSK-927 reserve a task via SetOwner 2020-02-06 14:05:27 +01:00
Benjamin Eckstein be06d36a96 TSK-991: Make archunit tests more readable 2020-02-06 12:11:48 +01:00
Sofie Hofmann 819b4ca699 TSK-1065 Refactor WorkbasketImpl 2020-02-06 08:42:16 +01:00
Benjamin Eckstein 5815e38fa7 TSK-991: Fix Architecturtest and split DaysToWorkingDays converter for report and common 2020-02-05 13:02:31 +01:00
Benjamin Eckstein 957feac270 TSK-991: Add more architecture tests
(cherry picked from commit 760adb24b54d588e8a977853d092d5744781f496)
2020-02-05 11:50:41 +01:00
BerndBreier 27dd9b299b TSK-991 Restructuring- restructure history package 2020-02-03 11:41:02 +01:00
BerndBreier 58f7046910 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
Mustapha Zorgati 01cd9cb0ea Delete log 2020-02-03 11:41:02 +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 8cab323145 TSK-991 fix javadoc errors 2020-02-03 11:41:02 +01:00
BerndBreier 08abf33ef7 TSK-991 core with 0 errors 2020-02-03 11:41:02 +01:00
BerndBreier 3b13b9a95e TSK-991 after initial refactoring 2020-02-03 11:41:02 +01:00
Mustapha Zorgati fbba8e879e TSK-1062: removed rawtype from MapTypeHandler 2020-01-30 17:50:47 +01:00
Holger Hagen 5dd7031290 TSK-1030: Update H2 to 1.4.200 and fix GENERATED IDENTITY syntax. 2020-01-30 16:36:17 +01:00
Mustapha Zorgati 659272fda9 Updated poms to version 1.2.3-SNAPSHOT 2020-01-30 10:41:25 +00: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
Benjamin Eckstein 1ddc5bbc95 TSK-987: Fix Spotbugs - Load of known null value 2020-01-29 09:27:08 +01:00
Benjamin Eckstein 10e888acd4 TSK-1060: Add sort by taskId to TaskQuery 2020-01-28 15:41:53 +01:00
Mustapha Zorgati ca6dd310ce TSK-1038: added debug log when db exception occurs 2020-01-28 12:27:37 +01:00
Mustapha Zorgati 7cce420b76 TSK-1038: Removed java precondition check and use db exception instead 2020-01-28 12:27:37 +01:00
Mustapha Zorgati 6e1d6cf20f TSK-1038: precondition checks are moved before database connection opens 2020-01-28 12:27:37 +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
Benjamin Eckstein b86f3e5b65 TSK-987: Fix Spotbugs - Dead store to local variable 2020-01-27 11:49:59 +01:00
Benjamin Eckstein 2f7d0d359b TSK-987: Fix Spotbugs - exception is caught when exception is not thrown 2020-01-27 11:49:59 +01:00
Benjamin Eckstein 3e9ea4d1d9 TSK-987: Fix Spotbugs - inner class could be made static 2020-01-27 11:49:59 +01:00
Mustapha Zorgati 2112dcd79e TSK-1053: refactored taskana-data tests with assertJ 2020-01-27 10:24:29 +01:00
Mustapha Zorgati c09cf2f58b TSK-1053: refactored CreateClassificationAccTest with assertJ 2020-01-27 10:24:29 +01:00
Mustapha Zorgati 5b68922590 TSK-1025: added assertj dependency to every module 2020-01-26 20:11:42 +01:00
Mustapha Zorgati afcc47dcd5 Updated poms to version 1.2.2-SNAPSHOT 2020-01-24 13:19:17 +00:00
BerndBreier 6a5736527e TSK-1038 New schema version 2020-01-23 16:58:49 +01:00