Commit Graph

92 Commits

Author SHA1 Message Date
MM1277 31100a54dd Closes #2563 - add handling of permissions as access ids
Co-authored-by: SebastianRoseneck <55637012+SebastianRoseneck@users.noreply.github.com>
Co-authored-by: ryzheboka <025465835+ryzheboka@users.noreply.github.com>
2024-07-26 10:12:36 +02:00
Norman Schmidt 55823186fe Closes #2510 - Fix BootWebSecurityConfigurer for Demo Application in DevMode 2024-03-06 17:41:57 +01:00
arolfes 5ec0422acf first part #2434 fix configuration of example app
fix configuration of taskana-rest-spring-example-boot app
to work properly after migration to Spring Boot 3.1
2023-11-17 09:26:40 +01:00
Norman Schmidt 8cb1db30ce Closes #2404 - Upgrade to Spring Boot 3.1.5 2023-11-10 13:08:31 +01:00
Elena Mokeeva 8460f1d5d7 Closes #2375 - fix description of initial start delay 2023-09-28 14:30:21 +02: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
Elena Mokeeva f7c7ad2667 Closes #2289 - fix Sonarcloud vulnerabilities and bugs 2023-08-29 14:16:07 +02:00
arolfes e4fb057d88 Closes #2219 fixes exception when running taskana locally
With a SpringBoot Upgrade the CorsConfiguration changed a bit.
therefore we need to adjust our config.
2023-04-13 12:22:20 +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
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
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
Holger Hagen 97b5c73158 TSK-1751: LdapClient now returns accessIds for users in lower case if configured. 2021-11-03 15:48:10 +01:00
Joerg Heffner e033f35cdc TSK-1723: Synchronization of LDAP data for users 2021-10-08 17:14:53 +02:00
Lia Lissmann 6970845d15 TSK-1747: Fix code smells 2021-10-08 13:59:30 +02:00
Mustapha Zorgati 05fce27222 TSK-1737: created ConfigurationService which manages custom attributes 2021-09-29 12:35:06 +02:00
Mustapha Zorgati 601ce19643 TSK-1721: implemented an other example to show how to serve static files 2021-08-31 14:06:11 +02:00
Joerg Heffner 5d08893a6b TSK-1724: Change JobType from Enum to String 2021-08-31 13:41:23 +02:00
Mustapha Zorgati 55d21a9e8b TSK-1649: implemented database lock for resolution of jobs to run 2021-08-02 16:42:09 +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
Holger Hagen 9375b3ead2 TSK-1308: Format corrections. 2021-07-13 11:31:57 +02:00
Holger Hagen 95fd731d25 TSK-1308: Retrieve users by DN without using userSearchBase. 2021-07-06 12:45:55 +02:00
dependabot[bot] 071a7c7cfd Bump version.spring.boot from 2.4.5 to 2.5.0
Bumps `version.spring.boot` from 2.4.5 to 2.5.0.

Updates `spring-boot-dependencies` from 2.4.5 to 2.5.0
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.4.5...v2.5.0)

Updates `spring-boot-maven-plugin` from 2.4.5 to 2.5.0
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.4.5...v2.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-22 02:46:41 +02:00
SebastianRoseneck bfcabea610
TSK-1596: Automatic TraceLogging (#1577) 2021-05-20 09:41:58 +02:00
Sofie Hofmann 2f1c0972d6 TSK-1643: Make sample data in workbasket sql more diverse 2021-05-19 13:22:51 +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
Mustapha Zorgati b42781c00e TSK-1609: fixed password for user-2-2 2021-03-23 10:30:08 +01: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 477470302a TSK-1531: moved all example classes to dedicated example package 2021-02-02 19:41:04 +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
Mustapha Zorgati 90b094a5f1 TSK-1436: adapted PR change requests 2020-12-18 11:29:10 +01:00
Mustapha Zorgati 3172f9f1bc TSK-1436: adapted breaking changes for frontend 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 28b3ce6f8a TSK-1282: replaced all usages of Arrays.asList with List.of 2020-11-02 09:41:48 +01:00
Chi Nguyen 6dc782e37a TSK-1430: Rename Mapping to RestEndpoints, groups relevant endpoints together 2020-10-30 01:36:27 +01:00
Mustapha Zorgati 427ff366c3 TSK-1406: moved spring-boot test classes to dedicated test module 2020-10-12 15:15:38 +02:00
Mustapha Zorgati 72738bc3a6 TSK-1277: moved taskana-test to taskana-common-test 2020-10-09 10:25:54 +02:00
Mustapha Zorgati 44cb21b5ae TSK-1277: removed circular dependency between taskana-common and taskana-core 2020-10-09 10:25:54 +02:00
Joerg Heffner 851b3536db TSK-1332: Add HistoryCleanupJob 2020-09-23 08:50:12 +02:00
Joerg Heffner 231d009d81 TSK-1379: Verify customAttributes format in taskRepresentationModel 2020-09-14 10:13:07 +02:00
Sofie Hofmann ef82e4f3ef TSK-1144: Provide sample workbasket with many access items for testing 2020-08-12 13:10:34 +02:00
Tristan2357 9b65838a79
TSK-1356: added cypress e2e testing
* Add initial cypress files and testcases

* Fix cypress workbasket merge errors

* change testValue for WorkbasketSelection

* TSK-1356: added cypress e2e testing to ci pipeline

* TSK-1356: Fixed cypress tests

Also changed default example data, so that workbaskets contain valid owners

* TSK-1356: hopefully fixed small startup problem in travis

* TSK-1356: revert of test-data

* TSK-1356: Modified ldif to support our test data

* TSK-1356: Removed unused cypress.json

Co-authored-by: Tobias Baden <16336696+tbdn@users.noreply.github.com>
2020-08-11 15:41:50 +02:00
holgerhagen f79f7587a9 TSK-1299: Added embedded LDAP to Wildfly example. 2020-08-07 14:23:35 +02:00
Mustapha Zorgati b3c5084291 TSK-1267: TimeIntervalReportBuilder#listTaskIdsForSelectedItems now works with TaskTimestamp aswell 2020-07-26 13:38:24 +02:00
Mustapha Zorgati ec483ab21c TSK-1318: replaced all declared Exceptions with Exception.class in all our test classes 2020-07-06 18:02:39 +02:00