Commit Graph

81 Commits

Author SHA1 Message Date
Norman Schmidt 8cb1db30ce Closes #2404 - Upgrade to Spring Boot 3.1.5 2023-11-10 13:08:31 +01:00
Kálmán Képes 18c34d1dfd Closes #2302 - Adds Permissions to Users
- Extends LDAP client to read permission attributes from users
            - Extends database schema with PERMISSION_INFO table and sets schema version to 6.4.0
            - Exetends User models (Builder, Mapper,..) to have permission attribute
    	- Determination of Domains is now able to be done via permissions defined on users

    Signed-off-by: Kálmán Képes <2853992+nyuuyn@users.noreply.github.com>
2023-09-28 10:09:54 +02:00
Mustapha Zorgati d96b1c392a TSK-1991: rework of property names 2023-03-15 01:00:50 +01:00
Mustapha Zorgati 55d939ca7b format entire codebase with new google-java-format version 2023-03-13 19:02:53 +01:00
Mustapha Zorgati ac95f8b181 TSK-2002: rename taskanaEngineConfiguration to taskanaConfiguration 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
Norman Schmidt 48d85e0ee7
TSK-1946: update to Spring Boot 2.7.8 (#1999)
* 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>
2023-01-30 12:33:41 +01:00
Norman Schmidt 5a14c00fa1 TSK-1957: add taskana property 'minimalPermissionsToAssignDomains' 2022-10-11 17:43:31 +02:00
ryzheboka fd5b110608 TSK-1665: rename the 'object-reference' query parameter into 'por' and add documentation for complex query parameter 2022-01-17 08:42:01 +01:00
holgerhagen 5662a6201c TSK-1772: Upgrade to Spring Boot 2.6.1. 2021-12-20 10:01:08 +01:00
Joerg Heffner e033f35cdc TSK-1723: Synchronization of LDAP data for users 2021-10-08 17:14:53 +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
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 6f344c9363 TSK-1647: automatic refactoring 2021-08-02 11:46:33 +02:00
Mustapha Zorgati 9d290f2c3d TSK-1647: minor rest test 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
Mustapha Zorgati 358e699f9f TSK-1664: fixed some code smells and redesigned RestHelper 2021-07-16 11:08:05 +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
Martin Sawilla 039ec5a464
TSK-1661: Added sort-by parameters for all entities. (#1624) 2021-07-02 14:38:26 +02:00
Mustapha Zorgati dd5bccc62c TSK-1654: fixed current code smells 2021-06-10 10:49:53 +02:00
SebastianRoseneck bfcabea610
TSK-1596: Automatic TraceLogging (#1577) 2021-05-20 09:41:58 +02:00
Joerg Heffner 7b90a84574 TSK-1634: Review Findings 2021-05-11 17:25:03 +02:00
Joerg Heffner 38363b81d6 TSK-1634: Endpoint in AccessIdController to search users and members of groups configured with TASKANA user role 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
Mustapha Zorgati 327747cbd8 TSK-1594: now using type inference to automatically detenct the type of any HttpEntity 2021-03-16 20:19:43 +01:00
Mustapha Zorgati 47821aae2e TSK-1594: inlined RestHelper#defaultRequest 2021-03-16 20:19:43 +01:00
Joerg Heffner be4f6c997a TSK-1544: Removed duplicated tests 2021-02-24 11:09:11 +01:00
Joerg Heffner e7ac77cd39 TSK-1544: Throw error for unknown query parameter 2021-02-24 11:09:11 +01:00
Mustapha Zorgati 2a643bc298 TSK-1572: automatically formatted code 2021-02-18 16:38:36 +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 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 727b3ba3b5 TSK-1436: integraded wording feedback from team 2020-12-18 11:29:10 +01:00
Mustapha Zorgati f93cf9ee57 TSK-1436: renamed XXXRestDocumentationTest to XXXRestDocTest (shorter name) 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
tge20 bc64407364
TSK-1423: Implemented the option to search for an Access Id by the full name of the user. (#1361) 2020-12-14 12:16:39 +01:00
Mustapha Zorgati 3849ee385f TSK-1429: automatically formatted all backend code 2020-10-29 13:02:41 +01:00
SAllhusen 4152bf92d0 TSK-1437: Fixed some SonarCloud Code Smells 2020-10-28 14:25:44 +01:00
SAllhusen 5dd1de4d58 TSK-1414: Fixed most of the new SonaCloud Code Smells since 4.0.2-SNAPSHOT 2020-10-17 21:14:34 +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 121a9c103f TSK-1407: adopted RestDocumentation tests to use taskana-common-test aswell 2020-10-13 17:07:09 +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 e26e5c65a1 TSK-1337: fixed newly introduced bugs 2020-09-02 09:56:16 +02:00
Joerg Heffner 3691ea624d TSK-1369: Refactor TaskHistoryCustomField from events package to events/task 2020-08-13 09:44:15 +02:00
Nikita Kolytschew d0ae7f2150 TSK-1085: Hateoas self-links which contain variables are not working for Paged representationmodels
* remove Aspect
* remove PageLinks
* remove AbstractRessourcesAssembler
* update TaskanaPagingAssembler
* update *Assembler implementing TaskanaPagingAssembler for self-links

* update unit-test and test "href-self" part of json
* fix checkstyl-finding
2020-08-12 16:11:19 +02:00
Joerg Heffner 814a8a6b63 TSK-1335: Added create for WorkbasketHistoryEvents in historyLogger & review findings 2020-08-12 13:27:26 +02:00
Joerg Heffner 29ba5fe418 TSK-1335: Add workbasket history events 2020-08-12 13:27:26 +02:00
Joerg Heffner a37a859573 TSK-1358: Audit-log for history events 2020-08-11 15:38:59 +02:00
Mustapha Zorgati 7cc5b00be6 TSK-1345: replaced every customField API call with CustomField enums 2020-07-24 01:05:42 +02:00