Commit Graph

207 Commits

Author SHA1 Message Date
SebastianRoseneck bfcabea610
TSK-1596: Automatic TraceLogging (#1577) 2021-05-20 09:41:58 +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
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 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
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
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
tge20 ff0b77f6ad
TSK-1507: Cleaned up some CodeSmells (#1400)
* TSK-1507: Cleaned up some CodeSmells

* TSK-1507: Improvements after review
2021-02-03 12:33:16 +01:00
Tim Gerversmann 9906c0c7f9 TSK-1504: Next scheduled Job now based on due date of job before 2021-02-03 11:56:03 +01:00
tge20 aa6d304b49
TSK-1499: Fixed bug of also cleaning completed tasks with parentProcessId null/empty (#1394)
* TSK-1499: Fixed bug of also cleaning completed tasks with parentProcessId null/empty

* TSK-1499: Now also fixed for the HistoryCleanupJob

* TSK-1499: Improvements after review
2021-02-03 09:34:22 +01:00
tge20 c6e82c1368
TSK-1506: Fixed bug for Cleanup Jobs with more than 32767 tasks (#1457)
* TSK-1506: Fixed bug for Cleanup Jobs with more than 32767 tasks

* TSK-1506: Improvements after review
2021-02-02 08:16:07 +01:00
Joerg Heffner 2a6d97132b TSK-1355: Adjust all single() methods to use mybatis selectOne 2021-01-25 15:59:47 +01:00
Mustapha Zorgati d773869779 TSK-1497: introduced GitHub Actions 2021-01-15 15:34:28 +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
Mustapha fca56cfc10 Updated poms to version 4.3.1-SNAPSHOT 2020-12-16 11:46:34 +00:00
Joerg Heffner 8830cfa629 TSK-1457: Fix timing issue in initializeSchedule tests for cleanupjobs 2020-12-15 09:03:33 +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 f8b1932e0b TSK-1482: reformated all pom files 2020-12-04 21:11:38 +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
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
SAllhusen 4152bf92d0 TSK-1437: Fixed some SonarCloud Code Smells 2020-10-28 14:25:44 +01:00
Mustapha Zorgati fe393ca51c TSK-1428: fixed tests for QueryClassificationHistory due to current date issue 2020-10-27 09:50:22 +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
Joerg Heffner f113410ef4 TSK-1404: Delete old Cleanup jobs when initializing 2020-10-16 09:57:39 +02:00
Joerg Heffner 654dc6b2cb TSK-1413: Fix bulk transfer task history event creation 2020-10-15 10:58:27 +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 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
Mustapha Zorgati 47aa60033f TSK-1277: moved JaasExtension and all its necessary classes to common modules 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 Zorgati a92ea866de TSK-1405: deleted history example module 2020-10-08 17:53:22 +02:00
Mustapha 40f9587399 Updated poms to version 4.1.1-SNAPSHOT 2020-09-23 18:08:03 +00:00
Joerg Heffner 8b3013d602 TSK-1365: Removed HistoryCustomField enums for classification/workbasket 2020-09-23 14:43:12 +02:00
Joerg Heffner 67d082a42d TSK-1365: Add classification history events 2020-09-23 14:43:12 +02:00
Joerg Heffner 32a1db98bd TSK-1332: Reworked logic after review 2020-09-23 08:50:12 +02:00
Joerg Heffner 851b3536db TSK-1332: Add HistoryCleanupJob 2020-09-23 08:50:12 +02: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 34f32557e0 TSK-1358: Fixed and adjusted arquillian tests 2020-09-02 22:35:01 +02:00
Mustapha d3bcfe2008 Updated poms to version 4.0.2-SNAPSHOT 2020-09-02 09:28:31 +00:00
Mustapha Zorgati e26e5c65a1 TSK-1337: fixed newly introduced bugs 2020-09-02 09:56:16 +02:00
Mustapha f5498511f1 Updated poms to version 4.0.1-SNAPSHOT 2020-08-13 12:46:30 +00:00
Joerg Heffner cd8b93b86a TSK-1373: Adjust WorkbasketHistoryQuery customIn/Like 2020-08-13 13:02:56 +02:00
Joerg Heffner 3691ea624d TSK-1369: Refactor TaskHistoryCustomField from events package to events/task 2020-08-13 09:44:15 +02:00
Joerg Heffner 0072f16905 TSK-1335: Change group id for history module 2020-08-12 18:13:09 +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 bbb909bfa4 TSK-1358_3: Rename history parent module 2020-08-12 14:11:31 +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 58ff8d2c62 TSK-1358_2: Rename history parent 2020-08-12 08:06:21 +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
Joerg Heffner 64701e785c TSK-1358: Added Wildflytests, renamed history module 2020-08-11 15:38:59 +02:00
Joerg Heffner a37a859573 TSK-1358: Audit-log for history events 2020-08-11 15:38:59 +02:00
Mustapha Zorgati 41973183bc TSK-1337: removed some code smells 2020-08-07 14:59:19 +02:00
Joerg Heffner 901991e90b TSK-1333: Review findings 2020-08-05 16:48:33 +02:00
Joerg Heffner b7237021e2 TSK-1333: Add history events for cancelled/terminated tasks 2020-08-05 16:48:33 +02:00
Mustapha Zorgati b3c5084291 TSK-1267: TimeIntervalReportBuilder#listTaskIdsForSelectedItems now works with TaskTimestamp aswell 2020-07-26 13:38:24 +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 97443641af TSK-1267: All TimeIntervalReports are now based on any TaskTimestamp 2020-07-21 16:48:36 +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
holgerhagen 6285d27920 TSK-1330: removed obsolete hateoas dependency declaration. 2020-07-10 10:46:57 +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
Mustapha Zorgati b3add569ff fixed new sonarqube code smells and bugs 2020-07-01 09:04:33 +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
Mustapha Zorgati a63fad0257 TSK-1283: general refactoring + made accessIds lowercase 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 89641ecdf9 TSK-1257: added one more test 2020-06-07 16:16:17 +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
Tristan Eisermann 8832876b93 TSK-1247: Removed LoggerUtils and replaced its usages with the standard toString implementations 2020-06-03 14:32:31 +02:00
sfrevel 20ef76c059 TSK-1270: removed taskana-simplehistory-rest-spring-test physically 2020-05-29 12:30:28 +02:00
sfrevel 475c0ec383 TSK-1035: moved tests to corresponding taskana-simplehistory-spring-test project
TSK-1035: example project now copies the docu from taskana-simplehostory-rest-spring, instead of the of the other way arround
2020-05-28 17:01:43 +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
Jörg Heffner df4fd17264 TSK-1252: Fixed new code smells of the last 30 days 2020-05-15 15:56:02 +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
Mustapha Zorgati ea03826263 fixed newly introduced code smells 2020-05-04 15:33:33 +02:00