Commit Graph

1178 Commits

Author SHA1 Message Date
Norman Schmidt d6da6f8124 TSK-1957: migrate UserServiceAccTest to new test-api 2022-10-11 17:43:31 +02:00
Mustapha Zorgati 50915ef4e1 TSK-1964: added UserBuilder to test-api 2022-10-11 13:08:44 +02:00
Mustapha Zorgati 2dbdd874d5 TSK-1964: refactored builders to reduce code duplication 2022-10-11 13:08:44 +02:00
Norman Schmidt 3c71c08684 TSK-1964: made UserService injectable and adapted/fixed test 2022-10-11 13:08:44 +02:00
norman-schmidt 6c6f1b56c4
TSK-1961: Remove AbstractWorkbasketAccessItemQuery and AbstractWorkbasketAccessItemQueryImpl (#2014) 2022-09-28 12:57:44 +02:00
Mustapha Zorgati ac139ecacc Updated poms to version 5.7.1-SNAPSHOT 2022-09-27 05:36:47 +00:00
ryzheboka d77c4846ed TSK-1925: clean up claimTaskAccTest 2022-09-20 09:05:27 +02:00
ryzheboka a6567b6eda TSK-1958: fix status changes for Task transfer 2022-09-19 13:35:48 +02:00
ryzheboka e1d205d4ef TSK-1947: processing of LDAP-data after refresh 2022-09-14 17:53:35 +02:00
ryzheboka 316c173663 TSK-1955: Add javadoc for two SPIs 2022-09-13 13:07:50 +02:00
ryzheboka 084dc2b99b TSK-1954: Clean up codesmells 2022-09-07 16:26:23 +02:00
Mustapha Zorgati c145e66e30 Updated poms to version 5.6.1-SNAPSHOT 2022-09-06 16:01:03 +00:00
ryzheboka 0060368905 TSK-1952: adjust parameter names in queries + some clean up 2022-09-06 17:43:43 +02:00
ryzheboka dc5efe527b TSK-1951: Extend WorkbasketPriorityReport for customInt 2022-09-06 12:00:06 +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
ryzheboka 3575b8aa17 TSK-1926: Remove duplicate from TaskServiceImpl 2022-08-24 12:32:26 +02:00
Mustapha Zorgati acb53a5a61 Updated poms to version 5.5.1-SNAPSHOT 2022-08-20 16:36:41 +00:00
Mustapha Zorgati 62844c7b9f TSK-1944: expanded Javadoc for review SPIs to include force methods 2022-08-20 18:16:23 +02:00
Mustapha Zorgati d8ffdb1824 TSK-1944: Implemented BeforeRequestChanges SPI 2022-08-20 18:16:23 +02:00
Mustapha Zorgati 151d23d98d TSK-1945: minor cleanup of TaskServiceImpl
blub2
2022-08-20 17:46:27 +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
Yakup Ensar Evli 33a8852995 TSK-1864: Reorder methods in TaskService
New ordering follows CRUD principles for better readability.
2022-08-18 00:02:18 +03:00
ryzheboka 387a95c4ce TSK-1844: Refactor CreateTaskCommentAccTest to use test-api 2022-08-17 10:08:45 +02:00
Mustapha Zorgati 3c2688daef Updated poms to version 5.4.1-SNAPSHOT 2022-08-11 15:54:34 +00:00
Mustapha Zorgati 6997d64083 TSK-1943: added REST endpoint for force requesting changes on a Task 2022-08-11 17:08:10 +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
Mustapha Zorgati 82400aecb1 TSK-1937: test-api now initializes service providers properly
when multiple WithServiceProvider annotations are defined
2022-08-10 12:18:14 +02:00
Mustapha Zorgati f7b668835c TSK-1937: test-api now supports instantiation off all class types
except for anonymous classes since they're not assignable to the WithAccessId annotation
2022-08-10 12:18:14 +02:00
Mustapha Zorgati 63315eaf22 TSK-1937: moved test-api tests to proper package
Co-authored-by: ryzheboka <25465835+ryzheboka@users.noreply.github.com>
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 ba5e582beb TSK-1911: Fix details of TaskHistoryEvents 2022-08-09 14:41:56 +02:00
ryzheboka d83678ac54 TSK-1916: test history when requesting changes 2022-08-09 13:19:02 +02:00
ryzheboka cc32b10d82 TSK-1916: Add requestChanges functionality 2022-08-09 13:19:02 +02:00
ryzheboka 0b4445b97b TSK-1923: clean parameter names in Query entities 2022-08-09 13:17:48 +02:00
ryzheboka ef875dd42a TSK-1915: Add requestReview functionality 2022-08-06 14:30:59 +02:00
Mustapha Zorgati d32a6189c7 Updated poms to version 5.3.1-SNAPSHOT 2022-08-02 15:25:22 +00: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
Mustapha Zorgati 045ef3c7a1 TSK-1882: test-api now uses one database with different schema names
Co-authored-by: ryzheboka <25465835+ryzheboka@users.noreply.github.com>
2022-07-19 17:48:03 +02:00
ryzheboka 83890ddd16 TSK-1914: introduce IN_REVIEW and READY_FOR_REVIEW Task status 2022-07-19 15:27:44 +02:00
Mustapha Zorgati e7e2a8afa5 TSK-1918: test-api now exposes driver dependencies
so that they don't have to be added manually in each dependant's pom
2022-07-14 13:41:12 +02:00
Mustapha Zorgati d03ab1bc60 TSK-1918: replace Db2 JDBC driver with official one (from maven central) 2022-07-14 13:41:12 +02:00
Mustapha Zorgati 86ab0a14bb TSK-1917: fixed formatting of XML files (in IntelliJ) 2022-07-14 13:24:37 +02:00
ryzheboka 6591478ebb TSK-1858: Remove test-api duplicates 2022-07-13 09:02:02 +02:00
Mustapha Zorgati 9ffa3f76c0 Updated poms to version 5.2.2-SNAPSHOT 2022-07-05 15:34:08 +00:00
ryzheboka 8d87d15e7c TSK-1909: optimize authorization in db2 query 2022-07-05 14:24:27 +02:00
Mustapha Zorgati 1f4c3ad5fb
removed region comments from TaskQueryImpl 2022-06-22 11:35:25 +02:00
Mustapha Zorgati 20787a2166 TSK-1887: taskana-simplehistory-provider is now using our docker dbs 2022-06-22 11:18:12 +02:00
ryzheboka a9936f243d TSK-1902: fix wrong time conversion 2022-06-15 14:05:34 +02:00
ryzheboka 3b43b6c038 TSK-1811: Refactor Java-doc in ClassificationQuery 2022-06-14 15:39:29 +02:00
ryzheboka 59a4968106 TSK-1841: refactor GetClassificationAccTest to use test-api 2022-06-14 15:02:21 +02:00
Mustapha Zorgati c46222c43a
TSK-1900: regenerated ArchUnit store files .. again 2022-06-14 14:16:53 +02:00
Mustapha Zorgati ed71b69696
TSK-1900: regenerated ArchUnit Store after integration of PR 2022-06-14 13:55:09 +02:00
ryzheboka 1b9794d34a TSK-1886: add MASTER_DOMAIN into the SharedConstants class 2022-06-14 09:59:19 +02:00
Oliver Koch 39ee689851 TSK-1900: regenerate ArchUnit Store 2022-06-10 15:49:27 +02:00
Oliver Koch 96804ef1d7 TSK-1900: fix checkstyle issue 2022-06-10 15:49:27 +02:00
Oliver Koch 3eb0d6b288 TSK-1900: refactored ArchUnit Tests
* Bump up the Version for ArchUnit from 0.22.0 to 0.23.1
* Added Regions to structure the ArchUnit Tests
* Refined Tests, so they better fit
2022-06-10 15:49:27 +02:00
Mustapha Zorgati 34ac68000b Updated poms to version 5.2.1-SNAPSHOT 2022-06-08 21:21:45 +00:00
Yakup Ensar Evli f6ce6439cc TSK-1888: Restructure method order of ConfigurationService, UserService
New ordering follows CRUD principles for better readability.
2022-06-08 18:34:14 +03:00
ryzheboka a23060ba64 TSK-1836: add withoutAttachment as query parameter in REST and taskana-core 2022-06-01 12:15:03 +02:00
ryzheboka a2e0681190 TSK-1852: refactor JavaDoc in TaskService 2022-05-31 16:01:49 +02:00
Yakup Ensar Evli 43ed441daf TSK-1812: Added details in task-history for claim/cancel
Detect changes and pass them in the specific event in TaskServiceImpl class. For saving the old state of the specified task, I had to use copy() since getTask returns the same object reference, thus no changes can be detected. 
In the specified events details are accepted as parameters.
Extended Tests for Claim and Cancel Events to check correct details.
2022-05-31 16:54:29 +03:00
Yakup Ensar Evli db88d93017 TSK-1865: Reorder methods in ClassificationService
New ordering follows CRUD principles for better readability.
2022-05-31 13:14:37 +03: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
Mustapha Zorgati 0133f98548 TSK-1783: added logging dependency for taskana-core-test module
so that logging statements can be seen during test execution
2022-05-28 17:35:07 +03:00
SebastianRoseneck ea23e8c363 TSK-1783: Updated CompleteTaskAccTest to use test-API 2022-05-28 17:35:07 +03:00
ryzheboka 3bbd7446e2 TSK-1894: set manual priority to default in rest 2022-05-27 17:21:30 +02:00
ryzheboka 691370f096 TSK-1857: change sonar configuration for missing test folders 2022-05-27 14:22:57 +02:00
ryzheboka 22dac2b48c TSK-1857: Move taskana-core tests into a dedicated module 2022-05-27 14:22:57 +02:00
Yakup Ensar Evli 5388763b40 TSK-1883: Reorder methods in WorkbasketService
New ordering follows CRUD principles for better readability.
Introduction of regions for group of methods.
2022-05-27 11:45:29 +03:00
ryzheboka 1ae1df8908 TSK-1889: create TASK_ROUTER role 2022-05-19 09:31:13 +02:00
ryzheboka 0f91db4b7c TSK-1867: Refactor Java-doc in ClassificationService 2022-05-09 15:12:22 +02:00
ryzheboka 54f01f8927 TSK-1856: duplicating the test-api into a dedicated module 2022-04-28 16:26:31 +02:00
Mustapha Zorgati 93d0b27bb0 TSK-1831: dropped support for JDK8
Co-authored-by: Yakup Ensar Evli <54323073+ensarevlideveloper@users.noreply.github.com>
Co-authored-by: ryzheboka <25465835+ryzheboka@users.noreply.github.com>
Co-authored-by: knht <43456808+knht@users.noreply.github.com>
2022-04-26 15:27:56 +02:00
Mustapha Zorgati a462d6afbd TSK-1835: expanded test api test showing that @CleanTaskanaContext works 2022-04-21 16:28:10 +02:00
ryzheboka b4e1f9bc31 TSK-1532: Refactor names of entities in REST-Doc by capitalizing them; refactor Java-doc according to guidelines 2022-04-15 11:43:57 +02:00
Mustapha Zorgati 55aca2bcac reformat code after update to google-java-format 1.15.0 2022-04-12 10:22:31 +02:00
Mustapha Zorgati 433bf63883 Updated poms to version 5.1.1-SNAPSHOT 2022-04-06 14:55:13 +00:00
Mustapha Zorgati 541985b007 TSK-1838: fixed local compilation through IDE
due to missing type inference in JDK8
2022-04-06 15:54:34 +02:00
ryzheboka 1592f71dbe TSK-1834: fix so manual priority is returned when querying 2022-04-05 15:53:48 +02:00
ryzheboka bc86006877 TSK-1803: add manual priority to task in REST 2022-04-05 15:52:56 +02:00
holgerhagen a0fe4ea468 TSK-1814: structured acceptance tests in packages 2022-04-05 12:32:50 +02:00
ryzheboka f70d845793 TSK-1802: add manual priority to task in taskana-core 2022-03-29 09:44:13 +02:00
ryzheboka 5c70c1a7bb TSK-1827: refactor some test names in QueryTasksWithSortingAccTest 2022-03-25 10:31:52 +01:00
ryzheboka 4444816589 TSK-1827: add sorting by ownerLongName 2022-03-25 10:31:52 +01:00
Yakup Ensar Evli 71f928972d TSK-1817: Added received to TaskSummaryImpl constructor.
Furthermore, added received to createUnitTestTask.
Added this so testCloneIntask() is a valid test.
2022-03-22 08:58:31 +01:00
Tristan2357 75105e06f7
TSK-1796: Whitespace trimming for Front- and Backend (#1829)
* TSK-1796: Trim whitespaces in frontend

* TSK-1796: Trim whitespaces in backend
2022-03-16 14:19:10 +01:00
Mustapha Zorgati 2f56e1da20 Updated poms to version 5.0.2-SNAPSHOT 2022-03-08 16:46:03 +00:00
holgerhagen 4f48fe93c6 TSK-1807: renamed setCustomAttribute to setCustomField 2022-03-08 17:10:37 +01:00