3 new Indices for Table Object_Reference
* IDX_OBJECT_REFERENCE_PK_ID
* IDX_OBJECT_REFERENCE_FK_TASK_ID
* IDX_OBJECT_REFERENCE_ACCESS_LIST
Fixed Default Sorting when searching or accessing ObjectReferences
* 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
Compressed UpdateTaskPriority/ServiceLevel-Test. Check error messages. Cleaned comments. Reordered some methods.
Move test to taskana-core-test according to new structure.
* TSK-1946: H2 Update
* TSK-1946: add new run configurations
* TSK-1946: update to Spring Boot 2.7.3
Updated Spring Security Configs to new component-based configuration.
See https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter
Co-authored-by: Marcel Bagemihl <marcel.bagemihl@novatec-gmbh.de>
* TSK-1946: wildfly now only starting postgres db
* TSK-1946: drop sup 4 sys prop db.type. We only execute PSQL
* TSK-1946: create new module 'taskana-rest-spring-test-lib' to simplify the Spring Security Configuration Setup for Spring Tests
* TSK-1946: H2 Update
* TSK-1946: add new run configurations
* TSK-1946: update to Spring Boot 2.7.3
Updated Spring Security Configs to new component-based configuration.
See https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter
Co-authored-by: Marcel Bagemihl <marcel.bagemihl@novatec-gmbh.de>
* TSK-1946: wildfly now only starting postgres db
* TSK-1946: drop sup 4 sys prop db.type. We only execute PSQL
* TSK-1946: create new module 'taskana-rest-spring-test-lib' to simplify the Spring Security Configuration Setup for Spring Tests
* TSK-1946: update to Spring Boot 2.7.8
---------
Co-authored-by: Yakup Ensar Evli <54323073+ensarevlideveloper@users.noreply.github.com>
Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
Co-authored-by: Marcel Bagemihl <marcel.bagemihl@novatec-gmbh.de>
Co-authored-by: arolfes <arolfes@users.noreply.github.com>
* TSK-1965: created endpoint for force claiming a task
* TSK-1965: created endpoint for force completing a task
* TSK-1965: restructured TaskController to match TaskService structure
* TSK-1965: structured TaskControllerIntTest
* TSK-1965: created endpoint for terminating a task
* TSK-1965: created endpoint for setting a task read
* 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
- 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>
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
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.