Commit Graph

104 Commits

Author SHA1 Message Date
Mustapha Zorgati b2be25e2ef TSK-1997: refactoring DB Enum 2023-03-13 10:39:04 +01:00
Alex f64e38eb27 TSK-1989: integrate execution of jobs in taskana core (#2087)
Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2023-03-13 10:39:04 +01:00
Jochen Just 4a42a35a21 TSK-1972: calculates working time in any resolution
Prior working time calculation only happened in a full day.
2023-03-13 10:39:04 +01:00
Mustapha Zorgati 4697fbe5be TSK-2004: JavaDoc 4 TaskanaConfiguration.Builder#initTaskanaProperties
And refactoring of some components around the TaskanaConfiguration
2023-03-13 10:39:04 +01:00
Mustapha Zorgati ff643fdff6 TSK-1994: introduce new Generic Interval
Co-authored-by: Alex <arolfes@users.noreply.github.com>
2023-03-13 10:39:04 +01:00
arolfes 20d389a7d5 TSK-1992 remove unnecessary ParentExceptions
Deleted Exceptions:
* NotAuthorizedException
* NotFoundException
* InvalidStateException
2023-03-13 10:39:04 +01:00
arolfes b96c68ac6f TSK-1996 taskana.properties file is optional 2023-03-13 10:39:04 +01:00
arolfes 61a5e32865 TSK-1987 immutable TaskanaEngineConfiguration 2023-03-13 10:39:04 +01:00
Alex 53f9dce1db TSK-1986 remove cycle between TaskanaEngineConfiguration und TaskanaEngine (#2078) 2023-03-13 10:39:04 +01:00
Elena Mokeeva 73fed96627 TSK-2001: add filtering by priorityWithin and notWithin 2023-03-03 12:56:38 +01:00
Elena Mokeeva 3dbf98bf92
TSK-2000: add filtering by classification parent key 2023-02-16 12:17:13 +01:00
Elena Mokeeva 8bfb7fae95 TSK-1977: fix setting ownerLongName while claiming 2023-02-14 09:40:46 +01:00
Alex 291cc38ea6
TSK-1971 support for oracle databases (#2050)
* local testcontainer, sql script to setup table
* handle empty strings and null values
* prepare all SQL Staments for oracle
* run external oracle db
2023-02-13 08:00:43 +01:00
Elena Mokeeva f25b6eb550 fix resquestReview for an IN_REVIEW Task 2023-02-09 14:18:56 +01:00
Mustapha Zorgati b6834203e3
TSK-1922: disabled cyclic dependency architecture tests (#2074)
* TSK-1922: fixed naming of some tests (to satisfy an architecture test)

* TSK-1922: disabled cyclic dependency architecture test

Since they disturb development too much
2023-01-30 16:23:22 +01:00
Yakup Ensar Evli 131c1f0cb9 TSK-1866: Refactor UpdateClassificationAccTest to use Test-API
Compressed UpdateTaskPriority/ServiceLevel-Test. Check error messages. Cleaned comments. Reordered some methods.
Move test to taskana-core-test according to new structure.
2023-01-30 12:42:56 +01:00
Norman Schmidt e72ef4ac4e TSK-1969: added getUsers method to UserService 2023-01-11 07:05:24 +01:00
norman-schmidt e40623ce0f
TSK-1957: groups are included in the domain aggregation (#2021)
* TSK-1957: groups are included in the domain aggregation

- added schema GROUP_INFO
- added group related methods to UserMapper / UserMapperSqlProvider
- User API extended with groups
- UserInfoRefreshJob includes groups
2022-10-20 14:16:47 +02:00
Mustapha Zorgati 63d5477e06 TSK-1919: re-enabled architecture tests and fixed freeze mechanism
cause of the issue(s): misconfiguration of the slices feature

Co-authored-by: Oliver Koch <oliver.koch@novatec-gmbh.de>
2022-10-17 11:27:04 +02:00
Norman Schmidt 90a64a9b88 TSK-1957: extend getUser() method with domain information
- extended WorkbasketQuery methods 'accessIdsHavePermission' & 'callerHasPermission' to accept multiple permissions
- added domain attribute to User API
- extended UserService to aggregate domain information

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2022-10-11 17:43:31 +02:00
Norman Schmidt 5a14c00fa1 TSK-1957: add taskana property 'minimalPermissionsToAssignDomains' 2022-10-11 17:43:31 +02:00
Norman Schmidt d6da6f8124 TSK-1957: migrate UserServiceAccTest to new test-api 2022-10-11 17:43:31 +02:00
Mustapha Zorgati 2dbdd874d5 TSK-1964: refactored builders to reduce code duplication 2022-10-11 13:08:44 +02:00
ryzheboka d77c4846ed TSK-1925: clean up claimTaskAccTest 2022-09-20 09:05:27 +02:00
Yakup Ensar Evli e074a90222 TSK-1816: Update QueryClassificationAccTest to use Test-API
Used new builder to create classifications.
Instead of working with a clean database for each test, we create a scenario. In that scenario we use ClassificationCustomField#CUSTOM_1 to filter out all the other created Classifications. Therefore, all tests regarding ClassificationCustomFields are executed first.
The alternative is to create a "big" scenario as a test setup. But that would result to the same issues we have with the sql file.
Corrected assertion for should_FindClassifications_When_QueryingForListValueField():167. The databases (H2, POSTGRES) have different interpretations for boolean values.
getCustomAttribute got deprecated, now getCustomField is being used.
Move test to taskana-core-test according to new project structure.
Separated QueryClassificationsAccTest to filtering and sorting class.
ClassificationQueryAccTest resolved to QueryClassifications classes.
TSK-1816: X
2022-08-24 14:29:05 +03:00
ryzheboka 657e8ea81b TSK-1840: refactor DeleteClassificationAccTest to use test-api 2022-08-24 12:58:39 +02:00
Mustapha Zorgati d8ffdb1824 TSK-1944: Implemented BeforeRequestChanges SPI 2022-08-20 18:16:23 +02:00
Mustapha Zorgati 1188f6396c TSK-1945: implemented BeforeRequestReview SPI
blub
2022-08-20 17:46:27 +02:00
ryzheboka 897b469aeb TSK-1829: refactor testSetPlannedPropertyOnAllTasks 2022-08-18 10:58:41 +02:00
ryzheboka 709736ddc9 TSK-1843: refactor GetTaskCommentAccTest to use test-api 2022-08-18 10:43:09 +02:00
ryzheboka 387a95c4ce TSK-1844: Refactor CreateTaskCommentAccTest to use test-api 2022-08-17 10:08:45 +02:00
Mustapha Zorgati cf690bf6b5 TSK-1941: implemented ReviewRequired SPI 2022-08-11 12:36:39 +02:00
Mustapha Zorgati 830723800e TSK-1941: test-api injects enclosing class instance for non-static member classes
this allows SPIs to use instance fields from their enclosing class
2022-08-11 12:36:39 +02:00
ryzheboka 340236c4a2 TSK-1938: Add RequestChangesProvider 2022-08-11 12:17:08 +02:00
Mustapha Zorgati 1f9d20f76f TSK-1937: implemented AfterRequestReviewProvider
Co-authored-by: ryzheboka <25465835+ryzheboka@users.noreply.github.com>
2022-08-10 12:18:14 +02:00
Mustapha Zorgati b1166939cd TSK-1937: cleaned up usage of WithServiceProvider annotation 2022-08-10 12:18:14 +02:00
Oliver Koch 2bc1c7ca01 TSK-1924: fix guideline violations, so ArchUnitTests are green 2022-08-09 14:43:28 +02:00
Oliver Koch 5c18cc9b4a TSK-1924: added test for the dependency hierarchy of TASKANA 2022-08-09 14:43:28 +02:00
Oliver Koch 5963d0c22d TSK-1919: re-enabled the ArchUnit Tests 2022-08-09 14:43:28 +02:00
ryzheboka cc32b10d82 TSK-1916: Add requestChanges functionality 2022-08-09 13:19:02 +02:00
ryzheboka ef875dd42a TSK-1915: Add requestReview functionality 2022-08-06 14:30:59 +02:00
ryzheboka 70c64dd66e TSK-1837: Add custom-int-x-from and custom-int-x-to to rest 2022-08-02 14:35:13 +02:00
ryzheboka 803b4b20a2 TSK-1837: Add within and notWithin filter criteria 2022-08-02 14:35:13 +02:00
ryzheboka 18ee26ba80 TSK-1837: Add custom_int fields and standard operations on them 2022-08-02 14:35:13 +02:00
ryzheboka 83890ddd16 TSK-1914: introduce IN_REVIEW and READY_FOR_REVIEW Task status 2022-07-19 15:27:44 +02:00
ryzheboka 6591478ebb TSK-1858: Remove test-api duplicates 2022-07-13 09:02:02 +02:00
ryzheboka 8d87d15e7c TSK-1909: optimize authorization in db2 query 2022-07-05 14:24:27 +02:00
ryzheboka 59a4968106 TSK-1841: refactor GetClassificationAccTest to use test-api 2022-06-14 15:02:21 +02:00
ryzheboka 1b9794d34a TSK-1886: add MASTER_DOMAIN into the SharedConstants class 2022-06-14 09:59:19 +02:00
ryzheboka a23060ba64 TSK-1836: add withoutAttachment as query parameter in REST and taskana-core 2022-06-01 12:15:03 +02:00
ryzheboka 2d3e0f9f0a TSK-1884: Move builder and their tests into taskana-test-api 2022-05-31 09:53:01 +02:00
ryzheboka c4ebafa3f4 TSK-1736: fix TaskQuery in db2 for admin user and no workbasketAccessItems 2022-05-30 14:27:58 +02:00
SebastianRoseneck ea23e8c363 TSK-1783: Updated CompleteTaskAccTest to use test-API 2022-05-28 17:35:07 +03:00
ryzheboka 22dac2b48c TSK-1857: Move taskana-core tests into a dedicated module 2022-05-27 14:22:57 +02:00