Commit Graph

897 Commits

Author SHA1 Message Date
Mustapha b15b799add Updated poms to version 3.1.1-SNAPSHOT 2020-06-07 15:00:31 +00:00
Mustapha Zorgati 89641ecdf9 TSK-1257: added one more test 2020-06-07 16:16:17 +02:00
Mustapha Zorgati 92a57a3a46 TSK-1257: fixed tests which fail because the execution is too fast. 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 36adf71b90 TSK-1257: replaced multiple helper methods with abstract helper method 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 6f12677b74 TSK-1257: implementes forceCompleteTasks 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 496da17b3e TSK-1257: refactored claimtasks in taskService and increased test coverage 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 6952ce8959 TSK-1210: replaced group names with new group names 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 92f81a6d2b TSK-1281: reduced open bugs and recent code smells 2020-06-06 18:15:52 +02:00
Mustapha Zorgati cc4efaa1cd TSK-1210: Replaced LoginModule with Embedded Spring LDAP
TSK-1210: set log level to DEBUG für SecurityVerifier message

TSK-1210: review findings
2020-06-05 20:03:15 +02:00
Joerg Heffner 38c9adea5c TSK-1280: Sort options for task comments in REST-API 2020-06-05 12:13:31 +02:00
Mustapha Zorgati d07459fe26 TASK-1278: Extended Test Coverage of Assembler Classes 2020-06-04 21:00:58 +02:00
Tristan Eisermann 8832876b93 TSK-1247: Removed LoggerUtils and replaced its usages with the standard toString implementations 2020-06-03 14:32:31 +02:00
Mustapha Zorgati 2fc38a2b85 TSK-1265: Removal of constructors from the representationModels 2020-06-02 05:55:19 +02:00
Mustapha Zorgati 3ea009f78d TSK-1273: updated checkstyle with google-style changes 2020-05-31 03:58:40 +02:00
Mustapha Zorgati cec65fbd01 TSK-1261: made tests more robust (for running on weekend) 2020-05-31 03:12:29 +02:00
Christopher Heiting 0442dc54b4 Task-1259: Refactoring of assembler classes 2020-05-30 11:48:03 +02:00
Stefan Schultz 7f88472b9a TSK-1261: test data for task creation's due and planned date calculation is now more robust and test don't fail based on todays date anymore 2020-05-25 15:37:36 +02:00
Mustapha Zorgati d4a516863e TSK-1226: made corpus christi configurable from taskana.properties file 2020-05-22 15:00:04 +02:00
Mustapha 4ed089fa98 Updated poms to version 3.0.1-SNAPSHOT 2020-05-22 02:08:13 +00:00
Mustapha Zorgati 7e411d42e1 TSK-1252: fixed newly introduced code smells 2020-05-22 03:48:27 +02:00
Mustapha Zorgati ab6e5ecc33 TSK-1244: optimized due/planned logic for SLA P0D 2020-05-22 03:25:57 +02:00
Stefan Schultz c6755b35b7 TSK-1244: added due/planned logic for SLA P0D 2020-05-22 03:25:57 +02:00
sfrevel 5b25635ca4 refactored/fixed test cases, upgrade jackson-databind according to spring-boot version 2020-05-19 13:21:51 +00:00
sfrevel e6e7723ab5 TSK-1227: fixed typos in scripts, tested scripts against local dbs 2020-05-18 11:24:47 +02:00
sfrevel 24880d4afe TSK-1227: removed commented code 2020-05-18 11:24:47 +02:00
sfrevel 5588d72691 TSK-1227: made ObjectReference#System, Objectreference#SystemInstance optional, allow null in database 2020-05-18 11:24:47 +02:00
sfrevel 9dc3cc68e8 TSK-1224: removed unused import after history rewrite 2020-05-18 11:01:20 +02:00
sfrevel 9329a3acee TSK-1224: refactorings - rename methods, reuse roles/propertiesSeparator, use Pattern#quote 2020-05-18 11:01:20 +02:00
sfrevel 6e3ac9cc5c TSK-1224: add/refactor tests 2020-05-18 11:01:20 +02:00
sfrevel d7562b53a3 TSK-1224: refactor the configuration of the custom holidays 2020-05-18 11:01:20 +02:00
Jörg Heffner df4fd17264 TSK-1252: Fixed new code smells of the last 30 days 2020-05-15 15:56:02 +02:00
Jörg Heffner cbe6b6f5ec Insert initial securityEnabled value from first TaskanaEngine into database also when it's true 2020-05-15 14:56:32 +02:00
Jörg Heffner 35e7db4355 TSK-1218: Prevent unsecure access to TASKANA 2020-05-15 14:56:32 +02:00
Christopher Heiting bd116d4c2e [TSK-1208] changed HATE terminology and replaced list resources with generic one 2020-05-14 13:02:48 +02:00
Jörg Heffner b82741a2b4 removed unnecessary getTask-call 2020-05-14 10:09:03 +02:00
Jörg Heffner 15202946f4 TSK-1246: Fix updateTaskComment in TaskCommentService 2020-05-14 10:09:03 +02:00
Jörg Heffner 1f13c2c33a TSK-1195: Secure deleteTasks in TaskServiceImpl 2020-05-13 14:49:18 +02:00
Jörg Heffner a888eebdc0 Changed package structure after rebase 2020-05-11 17:14:21 +02:00
Jörg Heffner b84f652a54 Task-Admin now allowed to get DistributionTargets 2020-05-11 16:08:12 +02:00
Jörg Heffner baf794518c Usage of the new TestTemplate-feature
-for running tests multiple times with different AccessIds
2020-05-11 16:08:12 +02:00
Jörg Heffner eb73c0670f TSK-1192 Introduced new Task-Admin Role 2020-05-11 16:08:12 +02:00
Mustapha Zorgati dd2e5cd877 TSK-1242: prefixed workbasket id's in test & sample data with 'WBI:' 2020-05-11 09:03:31 +02:00
Mustapha Zorgati cf4b78877b TSK-1232: removed 'TASKANA' hardcoded schema from schema_update script 2020-05-08 08:44:31 +02:00
Mustapha Zorgati 4b3811f1ce TSK-1232: restructured taskana-core sql folder by database 2020-05-07 14:53:06 +02:00
Mustapha Zorgati 1cabe3ad19 TSK-1232: replaced data type in ID colums with VARCHAR 2020-05-07 14:53:06 +02:00
Mustapha Zorgati b8f091027f TSK-1182: removed dependency from task.internal.jobs to classification.internal.jobs 2020-05-06 10:18:42 +02:00
Mustapha Zorgati 3ce41b224e TSK-1182: refined architecture tests 2020-05-06 10:18:42 +02:00
Sascha Frevel 3fea9ab975 TSK-1197: readded test case for testing the ordering of the databases H2, Postgress and DB2; remove Db2 10.5 travis job
TSK-1197: build Postgres image with german collation
2020-05-06 08:54:37 +02:00
Mustapha Zorgati ea03826263 fixed newly introduced code smells 2020-05-04 15:33:33 +02:00
Mustapha Zorgati f81c0158ab TSK-1207: finished implementation of JaasExtension and its tests
* TSK-1207: finished implementation of JaasExtension and its tests

