Commit Graph

1041 Commits

Author SHA1 Message Date
Joerg Heffner 676caaae84 TSK-1726: Review Findings 2021-10-08 08:38:21 +02:00
Joerg Heffner e264a20389 TSK-1726: Implemented option to include long name on Task / TaskComment / TaskHistoryEvent 2021-10-08 08:38:21 +02:00
Martin Sawilla b511973c14 TSK-1690: Removed toString() methods from Exceptions to prevent unspecific error messages 2021-10-05 14:27:39 +02:00
Lia Lissmann 1bab31e43c TSK-1727: + TSK-1624: Add notLike and notIn filter parameter to TaskQuery 2021-10-05 13:28:26 +02:00
Mustapha Zorgati 05fce27222 TSK-1737: created ConfigurationService which manages custom attributes 2021-09-29 12:35:06 +02:00
Mustapha Zorgati 4ae94ff108 TSK-1741: WorkbasketPriorityReport now accepts column headers as request params 2021-09-29 10:24:01 +02:00
Mustapha Zorgati 9da7304bca TSK-1735: replaced taskanaUnitTest.properties with testcontainers 2021-09-21 16:57:31 +02:00
Mustapha Zorgati fb4234b6f1 TSK-1704: test API now restricting service providers to specific test 2021-09-21 16:35:58 +02:00
Mustapha Zorgati d61fc1f56d TSK-1730: Moved all Builder classes to package builder 2021-09-20 16:17:25 +02:00
Mustapha Zorgati 761c6edade TSK-1730: Allow modification of TaskanaEngineConfiguration for tests 2021-09-20 16:17:25 +02:00
Mustapha Zorgati 60cdb4b08f Updated poms to version 4.9.2-SNAPSHOT 2021-09-16 15:48:44 +00:00
Benjamin Eckstein e579720716 TSK-1731: Fix TaskQuery to order correctly by attachment received 2021-09-16 14:20:50 +02:00
Mustapha Zorgati c742407288 TSK-1685: added testcontainers extension 2021-09-16 09:21:29 +02:00
Mustapha Zorgati af47d1ad14 TSK-1633: small refactoring
Co-authored-by: SebastianRoseneck <55637012+SebastianRoseneck@users.noreply.github.com>
2021-09-16 09:21:29 +02:00
Mustapha Zorgati 75824049ad TSK-1633: new dependency injection extension replaces AbstractAccTest
Co-authored-by: SebastianRoseneck <55637012+SebastianRoseneck@users.noreply.github.com>
2021-09-16 09:21:29 +02:00
Mustapha Zorgati e9a1f02c2e TSK-1633: created all new test API for improved test data generation
Co-authored-by: SebastianRoseneck <55637012+SebastianRoseneck@users.noreply.github.com>
2021-09-16 09:21:29 +02:00
Tristan2357 aa725edb83
TSK-1728: Refactored SqlProviderUtil (#1705) 2021-09-14 11:47:34 +02:00
tge20 1e3f90509d
TSK-1706: Implementation of the new UserService (#1692) 2021-09-07 07:50:04 +02:00
Mustapha Zorgati 0fcc08ddd2 Updated poms to version 4.9.1-SNAPSHOT 2021-08-31 14:57:33 +00:00
Joerg Heffner 8eb8f1f44d TSK-1724: Code Review Changes 2021-08-31 13:41:23 +02:00
Joerg Heffner 5d08893a6b TSK-1724: Change JobType from Enum to String 2021-08-31 13:41:23 +02:00
Martin Sawilla 38fbc66f7f TSK-1716: Replaced immutable Collections with mutable ones in all our entities. 2021-08-31 13:00:08 +02:00
Martin Sawilla e564778a91 TSK-1715: Implemented OwnerNotIn-Filter for TaskQuery. 2021-08-31 13:00:00 +02:00
Tristan2357 fe292ea5b5
TSK-1687: Provide REST API for WorkbasketReports, structured by priority instead of days (#1685)
* TSK-1687: Added WorkbasketPriorityReport

Java and REST API

* TSK-1687: Added Tests

* TSK-1687: Adapted Tests, because of extended monitor test data

* TSK-1687: PR amends (remember to squash and rebase)
2021-08-31 12:52:14 +02:00
Mustapha Zorgati 54428045dd TSK-1718: Performance optimization for TaskService#getTask and TaskQuery#list
The execution time has been reduced from O(n²) to O(n)
2021-08-30 14:18:38 +02:00
Mustapha Zorgati 591963cebc TSK-1719: optimized other mockStatic calls to match recommendation
which is to use mockStatic together with a try-with-resources statement
2021-08-30 14:04:09 +02:00
Lia Lissmann 14baeb8bc1 TSK-1703: Create configuration property that allows to create & update due and planned timestamps with service level mismatch 2021-08-26 10:32:46 +02:00
Lia Lissmann 2b7e7902a3 TSK-1710: Fixed a few code smells 2021-08-25 10:13:50 +02:00
Benjamin Eckstein e9540d04e4 TSK-1705: Add a job to update priority for unfinished tasks 2021-08-24 16:01:28 +02:00
Tristan Eisermann 7810267092 TSK-1650: Code Smells 2021-08-24 11:54:39 +02:00
Tristan Eisermann 8e94de6a42 TSK-1650: Reworked the WorkbasketAccessSqlProvider 2021-08-24 11:54:39 +02:00
Tristan Eisermann 72b00a8c32 TSK-1650: Added WorkbasketSqlProvider 2021-08-24 11:54:39 +02:00
Tristan Eisermann ed11a02b80 TSK-1650: Added WorkbasketAccessSqlProvider
And made search for accessItems by Key and Domain case insensitive
2021-08-24 11:54:39 +02:00
Tim Gerversmann dc9e3a25ce TSK-1686: Introduced an SPI for the individual calculation of priorities 2021-08-20 21:21:57 +02:00
Mustapha Zorgati 698808e9d3 TSK-1693: automatic reformatting 2021-08-11 11:17:27 +02:00
Holger Hagen a4ab94bb04 TSK-1697: Fixed ambiguous domain in listValues query when joining with classifications 2021-08-11 11:11:17 +02:00
Mustapha Zorgati d967fb81f5 TSK-1692: now explicitly list database columns in SecurityVerifier 2021-08-05 21:33:23 +02:00
Mustapha Zorgati bc024e3194 Updated poms to version 4.8.1-SNAPSHOT 2021-08-02 19:55:32 +00:00
Mustapha Zorgati 6dfb751bee TSK-1659: Expanded TimeIntervalReportBuilder with custom-X filter
Co-authored-by: Tim Gerversmann<72377965+tge20@users.noreply.github.com>
2021-08-02 21:23:10 +02:00
Mustapha Zorgati 55d21a9e8b TSK-1649: implemented database lock for resolution of jobs to run 2021-08-02 16:42:09 +02:00
Tristan 7e6c045ded TSK-1240: PR amends 2021-08-02 16:41:37 +02:00
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