Commit Graph

595 Commits

Author SHA1 Message Date
Mustapha Zorgati 98f2a2f024 TSK-1677: fixed retrieval of all master classifications
Co-authored-by: Sofie Hofmann<29145005+sofie29@users.noreply.github.com>
2021-07-28 10:23:48 +02:00
Mustapha Zorgati 358e699f9f TSK-1664: fixed some code smells and redesigned RestHelper 2021-07-16 11:08:05 +02:00
Tristan Eisermann 375a92291d TSK-1658: Created TaskQueryMapperSqlProvider
TSK-1658: Added CustomXNotIn fields


TSK-1658: Tests fixed


TSK-1658: Added Test


TSK-1658: introduced methods for common OnjectReference where parts


TSK-1658: small stuff
2021-07-15 14:03:00 +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
Tristan Eisermann 7e7970eb59 TSK-1656: Added from and until for created and completed 2021-07-07 22:08:15 +02:00
Holger Hagen 95fd731d25 TSK-1308: Retrieve users by DN without using userSearchBase. 2021-07-06 12:45:55 +02:00
Martin Sawilla 039ec5a464
TSK-1661: Added sort-by parameters for all entities. (#1624) 2021-07-02 14:38:26 +02:00
dependabot[bot] a269c9d2f5 Bump checkstyle from 8.43 to 8.44
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.43 to 8.44.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.43...checkstyle-8.44)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 17:01:18 +02:00
Tim Gerversmann 1c83b7871f TSK-1646: Bugfix for creation / update of Task with invalid Attachment 2021-06-22 16:14:09 +02:00
Mustapha Zorgati 334d21ba7d Updated poms to version 4.7.1-SNAPSHOT 2021-06-11 06:17:32 +00:00
Mustapha Zorgati dd5bccc62c TSK-1654: fixed current code smells 2021-06-10 10:49:53 +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
SebastianRoseneck c4ffa222d9
TSK-1610: Replaced hardcoded user id attribute (#1569) 2021-05-19 10:27:20 +02:00
Mustapha Zorgati ae919e2825 TSK-1640: Configure taskana-spi-routing-dmn-router module properly 2021-05-18 15:00:06 +02:00
Mustapha Zorgati eba33b1846 Updated poms to version 4.6.1-SNAPSHOT 2021-05-11 16:07:55 +00: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
Joerg Heffner 4c94281a64 TSK-1638: Make Comparator for AccessIds in LdapClient NULL-safe 2021-05-11 15:58:33 +02:00
Joerg Heffner a7457f420d TSK-1623: Review Findings 2021-05-10 14:50:15 +02:00
Joerg Heffner 1fabff9492 TSK-1623: Make like query filters for tasks available in the REST-API 2021-05-10 14:50:15 +02:00
Joerg Heffner 3d27f54e0f TSK-1635: Make forceCancelClaim of a task available in the REST-API 2021-05-10 09:11:10 +02:00
Tim Gerversmann a7e9685ac3 TSK-1543: Throw expressive error when REST parameter cannot be converted 2021-05-03 11:46:46 +02:00
Tim Gerversmann 98987d2e54 TSK-1597: Unified HTTP Request in Rest Tests 2021-05-03 11:46:25 +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
SebastianRoseneck 542ca3d7eb TSK-1567: Fixed creating a task using a TaskRouter 2021-04-26 08:15:42 +02:00
Joerg Heffner 3ddcd2ae97 TSK-1628: New DmnTaskRouter module 2021-04-23 17:28:11 +02:00
Mustapha Zorgati 19e277315f Updated poms to version 4.5.2-SNAPSHOT 2021-04-08 11:50:07 +00: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
Mustapha Zorgati 876cf15802 Updated poms to version 4.5.1-SNAPSHOT 2021-03-11 12:16:57 +00:00
Joerg Heffner 3e809b4ea0 TSK-1582: Review Findings 2021-03-10 15:47:30 +01:00
Joerg Heffner fe0082e00b TSK-1582: Additional statistical data from monitoring component 2021-03-10 15:47:30 +01:00
tge20 6804ce272f
TSK-1581: Added some new tasks to main Workbaskets in sample data (#1512) 2021-03-09 19:05:49 +01:00
tge20 0119999380
TSK-1538: Added transfer method with control setTransferFlag (#1513)
* TSK-1538: Added transfer method with control setTransferFlag

* TSK-1538: Improvements after review

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
2021-03-09 18:58:51 +01:00
Sofie Hofmann bbbb657c7a TSK-1579: Additional classification example data 2021-03-09 12:27:25 +01:00
Mustapha Zorgati fdcf09f980 TSK-1519: replaced hibernate dependency with spring-starter-validation
reason: https://discourse.hibernate.org/t/hibernate-validator-7-and-spring-mvc-5-3-2-compatible/4927
2021-03-05 09:10:19 +01:00
tge20 d57aeb3219
TSK-1524: Set the default service level to "P0D" (#1496)
* TSK-1524: Set the default service level to "P0D"

* TSK-1524: Improvements after review
2021-03-01 10:03:04 +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 886c76e167 Updated poms to version 4.4.1-SNAPSHOT 2021-02-04 00:44:36 +00:00
Joerg Heffner 4c48ce4826 TSK-1530: Add a REST endpoint to cancel a task 2021-02-03 15:39:51 +01:00
Mustapha Zorgati d773869779 TSK-1497: introduced GitHub Actions 2021-01-15 15:34:28 +01:00
Joerg Heffner ed5d262138 TSK-1494: Validate the AccessIds with EqualsFilter instead of WhitespaceWildcardsFilter 2021-01-15 09:57:01 +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 b508feca01 TSK-1436: fixed breaking REST API change for workbasketAccessItems 2020-12-22 04:24:38 +01:00
Mustapha Zorgati 3172f9f1bc TSK-1436: adapted breaking changes for frontend 2020-12-18 11:29:10 +01:00
Mustapha Zorgati 41d956c633 TSK-1436: implemented further documentation rewording. 2020-12-18 11:29:10 +01:00
Mustapha Zorgati fff26d6a08 TSK-1236: removed links from classification definitions export 2020-12-18 11:29:10 +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
Mustapha fca56cfc10 Updated poms to version 4.3.1-SNAPSHOT 2020-12-16 11:46:34 +00: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 f8b1932e0b TSK-1482: reformated all pom files 2020-12-04 21:11:38 +01:00
tge20 8c6beb6e96
TSK-1239: All tests now working with Assertj instead of junit Assertion. (#1346) 2020-12-03 12:53:29 +01:00
Joerg Heffner 6133b66059 TSK-1419: Null check for Service Level in classification service 2020-11-30 12:25:03 +01:00
Mustapha Zorgati 28b3ce6f8a TSK-1282: replaced all usages of Arrays.asList with List.of 2020-11-02 09:41:48 +01:00
Mustapha Zorgati 4f7b1fc867 TSK-1282: replaced Collections.emptyCollection with List/Map/Set.of 2020-11-02 09:41:48 +01:00
Mustapha Zorgati ab152f87b1 TSK-1282: replaced Collections.singletonMap with Map.of in all tests 2020-11-02 09:41:48 +01:00
Mustapha Zorgati 0eb877705b TSK-1282: replaced Collections.singletonList with List.of in all tests 2020-11-02 09:41:48 +01:00
Mustapha Zorgati c25075ab25 TSK-1282: replaced Collections.singleton with Set.of in all tests 2020-11-02 09:41:48 +01:00
SAllhusen 00be5e4b5f TSK-1442: Used ParameterizedTypeReference properly for list of AccessIds 2020-10-30 17:03:38 +01:00
SAllhusen 85573e9ce7 TSK-1442: Removed serialVersionUID class variable from all entities 2020-10-30 17:03:38 +01:00
Mustapha Zorgati fbc623bd31 TSK-1430: further grouped and renamed endpoints 2020-10-30 01:36:27 +01:00
Mustapha Zorgati 4561e6c4f9 TSK-1430: expand strings to increase readability 2020-10-30 01:36:27 +01:00
Chi Nguyen 6dc782e37a TSK-1430: Rename Mapping to RestEndpoints, groups relevant endpoints together 2020-10-30 01:36:27 +01:00
SAllhusen 9c2453659a TSK-1439: Removed all @author tags in *.java files 2020-10-29 13:03:00 +01:00
Mustapha Zorgati 3849ee385f TSK-1429: automatically formatted all backend code 2020-10-29 13:02:41 +01:00
Mustapha cd47ce2256 Updated poms to version 4.2.1-SNAPSHOT 2020-10-20 10:55:57 +00: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 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 427ff366c3 TSK-1406: moved spring-boot test classes to dedicated test module 2020-10-12 15:15:38 +02:00
Mustapha Zorgati a5faab282a TSK-1277: moved the entire taskana.common package to the taskana-common module 2020-10-09 10:25:54 +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
Mustapha Zorgati 7df5587676 TSK-1277: created taskana-common-parent and its children modules 2020-10-09 10:25:54 +02:00
Mustapha 40f9587399 Updated poms to version 4.1.1-SNAPSHOT 2020-09-23 18:08:03 +00:00
Mustapha Zorgati 83feab0955 TSK-1386: made all our lower case test names upper case to match our naming convention 2020-09-15 12:23:07 +02:00
Joerg Heffner a64f8e14f3 TSK-1382: Fix wildcard-search 2020-09-15 10:16:47 +02:00
Joerg Heffner 333bef03be TSK-1379: Renamed test case 2020-09-14 10:13:07 +02:00
Joerg Heffner 231d009d81 TSK-1379: Verify customAttributes format in taskRepresentationModel 2020-09-14 10:13:07 +02:00
Mustapha d3bcfe2008 Updated poms to version 4.0.2-SNAPSHOT 2020-09-02 09:28:31 +00:00
Mustapha f5498511f1 Updated poms to version 4.0.1-SNAPSHOT 2020-08-13 12:46:30 +00:00
holgerhagen 79e674f958 TSK-1368: removed duplicate context root in self ref links 2020-08-13 10:34:56 +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
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
Mustapha Zorgati 41973183bc TSK-1337: removed some code smells 2020-08-07 14:59:19 +02:00
Nikita Kolytschew 5030415f17 TSK-1085: Hateoas self-links which contain variables are not working for Paged representationmodels
Bug Fix
* update Aspect
* update unit-test and test "href-self" part of json
* fix checkstyl-finding
2020-08-05 15:53:41 +02:00
Mustapha Zorgati b3c5084291 TSK-1267: TimeIntervalReportBuilder#listTaskIdsForSelectedItems now works with TaskTimestamp aswell 2020-07-26 13:38:24 +02:00
Mustapha Zorgati 2a655d3944 TSK-1331: added documentation for multiple sort-by parameters 2020-07-24 10:08:47 +02:00
Mustapha Zorgati 7cc5b00be6 TSK-1345: replaced every customField API call with CustomField enums 2020-07-24 01:05:42 +02:00
Mustapha Zorgati f5e3d449b6 TSK-1344: introduced displayName for Row 2020-07-22 19:18:53 +02:00
Mustapha Zorgati 278d17ecfe TSK-1344: added key for all rows 2020-07-22 19:18:53 +02:00
Mustapha Zorgati 97443641af TSK-1267: All TimeIntervalReports are now based on any TaskTimestamp 2020-07-21 16:48:36 +02:00
Tristan Eisermann e441506812 TSK-1342: getTasksWorkbasketReport now filters for states 2020-07-21 09:16:32 +02:00
Mustapha Zorgati 9e44ca6140 TSK-1331: allowed multiple sortBy declarations in REST api 2020-07-10 14:33:32 +02:00
Joerg Heffner 4bba93c5a9 Review findings 2020-07-10 13:13:42 +02:00
Joerg Heffner d8ad7a7fb9 TSK-1250 On demand deletion of historical data 2020-07-10 13:13:42 +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
Mustapha dd7598443a Updated poms to version 3.2.1-SNAPSHOT 2020-07-02 20:59:38 +00:00
holgerhagen 78ef03d9a7 TSK-1321: Fixed user lookup with dn. 2020-07-02 17:05:14 +02:00
holgerhagen 8e5ab5d5b3 TSK-1317: Fixed task comment authorization tests. 2020-07-02 10:24:27 +02:00
holgerhagen 9f0179619f TSK-1253: Prevent LDAP injection. 2020-07-02 10:14:54 +02:00
Mustapha Zorgati 63b6248cf7 TSK-1308: fixed compile issues introduced in rebase 2020-07-01 12:14:35 +02:00
holgerhagen 382b8366bf TSK-1308: User must be in role ADMIN, BUSINESS_ADMIN to use AccessIdSrv. 2020-07-01 11:01:58 +02:00
holgerhagen 553c1d9f83 TSK-1308: Fixed: return groups from LDAP, accessId is member of. 2020-07-01 11:01:58 +02:00
Mustapha Zorgati b321c495ba .. and more code smells 💩 - it stinks 2020-07-01 10:39:53 +02:00
Mustapha Zorgati b3add569ff fixed new sonarqube code smells and bugs 2020-07-01 09:04:33 +02:00
Joerg Heffner 969d3eeff6 review Findings 2020-06-30 14:50:26 +02:00
Joerg Heffner 1dfe54c0b6 TSK-1275: Support select and claim in one API call 2020-06-30 14:50:26 +02:00
Mustapha Zorgati 135d78ff54 TSK-1298: TSK-1292: fixed several bugs in taskana-admin > classifications 2020-06-30 13:58:47 +02:00
Mustapha Zorgati 2def9d025a datasouce for rest service now using spring datasource 2020-06-27 21:48:31 +02:00
Mustapha Zorgati ec4d919dd0 TSK-1301: Cleaned up ldap properties in order to allow users to define custom LdapTemplate bean 2020-06-26 10:28:11 +02:00
holgerhagen 0367a3deac TSK-1254: Added explicit test for base 64 encoded LDAP values. 2020-06-25 10:38:25 +02:00
holgerhagen 8760bdceb3 TSK-1196: improved accessId check before deleting all user access items 2020-06-25 09:17:27 +02:00
Mustapha Zorgati a63fad0257 TSK-1283: general refactoring + made accessIds lowercase 2020-06-22 16:05:19 +02:00
holgerhagen c57bbe07c7 TSK-1283: replaced usernames with - instead of _ 2020-06-22 16:05:19 +02:00
Nikita Kolytschew 61066217b9 TSK-1258
Refactoring of spring versions in maven pom files

* move "spring-boot-dependencies" dependency to parent
* remove version from managed dependencies
* remove unused versions from parent
2020-06-19 16:39:13 +02:00
Mustapha Zorgati a2318c267e reformatted code 2020-06-12 12:31:55 +02:00
Mustapha b15b799add Updated poms to version 3.1.1-SNAPSHOT 2020-06-07 15:00:31 +00:00
Mustapha Zorgati 938a5112aa TSK-1257: fixed exportClassificationsDefinitionsAccTest 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 496da17b3e TSK-1257: refactored claimtasks in taskService and increased test coverage 2020-06-07 15:56:30 +02:00
Mustapha Zorgati 92f81a6d2b TSK-1281: reduced open bugs and recent code smells 2020-06-06 18:15:52 +02:00
Mustapha Zorgati cc4efaa1cd TSK-1210: Replaced LoginModule with Embedded Spring LDAP
TSK-1210: set log level to DEBUG für SecurityVerifier message

TSK-1210: review findings
2020-06-05 20:03:15 +02:00
Joerg Heffner 38c9adea5c TSK-1280: Sort options for task comments in REST-API 2020-06-05 12:13:31 +02:00
Mustapha Zorgati d07459fe26 TASK-1278: Extended Test Coverage of Assembler Classes 2020-06-04 21:00:58 +02:00
Tristan Eisermann 8832876b93 TSK-1247: Removed LoggerUtils and replaced its usages with the standard toString implementations 2020-06-03 14:32:31 +02:00
Mustapha Zorgati 005075d852 TSK-1265: fixed checkstyle 2020-06-02 09:18:41 +02:00
Mustapha Zorgati 6c4fef7635 TSK-1265: further cleanup of representationModelAssemblers 2020-06-02 05:55:19 +02:00
Mustapha Zorgati 2fc38a2b85 TSK-1265: Removal of constructors from the representationModels 2020-06-02 05:55:19 +02:00
Christopher Heiting deb5c52107 TASK-1272: Removed the ObjectMappers and replaced them with the RestHelper 2020-06-02 05:18:57 +02:00
Christopher Heiting 0442dc54b4 Task-1259: Refactoring of assembler classes 2020-05-30 11:48:03 +02:00
sfrevel 3dc5377c75 TSK-1271:migrate properties in application.properties files to spring-boot 2.3 2020-05-30 11:45:37 +02:00
Mustapha 4ed089fa98 Updated poms to version 3.0.1-SNAPSHOT 2020-05-22 02:08:13 +00:00
krozzus 8a6f7d573b
TSK-1209 refactored package structure
* TSK-1209: refactored package structure

* TASK-1209: remember to squash this

Co-authored-by: Christopher Heiting <christopher.heiting@novatec-gmbh.de>
2020-05-21 22:40:44 +02:00
Christopher Heiting 7dcd42bd52 TSK-1251: upgraded hateoas to 1.1 2020-05-15 15:29:11 +02:00
Christopher Heiting bd116d4c2e [TSK-1208] changed HATE terminology and replaced list resources with generic one 2020-05-14 13:02:48 +02:00
Jörg Heffner b82741a2b4 removed unnecessary getTask-call 2020-05-14 10:09:03 +02:00
Jörg Heffner eb73c0670f TSK-1192 Introduced new Task-Admin Role 2020-05-11 16:08:12 +02:00
Mustapha Zorgati 75a340ccf3 TSK-1243: made rest url for workbasket distribution-targets consistent 2020-05-11 14:48:36 +02:00
Christopher Heiting d765da1683 TSK-1233: Removed the seriazation directory and its subclasses 2020-05-07 12:43:52 +02:00
Holger Hagen c56bc54fee TSK-1206: created ldif file according to desired test user structure. 2020-04-29 13:18:22 +02:00
Mustapha Zorgati 35705ddb02 automatically formatted code 2020-04-24 12:59:13 +02:00
Christopher Heiting a8e44dead3 TSK-1083: Updated HATEOAS from version 0.24.0 to version 1.0.4 2020-04-23 09:49:16 +02:00
Jörg Heffner 8d4d46de6a Comments from Holger Hagen 2020-04-22 13:41:20 +02:00
Jörg Heffner d5674ed11a TSK-746 Add simple history event tracking to update and create task method 2020-04-22 13:41:20 +02:00
Jörg Heffner c36933b450 Comments from Holger Hagen 2020-04-22 10:05:43 +02:00
Jörg Heffner 101072d3e9 TSK-1188 Enable combo filter for tasks 2020-04-22 10:05:43 +02:00
Sascha Frevel 2c5634c917 TSK-1180: migrate from JUnit 5 assertions to assertJ assertions
TSK-1180: remove hemcrest dependency

TSK-1180: convertes junit Assertions.ThrownBy to assertJ style

TSK-1180: add archUnit rule for checking if org.junit.jupiter.api.Assertions is used in classes

TSK-1080: fixed archunit tests which failed due to rebase

test

fixed order problem with H2 database -> set collation to DEFAULT_de_DE

disabled test with collation problems, readded old style assrtj test
2020-04-20 08:10:16 +02:00
Mustapha Zorgati 05818cabad Updated poms to version 2.1.2-SNAPSHOT 2020-04-15 13:15:08 +00:00
Mustapha Zorgati eef64bc1b3 Updated poms to version 2.1.1-SNAPSHOT 2020-04-14 12:03:41 +00:00
Sofie Hofmann 673f1896da TSK-652, TSK-1170, TSK-1023 Fixed various bugs by introducing ngxs state management
TSK-1170 Remove @inputs from classification-types-selector

TSK-1170 Import Store in Classification-Detail-Component



TSK-1170 Removed getSelectedClassificationType() from category service

TSK-1170 Removed getSelectedClassificationType() from category service

TSK-1170 Put icons in store

TSK-1170 Removed selectCategoryType from service

TSK-1170 Refactored classification-category service

TSK-1170 Fixed multiple calls of actions

TSK-1170

TSK-1170: build ngxs store in parallel to the ngrx store


TSK-1170: replaced ngrx store with ngxs store

tests are still failing.
TSK-1170 Split store into two stores

TSK-1170 Fixed tests

TSK-1170 added categories service test

TSK-1170 Fixed checkstyle and test

TSK-1170: minimized diff for classification-details component


TSK-1170: replaced state with store observable in classificaiton details


TSK-1170 Incorporated requested changes in spec files


TSK-1170 Removed @output from classification-types-selector

Removed getClassifications() call when selecting a classification type because the code is duplicated in performRequest() 
TSK-1170 Extracted selectors and actions


TSK-1170 Dispatch action in classification-service




TSK-1170 Incorporated 'set-value' function


dynamically rendering classification types

TSK-1170: disabled parent reference while creating classification


TSK-1170 fixed two ways binding for classification types

TSK-1170 removed console log

TSK-1170: Category dropdown shows correct values

TSK-1170 Renamed selectors




TSK-1170
2020-04-09 17:34:01 +02:00
Jörg Heffner b79c4891e3 TSK-1178 2020-04-09 09:59:02 +02:00
Jörg Heffner dffb139a82 comments from Holger Hagen 2020-03-31 11:56:59 +02:00
Jörg Heffner 636135bf1a Comments from Mustapha Zorgati 2020-03-31 11:56:59 +02:00
Jörg Heffner c5bb6fb32c TSK-1150 - added taskId as pathvariable to updateTaskComment and createTaskComment
-Added tests
2020-03-31 11:56:59 +02:00
Mustapha Zorgati 4eba81bd57 TSK-1150: now returning 404 StatusCode for TaskCommentNotFoundException 2020-03-31 11:56:59 +02:00
Mustapha Zorgati 93a94f0458 TSK-1150: added taskId as pathvariable to getTaskComment and deleteTaskComment
this is necessary since the path variable {taskId} is not used otherwise. Furthermore this will require that the search for a comment must match a given taskId.
2020-03-31 11:56:59 +02:00
Jörg Heffner ce571722d5 TSK-1150: Added REST-API for task comments 2020-03-31 11:56:59 +02:00
BerndBreier d6505284f7 TSK-1160 - terminate/cancel task Holger's comments 2020-03-30 13:21:06 +02:00
Sascha Frevel fc3f9e1868 TSK-1164: refactor code which is using assertJ's assertThatThrownBy and lambda expression with line breaks 2020-03-23 07:37:54 +01:00
Holger Hagen c9791b01b8 TSK-1029: Proper distinction between delete and markForFeletion for
workbaskets
2020-03-19 09:53:54 +01:00
Sascha Frevel d574cfa06f TSK-1145: enabled validateThrows property for JavadocMethod.checkstyle and added missing throws javadoc 2020-03-17 09:41:18 +01:00
Mustapha Zorgati b386af1a30 Updated poms to version 2.0.2-SNAPSHOT 2020-03-05 17:03:05 +00:00
Holger Hagen 32d069ac97 TSK-1152: added test coverage for util methods. 2020-03-05 13:27:41 +01:00
Holger Hagen 9615e8f77d TSK-1152: checkstyle fix. 2020-03-05 13:27:41 +01:00
Holger Hagen 545c706547 TSK-1152: removed stacktrace from log for InvalidArgumentException. 2020-03-05 13:27:41 +01:00
Holger Hagen ad31328e1b TSK-1152: using embedded ldap for integration tests. 2020-03-05 13:27:41 +01:00
Holger Hagen bbd6686248 TSK-1052: added inmemory ldap server for int testing. 2020-03-05 13:27:41 +01:00
Sascha Frevel 89de71f242 TSK-1151: fixed pretty printing configuration for spring rest doc 2020-03-05 10:46:20 +01:00
Holger Hagen 22b1db4a23 TSK-1024: Add base dn to dn if it does not exist. 2020-03-04 16:39:59 +01:00
Jörg Heffner 80d813709b TSK-1148 Include Comments from Holger Hagen 2020-03-03 12:32:45 +01:00
Jörg Heffner 349d24d7b8 TSK-1148 Application-Entry-Point in ClassificationSummaryResource 2020-03-03 12:32:45 +01:00
Sofie Hofmann ebd2098434 TSK-1147 Replaced getRestTemplate() by constant TEMPLATE
TSK-1147 Usage of AssertJ ListAsserts

TSK-1147 Usage of AssertJ ListAssert

TSK-1147 Removed doesNotContain
2020-03-03 11:40:47 +01:00
Mustapha Zorgati 5770ddd63e TSK-1146: added ConstantNameCheck to checkstyle 2020-02-26 08:45:12 +01:00
Sofie Hofmann 1109a01349 TSK-1140 Corrected ClassificationResourceAssembler and corresponding test 2020-02-23 10:26:15 +01:00
Jörg Heffner d34a44a32a TSK-1137 Endpoint to cancel claim task for REST-API
-Added endpoint
-Added tests
-updated REST documentation
-removed unnecessary delete documentation from unrelated test in TaskControllerRestDocumentation
2020-02-21 11:32:45 +01:00
Sofie Hofmann 9546ff37b2 TSK-1112 Changed @RequestMapping to @PostMapping / @GetMapping / ...
TSK-1112 deleted suppressWarnings

TSK-1112 Removed duplicated method
2020-02-17 14:26:28 +01:00
Mustapha Zorgati 5dc185daeb Updated poms to version 2.0.1-SNAPSHOT 2020-02-14 14:48:18 +00:00
Jörg Heffner ddb12a6ad1 TSK-1095
-Removed internal imports from api classes
-moved 3 exceptions from common.api.exceptions to task.api.exceptions
-Adjusted package structure of taskana-cdi and taskana-spring to match taskana-core
2020-02-14 12:04:52 +01:00
Holger Hagen f64053ec4e TSK-1125: distributiontargets now produce application/hal-json 2020-02-13 16:12:39 +01:00
Jörg Heffner 5c7d38451c TSK-1094 introduce models package for */api and */internal 2020-02-13 15:09:39 +01:00
Holger Hagen 4c884819d5 TSK-1123: workbasketaccessitems now produce application/hal-json 2020-02-13 14:20:17 +01:00
Sofie Hofmann fc812cb9ea TSK-1109 Make WorkbasketResource attributes private and convert tests to AssertJ 2020-02-13 09:25:08 +01:00
Sofie Hofmann 71761c1328 TSK-1108 Made attributes in WorkbasketAccessItemResource private and converted tests to AssertJ
TSK-1108
2020-02-12 16:24:14 +01:00
Jörg Heffner 507a37ba70 TSK-1101 minor refactoring of method names and javadoc 2020-02-12 16:20:27 +01:00
Mustapha Zorgati a26e536b91 TSK-1101: restructured report-sub-package to match architecture tests 2020-02-12 16:20:27 +01:00
Holger Hagen 95495e4894 TSK-1110: Enforce application/hal+json MediaType for classification and
workbasket
2020-02-12 15:31:34 +01:00
Sofie Hofmann 01545e476e TSK-1106 Make ClassificationSummaryResource attributes private
TSK-1106 Converted tests to AssertJ

TSK-1106 Converted assertThrows to AssertJ

TSK-1106 Removed suppress checkstyle for lambdas
2020-02-12 12:53:08 +01:00
Holger Hagen 60d4b29015 TSK-1031: formatting issues fixed. 2020-02-11 17:05:34 +01:00
Holger Hagen 007f268be5 TSK-1031: update Spring Boot to 2.2.4.RELEASE except Hateoas. 2020-02-11 17:05:34 +01:00
Holger Hagen e6f8883e49 TSK-1031: removed unnecessary throws statements 2020-02-11 17:05:34 +01:00
Sofie Hofmann 38d5c8535c TSK-1105 Make attributes in ClassificationResource private
TSK-1105 Converted tests to AssertJ
2020-02-11 14:07:00 +01:00