* TSK-1207: renamed some variable names
2020-04-29 13:01:57 +02:00
Mustapha Zorgati deb0acc04b revert of tempdir to fix build on windows machines 2020-04-27 14:52:04 +02:00
Mustapha Zorgati ac5f04ff3b TSK-1207: extended JaasExtension to run with multiple access ids 2020-04-27 11:06:12 +02:00
Mustapha Zorgati d316ab251e minor cleanup of assertJ 2020-04-26 10:37:13 +02:00
Mustapha Zorgati 35705ddb02 automatically formatted code 2020-04-24 12:59:13 +02:00
Jörg Heffner 8442be7903 Comment from Mustapha Zorgati 2020-04-22 13:41:20 +02:00
Jörg Heffner 7836590311 More Comments from Holger Hagen 2020-04-22 13:41:20 +02:00
Jörg Heffner 8d4d46de6a Comments from Holger Hagen 2020-04-22 13:41:20 +02:00
Jörg Heffner d5674ed11a TSK-746 Add simple history event tracking to update and create task method 2020-04-22 13:41:20 +02:00
Jörg Heffner c36933b450 Comments from Holger Hagen 2020-04-22 10:05:43 +02:00
Jörg Heffner 101072d3e9 TSK-1188 Enable combo filter for tasks 2020-04-22 10:05:43 +02:00
Sascha Frevel 2c5634c917 TSK-1180: migrate from JUnit 5 assertions to assertJ assertions
TSK-1180: remove hemcrest dependency

TSK-1180: convertes junit Assertions.ThrownBy to assertJ style

TSK-1180: add archUnit rule for checking if org.junit.jupiter.api.Assertions is used in classes

TSK-1080: fixed archunit tests which failed due to rebase

test

fixed order problem with H2 database -> set collation to DEFAULT_de_DE

disabled test with collation problems, readded old style assrtj test
2020-04-20 08:10:16 +02:00
Mustapha Zorgati 05818cabad Updated poms to version 2.1.2-SNAPSHOT 2020-04-15 13:15:08 +00:00
Mustapha Zorgati eef64bc1b3 Updated poms to version 2.1.1-SNAPSHOT 2020-04-14 12:03:41 +00:00
Holger Hagen 646583f7c1 TSK-1183: Update to Spring Boot 2.2.6 2020-04-13 22:30:51 +02:00
Sofie Hofmann 673f1896da TSK-652, TSK-1170, TSK-1023 Fixed various bugs by introducing ngxs state management
TSK-1170 Remove @inputs from classification-types-selector

TSK-1170 Import Store in Classification-Detail-Component



TSK-1170 Removed getSelectedClassificationType() from category service

TSK-1170 Removed getSelectedClassificationType() from category service

TSK-1170 Put icons in store

TSK-1170 Removed selectCategoryType from service

TSK-1170 Refactored classification-category service

TSK-1170 Fixed multiple calls of actions

TSK-1170

TSK-1170: build ngxs store in parallel to the ngrx store


TSK-1170: replaced ngrx store with ngxs store

tests are still failing.
TSK-1170 Split store into two stores

TSK-1170 Fixed tests

TSK-1170 added categories service test

TSK-1170 Fixed checkstyle and test

TSK-1170: minimized diff for classification-details component


TSK-1170: replaced state with store observable in classificaiton details


TSK-1170 Incorporated requested changes in spec files


TSK-1170 Removed @output from classification-types-selector

Removed getClassifications() call when selecting a classification type because the code is duplicated in performRequest() 
TSK-1170 Extracted selectors and actions


TSK-1170 Dispatch action in classification-service




TSK-1170 Incorporated 'set-value' function


dynamically rendering classification types

TSK-1170: disabled parent reference while creating classification


TSK-1170 fixed two ways binding for classification types

TSK-1170 removed console log

TSK-1170: Category dropdown shows correct values

TSK-1170 Renamed selectors




TSK-1170
2020-04-09 17:34:01 +02:00
Jörg Heffner 69fac1bdf4 fixed DB2 ordering issues in QueryTaskWithAttachmentAccTest 2020-04-09 14:03:54 +02:00
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