Commit Graph

1000 Commits

Author SHA1 Message Date
Mustapha Zorgati 6f344c9363 TSK-1647: automatic refactoring 2021-08-02 11:46:33 +02:00
Mustapha Zorgati 6da07b069a TSK-1647: minor improvements and fixes 2021-08-02 11:46:33 +02:00
Holger Hagen 281f909f7b TSK-1680: Extended database schema for future use cases. 2021-07-30 15:48:04 +02:00
Tristan2357 99eba636a1
TSK-1674: Added received timestamp to task (#1638)
* TSK-1674: Added RECEIVED timestamp to task entity

Erweiterung Datenmodell um das Feld “RECEIVED” von Typ TIMESTAMP an der Task
Update-Skript
Task-Modell erweitern
TaskQuery erweitern
TaskQueryMapper anpassen
REST API erweitern
Doku erweitern

Es fehlt noch: 
Acceptance Test und Integrationstest erstellen
Task-Ansicht im Workplace um received Timestamp erweitern

TSK-1658: PR amends addons

* TSK-1674: Added sample and test data

added received to RepresentationModels

* TSK-1674: adapted TaskMapper

* TSK-1674: Frontend: added received field in Task Status Details

* TSK-1674: Added received to TaskQueryFilter

* TSK-1674: Added Tests for received

* TSK-1674: Test fixes on postgres

* TSK-1674: Test fixes on db2

* TSK-1674: Code was smelly

* TSK-1674: PR amends

* TSK-1674: createAttachement now receives an instant instead of a string
2021-07-29 14:58:57 +02:00
Mustapha Zorgati 358e699f9f TSK-1664: fixed some code smells and redesigned RestHelper 2021-07-16 11:08:05 +02:00
Tristan 1eb3ccec78 TSK-1658: PR amends 2021-07-15 14:03:00 +02:00
Tristan Eisermann 375a92291d TSK-1658: Created TaskQueryMapperSqlProvider
TSK-1658: Added CustomXNotIn fields


TSK-1658: Tests fixed


TSK-1658: Added Test


TSK-1658: introduced methods for common OnjectReference where parts


TSK-1658: small stuff
2021-07-15 14:03:00 +02:00
Mustapha Zorgati 8edb488bd3 TSK-1647: Implemented global frontend error handling using backend error keys
Co-authored-by: Tristan Eisermann<19949441+Tristan2357@users.noreply.github.com>
Co-authored-by: Tim Gerversmann<72377965+tge20@users.noreply.github.com>
Co-authored-by: Sofie Hofmann<29145005+sofie29@users.noreply.github.com>
2021-07-14 10:49:34 +02:00
Mustapha Zorgati 34d2bbfa92 TSK-1647: Implemented an error key for every exception
Co-authored-by: Tristan Eisermann<19949441+Tristan2357@users.noreply.github.com>
Co-authored-by: Tim Gerversmann<72377965+tge20@users.noreply.github.com>
Co-authored-by: Sofie Hofmann<29145005+sofie29@users.noreply.github.com>

javaDoc Exceptions

blub

TSK-1647: now validating existing & not authorized tasks :)
2021-07-14 10:49:34 +02:00
Tim Gerversmann 1c83b7871f TSK-1646: Bugfix for creation / update of Task with invalid Attachment 2021-06-22 16:14:09 +02:00
Mustapha Zorgati 334d21ba7d Updated poms to version 4.7.1-SNAPSHOT 2021-06-11 06:17:32 +00:00
Mustapha Zorgati dd5bccc62c TSK-1654: fixed current code smells 2021-06-10 10:49:53 +02:00
Mustapha Zorgati b66e4d9f86 TSK-1642: now setting details attribute for TaskTransferHistoryEvent 2021-06-09 12:37:56 +02:00
tge20 7636ec0b2a
TSK-1501: TaskTransferrer cleaned and restructured (#1599) 2021-06-01 09:51:38 +02:00
SebastianRoseneck bfcabea610
TSK-1596: Automatic TraceLogging (#1577) 2021-05-20 09:41:58 +02:00
SebastianRoseneck b8892020d9
TSK-795: Changed Exception when creating a Task with a non-empty taskId (#1575) 2021-05-19 10:29:13 +02:00
Mustapha Zorgati ae919e2825 TSK-1640: Configure taskana-spi-routing-dmn-router module properly 2021-05-18 15:00:06 +02:00
Mustapha Zorgati eba33b1846 Updated poms to version 4.6.1-SNAPSHOT 2021-05-11 16:07:55 +00:00
Joerg Heffner 7b90a84574 TSK-1634: Review Findings 2021-05-11 17:25:03 +02:00
SebastianRoseneck 37cfcae92b
TSK-1628: cleanup of code smells & refactoring (#1571)
* TSK-1628: Fixed Code-Smells

* TSK-1628: FileLoaderUtil Refactoring

* TSK-1628: Increased readabilty of some tests

* TSK-1628: Fixed pom and tidying up
2021-04-29 14:04:47 +02:00
Joerg Heffner 3ddcd2ae97 TSK-1628: New DmnTaskRouter module 2021-04-23 17:28:11 +02:00
Mustapha Zorgati c96117afb6 TSK-1618: fixed count of tasks for query with object references filter 2021-04-14 13:47:41 +02:00
Mustapha Zorgati 8a7b4f500d TSK-1618: fixed count of tasks for query with wildcard filter 2021-04-14 13:47:41 +02:00
SebastianRoseneck 2c5f97927b TSK-1617: Fixed unit tests when creating db2 with prepare_db.bat script 2021-04-14 12:57:19 +02:00
Mustapha Zorgati 19e277315f Updated poms to version 4.5.2-SNAPSHOT 2021-04-08 11:50:07 +00:00
Mustapha Zorgati 3fb55790ec TSK-1614: sql now working without db2 compatibility vector 2021-04-08 13:17:12 +02:00
Mustapha Zorgati 1fe5aa7e72 TSK-1611: updated checkstyle to 8.41.1 2021-03-30 16:32:05 +02:00
tge20 762a5d5ea5
TSK-1223: revert of tempdir to fix build on windows machines (#1538) 2021-03-22 18:48:41 +01:00
Mustapha Zorgati 876cf15802 Updated poms to version 4.5.1-SNAPSHOT 2021-03-11 12:16:57 +00:00
Joerg Heffner fe0082e00b TSK-1582: Additional statistical data from monitoring component 2021-03-10 15:47:30 +01:00
tge20 0119999380
TSK-1538: Added transfer method with control setTransferFlag (#1513)
* TSK-1538: Added transfer method with control setTransferFlag

* TSK-1538: Improvements after review

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2021-03-09 18:58:51 +01:00
tge20 ec822c1168
TSK-1555: Initialize due of Cleanup Job based on firstRun (#1488)
* TSK-1555: Initialize due of Cleanup Job based on firstRun

* TSK-1555: Improvements after review
2021-03-02 10:34:30 +01:00
tge20 d57aeb3219
TSK-1524: Set the default service level to "P0D" (#1496)
* TSK-1524: Set the default service level to "P0D"

* TSK-1524: Improvements after review
2021-03-01 10:03:04 +01:00
gitgoodjhe 0b55208aca TSK-1565: Apply suggestions from code review
Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2021-03-01 09:10:13 +01:00
Joerg Heffner 3703fd5f61 TSK-1565: Review Findings 2021-03-01 09:10:13 +01:00
Joerg Heffner 330d6f9e19 TSK-1565: Make Wildcard Queries Case insensitive 2021-03-01 09:10:13 +01:00
tge20 b02dea9291
TSK-1486: Deleted unnecessary UnitTests of taskana-core (#1383)
* TSK-1486: Deleted unnecessary UnitTests of taskana-core

* TSK-1486: Improvements after review

* TSK-1486: fixed checkstyle issues

* TSK-1486: restored tests which were deleted by previous commits

* TSK-1486: moved helper package into acceptance package

* TSK-1486: fixed some code smells

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2021-02-26 18:01:25 +01:00
Patrick Treyer e30f04ba1e
TSK-1576: Implemented tests to retrieve tasks for different user roles (#1505)
* TSK-1576: Implemented tests to retrieve tasks for different user roles

* TSK-1576: Apply suggestions from code review

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>

Co-authored-by: Patrick Treyer <ptreyer@users.noreply.github.com>
Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2021-02-26 09:55:16 +01:00
Mustapha Zorgati a0abefd4ab TSK-1577: passing properly initialized TaskanaEngine during SPI initialization 2021-02-23 11:27:12 +01:00
Mustapha Zorgati c8a7660208 TSK-1571: fixed test which breaks after 22:00 local time 2021-02-18 16:38:51 +01:00
Mustapha Zorgati 2a643bc298 TSK-1572: automatically formatted code 2021-02-18 16:38:36 +01:00
Mustapha Zorgati 66ef87aeef TSK-1572: replaced CURRENT_TIMESTAMP db function with Instant 2021-02-18 16:38:36 +01:00
tge20 1a65a55948
TSK-1552: Updated archunit version to 0.16.0 (#1483) 2021-02-11 15:45:33 +01:00
Mustapha Zorgati 886c76e167 Updated poms to version 4.4.1-SNAPSHOT 2021-02-04 00:44:36 +00:00
tge20 ff0b77f6ad
TSK-1507: Cleaned up some CodeSmells (#1400)
* TSK-1507: Cleaned up some CodeSmells

* TSK-1507: Improvements after review
2021-02-03 12:33:16 +01:00
Tim Gerversmann 9906c0c7f9 TSK-1504: Next scheduled Job now based on due date of job before 2021-02-03 11:56:03 +01:00
tge20 aa6d304b49
TSK-1499: Fixed bug of also cleaning completed tasks with parentProcessId null/empty (#1394)
* TSK-1499: Fixed bug of also cleaning completed tasks with parentProcessId null/empty

* TSK-1499: Now also fixed for the HistoryCleanupJob

* TSK-1499: Improvements after review
2021-02-03 09:34:22 +01:00
Mustapha Zorgati 477470302a TSK-1531: moved all example classes to dedicated example package 2021-02-02 19:41:04 +01:00
tge20 c6e82c1368
TSK-1506: Fixed bug for Cleanup Jobs with more than 32767 tasks (#1457)
* TSK-1506: Fixed bug for Cleanup Jobs with more than 32767 tasks

* TSK-1506: Improvements after review
2021-02-02 08:16:07 +01:00
Mustapha Zorgati 4d279c4871 TSK-1529: fixed database cleanup for failing test classes 2021-02-01 13:55:20 +01:00
tge20 a4b6dc464f
TSK-1421: Specific error message if classification already existing (#1462) 2021-01-27 20:32:14 +01:00
tge20 abfa07ce6a
TSK-1115: Validate that Service Level is not negative (#1454) 2021-01-25 16:49:17 +01:00
tge20 0994f14b3b
TSK-1498: Created specific error message if workbasket already exists (#1399) 2021-01-20 09:06:03 +01:00
Mustapha Zorgati d773869779 TSK-1497: introduced GitHub Actions 2021-01-15 15:34:28 +01:00
Mustapha Zorgati 850ad5f724 Merge remote-tracking branch 'refs/remotes/origin/master'
Conflicts:
	history/taskana-simplehistory-rest-spring/src/main/java/pro/taskana/simplehistory/rest/TaskHistoryEventController.java
	rest/taskana-rest-spring-example-wildfly/src/test/java/pro/taskana/AbstractAccTest.java
2021-01-07 14:53:59 +01:00
tge20 ab672b27d4
TSK-1362: Fixed the test data to not include invalid owners for Workbaskets (#1379)
* TSK-1362: Fixed the test data to not include invalid owners

* TSK-1362: Improvements after review
2021-01-05 15:27:27 +01:00
tge20 0dc26f5fe1 TSK-1472: Replaced the DB check with productName by productId (#1353)
* TSK-1472: Moved initialization of the schema from the taskanaEngineConfiguration to taskanaEngineImpl.

* TSK-1472: Changed the check of current DB type from productName to productId to enable places where we don't want to open a connection to the DB not to do so.

* TSK-1472: Improvements after review
2021-01-05 14:53:34 +01:00
Mustapha Zorgati fff26d6a08 TSK-1236: removed links from classification definitions export 2020-12-18 11:29:10 +01:00
Mustapha Zorgati de57596ba8 TSK-1436: reworked review comments. 2020-12-18 11:29:10 +01:00
Mustapha Zorgati 3967e2900e TSK-1436: rest api documentation is now build with spring-auto-restdocs
TSK-1436: mvp with spring auto docs
TSK-1436: the rest documentation for all ClassificationController endpoints is now using spring auto rest docs
TSK-1436: rest documentation for all ClassificationDefinitionsController endpoints is now using spring auto rest docs
TSK-1436: fixed dynamic table of content
TSK-1436: renamed classification summary paged resource
TSK-1436: rest documentation for all MonitorController endpoints is now using spring auto rest docs
TSK-1436: rest documentation for TaskanaEngingeConfigurationController is now using spring auto rest docs
TSK-1436: added admin headers as default headers for each documentation test
TSK-1436: rest documentation for all TaskCommentController endpoints is now using spring auto rest docs
TSK-1436: added dedicated QueryFilter classes to reduce complexity from controller
TSK-1436: documented dedicated QueryFilter
TSK-1436: fixed all tests and corrected generic type of ParameterizedTypeReference
TSK-1436: rest documentation for all TaskController endpoints is now using spring auto rest docs
TSK-1436: rest documentation for all WorkbasketController endpoints is now using spring auto rest docs
TSK-1436: rest documentation for all WorkbasketAccessItemController endpoints si now using spring auto rest docs
TSK-1436: rest documentation for all WorkbasketDefinitionController endpoints is now using spring auto rest docs
TSK-1436: tidy up
TSK-1436: made all taskana entities start with an upper case letter
TSK-1436: properly deleted "links" from request examples and more tidy up
TSK-1436: tidy up usage of multiple values
TSK-1436: made asciidoc html pretty
TSK-1436: tidy-up feedback from team
TSK-1436: updated implementation of simplehistory rest to new standards
TSK-1436: prepared history for documentation
TSK-1436: removed QueryHelper and applied its test cases to QuerySortParameterTest
TSK-1436: made code compatible to current version of spring-auto-rest-docs
TSK-1436: finished history documentation tests
TSK-1436: fixed wildfly tests
TSK-1436: fixed sonarcloud warnings
TSK-1436: now adding simplehistory documentation to our demo
TSK-1436: fixed wildfly build stage
TSK-1436: cleanup of rest configuration structure
TSK-1436: added documentation for history endpoints
TSK-1436: moved spring-rest-auto-docs templates to taskana-common-test
TSK-1436: replaced when with if after throws declaration
TSK-1436: documented AccessIdController
TSK-1436: added curlRequest documentation snippet
2020-12-18 11:29:10 +01:00
Mustapha fca56cfc10 Updated poms to version 4.3.1-SNAPSHOT 2020-12-16 11:46:34 +00:00
Joerg Heffner 0f1b3505bc TSK-1491: Change schema version check to work with lower but compatible TASKANA versions 2020-12-15 13:45:41 +01:00
Joerg Heffner 8830cfa629 TSK-1457: Fix timing issue in initializeSchedule tests for cleanupjobs 2020-12-15 09:03:33 +01:00
tge20 218e038901
TSK-1468: Added validation of name and type of workbasket when updating Workbasket (#1366)
* TSK-1468: Added validation of name and type of workbasket when updating Workbasket

* TSK-1468: Improvements after review
2020-12-14 12:13:16 +01:00
Mustapha Zorgati f8b1932e0b TSK-1482: reformated all pom files 2020-12-04 21:11:38 +01:00
Tim Gerversmann 70a3ade7f2 TSK-1443: improvements after review 2020-12-02 23:24:08 +01:00
Tim Gerversmann 0c084dc3d8 TSK-1443: Implemented an option to order the result of the TaskQuery by the Workbasket-Name. 2020-12-02 23:24:08 +01:00
Joerg Heffner 6133b66059 TSK-1419: Null check for Service Level in classification service 2020-11-30 12:25:03 +01:00
Joerg Heffner 81b89e1c08 TSK-1441: Enable Admin to complete tasks already claimed by other users 2020-11-06 14:53:40 +01:00
Mustapha Zorgati 28b3ce6f8a TSK-1282: replaced all usages of Arrays.asList with List.of 2020-11-02 09:41:48 +01:00
Mustapha Zorgati 4f7b1fc867 TSK-1282: replaced Collections.emptyCollection with List/Map/Set.of 2020-11-02 09:41:48 +01:00
Mustapha Zorgati ab152f87b1 TSK-1282: replaced Collections.singletonMap with Map.of in all tests 2020-11-02 09:41:48 +01:00
Mustapha Zorgati 0eb877705b TSK-1282: replaced Collections.singletonList with List.of in all tests 2020-11-02 09:41:48 +01:00
Mustapha Zorgati 45f51a3e22 TSK-1282: fixed missing dependency for taskana-spring 2020-11-02 09:41:48 +01:00
Mustapha Zorgati 039dee4fb2 TSK-1282: updated taskana-core to jdk11 2020-11-02 09:41:48 +01:00
SAllhusen 85573e9ce7 TSK-1442: Removed serialVersionUID class variable from all entities 2020-10-30 17:03:38 +01:00
Chi Nguyen 6dc782e37a TSK-1430: Rename Mapping to RestEndpoints, groups relevant endpoints together 2020-10-30 01:36:27 +01:00
SAllhusen 9c2453659a TSK-1439: Removed all @author tags in *.java files 2020-10-29 13:03:00 +01:00
Mustapha Zorgati 3849ee385f TSK-1429: automatically formatted all backend code 2020-10-29 13:02:41 +01:00
Gerversmann Tim 8437b1fd6e TSK-1416: Truncation of Instant Membervariables 2020-10-28 17:59:38 +01:00
SAllhusen 4152bf92d0 TSK-1437: Fixed some SonarCloud Code Smells 2020-10-28 14:25:44 +01:00
Mustapha cd47ce2256 Updated poms to version 4.2.1-SNAPSHOT 2020-10-20 10:55:57 +00:00
Joerg Heffner d7e1b5cea9 TSK-1403: Add a log message to each SPI operation in case of a thrown Exception 2020-10-20 10:03:48 +02:00
Joerg Heffner f113410ef4 TSK-1404: Delete old Cleanup jobs when initializing 2020-10-16 09:57:39 +02:00
Joerg Heffner 654dc6b2cb TSK-1413: Fix bulk transfer task history event creation 2020-10-15 10:58:27 +02:00
Joerg Heffner 358da98ddf TSK-1409: Remove possible Nullpointer in TaskHistoryEvent 2020-10-14 08:27:50 +02:00
Mustapha Zorgati b23c6873db TSK-1335: removed last occurences of "HEI" prefix for history events 2020-10-13 19:58:28 +02:00
Mustapha Zorgati 3a6f3dea87 TSK-1407: taskana-simplehistory-rest-spring now using provided test util classes from taskana-common-test 2020-10-13 17:07:09 +02:00
Mustapha Zorgati 427ff366c3 TSK-1406: moved spring-boot test classes to dedicated test module 2020-10-12 15:15:38 +02:00
Mustapha Zorgati a5faab282a TSK-1277: moved the entire taskana.common package to the taskana-common module 2020-10-09 10:25:54 +02:00
Mustapha Zorgati 44cb21b5ae TSK-1277: removed circular dependency between taskana-common and taskana-core 2020-10-09 10:25:54 +02:00
Mustapha Zorgati 47aa60033f TSK-1277: moved JaasExtension and all its necessary classes to common modules 2020-10-09 10:25:54 +02:00
Mustapha Zorgati 7df5587676 TSK-1277: created taskana-common-parent and its children modules 2020-10-09 10:25:54 +02:00
Mustapha 40f9587399 Updated poms to version 4.1.1-SNAPSHOT 2020-09-23 18:08:03 +00:00
Joerg Heffner 8b3013d602 TSK-1365: Removed HistoryCustomField enums for classification/workbasket 2020-09-23 14:43:12 +02:00
Joerg Heffner 67d082a42d TSK-1365: Add classification history events 2020-09-23 14:43:12 +02:00
Joerg Heffner 0e83abd0fd TSK-1390: Review findings 2020-09-23 09:13:40 +02:00
Joerg Heffner 198572b6b1 TSK-1390: Add SPI to allow task processing before creation 2020-09-23 09:13:40 +02:00
Joerg Heffner 32a1db98bd TSK-1332: Reworked logic after review 2020-09-23 08:50:12 +02:00
Joerg Heffner 851b3536db TSK-1332: Add HistoryCleanupJob 2020-09-23 08:50:12 +02:00