Commit Graph

1317 Commits

Author SHA1 Message Date
Jörg Heffner 13e898549a TSK-1128 Adjust verify_docs_alive.sh for refactored packages 2020-02-14 14:14:22 +01: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
Jörg Heffner d7362d40cd TSK-1111 Fix TaskHistoryEventControllerIntTest
- Added overriding beans option to application.json
- Changed junit-vintage-engine version
2020-02-13 08:35:48 +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
dependabot-preview[bot] a3c938d1ad Bump version.archunit from 0.13.0 to 0.13.1
Bumps `version.archunit` from 0.13.0 to 0.13.1.

Updates `archunit-junit5-api` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.13.0...v0.13.1)

Updates `archunit-junit5-engine` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.13.0...v0.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 07:48:18 +00:00
dependabot-preview[bot] 52b78392c1 Bump postgresql from 42.2.9 to 42.2.10
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.9 to 42.2.10.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.9...REL42.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 07:47:46 +00:00
dependabot-preview[bot] 0971315ee8 Bump spring-security-test from 5.2.1.RELEASE to 5.2.2.RELEASE
Bumps [spring-security-test](https://github.com/spring-projects/spring-security) from 5.2.1.RELEASE to 5.2.2.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Commits](https://github.com/spring-projects/spring-security/compare/5.2.1.RELEASE...5.2.2.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-12 07:46:12 +00:00
Holger Hagen 60d4b29015 TSK-1031: formatting issues fixed. 2020-02-11 17:05:34 +01:00
Holger Hagen e0dbbe2783 TSK-1031: required changes to wildfly/arquillian config 2020-02-11 17:05:34 +01:00
Holger Hagen 5b0e0ff31a TSK-1031: add printing of surefire plugin in case of failure. 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
Jörg Heffner 448d4fb8fc TSK-1107 Use userId-parameter in contructor of TaskanaHistoryEvent
-Prevents unwanted INTERNAL access
2020-02-11 16:09:51 +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
Jörg Heffner f3f71a66b5 TSK-1097 2020-02-11 09:48:03 +01:00
Jörg Heffner dcc72d1781 TSK-1088 optimistic locking on workbasket update
- Added optimistic locking for workbasket update
- Adjusted WorkbasketDefinitionController
- Added tests in UpdateWorkbasketAccTest
- Added tests in WorkbasketControllerIntTest
- Changed ConcurrencyException HTTP-Status Code to CONFLICT (409)
2020-02-11 09:33:54 +01:00
Sofie Hofmann 91f17fb221 TSK-1100 Replaced printStackTrace by error logging 2020-02-10 11:33:06 +01:00
Sofie Hofmann 1ecb613526 TSK-1090 Refactored AttachmentImpl 2020-02-07 15:09:18 +01:00
Mustapha Zorgati 2924eda82e TSK-1065: minor refactoring of TaskImpl 2020-02-07 14:57:26 +01:00
Mustapha Zorgati a5b3254c8d TSK-1064: refactored PrioDurationHolder -> generic Pair 2020-02-07 09:26:45 +01:00
Mustapha Zorgati 6c73ed18f2 TSK-1064: refactored / simplified streams and boolean expressions 2020-02-07 09:26:45 +01:00
Mustapha Zorgati 811f26c206 TSK-1064: removed DeclarationOrderCheck from checkstyle 2020-02-07 09:26:45 +01:00
dependabot-preview[bot] 73ac030bad Bump postgresql from 42.2.9 to 42.2.10
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.9 to 42.2.10.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.9...REL42.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 07:52:18 +00:00
Sofie Hofmann 6eeff1ba22 TSK-1065 Refactor TaskImpl 2020-02-07 08:36:52 +01:00
Mustapha Zorgati e308578ced TSK-991: refactored report structure to meet api -> internal agreement 2020-02-06 17:26:05 +01:00
BerndBreier 12a94193be TSK-927 set owner - comments from Holger 2020-02-06 14:05:27 +01:00
BerndBreier 22ac25f5c9 TSK-927 reserve a task via SetOwner 2020-02-06 14:05:27 +01:00
Benjamin Eckstein be06d36a96 TSK-991: Make archunit tests more readable 2020-02-06 12:11:48 +01:00
Sofie Hofmann 819b4ca699 TSK-1065 Refactor WorkbasketImpl 2020-02-06 08:42:16 +01:00
Benjamin Eckstein 5815e38fa7 TSK-991: Fix Architecturtest and split DaysToWorkingDays converter for report and common 2020-02-05 13:02:31 +01:00
Benjamin Eckstein 957feac270 TSK-991: Add more architecture tests
(cherry picked from commit 760adb24b54d588e8a977853d092d5744781f496)
2020-02-05 11:50:41 +01:00
dependabot-preview[bot] 68c016f5c8 Bump version.archunit from 0.13.0 to 0.13.1
Bumps `version.archunit` from 0.13.0 to 0.13.1.

Updates `archunit-junit5-api` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.13.0...v0.13.1)

Updates `archunit-junit5-engine` from 0.13.0 to 0.13.1
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.13.0...v0.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 08:20:10 +00:00
Jörg Heffner e365e20ed5 TSK-883
Adjusted taskanaRestUrl in environement-information.json
2020-02-03 15:58:33 +01:00
dependabot-preview[bot] 4c81714d95 Bump mybatis from 3.5.3 to 3.5.4
Bumps [mybatis](https://github.com/mybatis/mybatis-3) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/mybatis/mybatis-3/releases)
- [Commits](https://github.com/mybatis/mybatis-3/compare/mybatis-3.5.3...mybatis-3.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 10:45:50 +00:00
BerndBreier 27dd9b299b TSK-991 Restructuring- restructure history package 2020-02-03 11:41:02 +01:00
BerndBreier 58f7046910 TSK-991
-prevent api classes from accessing internal classes
-disable architecture test for mapper classes / package
-added architecture tests for exceptions and api/internal
-defined exceptional classes: TaskanaHistory* and BulkOperationResults
2020-02-03 11:41:02 +01:00
Mustapha Zorgati 01cd9cb0ea Delete log 2020-02-03 11:41:02 +01:00
BerndBreier 77663f02ca TSK-991
-prevent api classes from accessing internal classes
-disable architecture test for mapper classes / package
-added architecture tests for exceptions and api/internal
-defined exceptional classes: TaskanaHistory* and BulkOperationResults
2020-02-03 11:41:02 +01:00
BerndBreier 4423854822 TSK-991 fix dependent projects 2020-02-03 11:41:02 +01:00
BerndBreier 8cab323145 TSK-991 fix javadoc errors 2020-02-03 11:41:02 +01:00
BerndBreier 08abf33ef7 TSK-991 core with 0 errors 2020-02-03 11:41:02 +01:00
BerndBreier 3b13b9a95e TSK-991 after initial refactoring 2020-02-03 11:41:02 +01:00