Commit Graph

888 Commits

Author SHA1 Message Date
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 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 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
Joerg Heffner 518bd29c74 TSK-1361: Configure Spring Boot to serve gzip files 2021-02-24 10:52:59 +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 477470302a TSK-1531: moved all example classes to dedicated example package 2021-02-02 19:41:04 +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 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
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 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 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 Zorgati 4883737e71 TSK-1492: automatically update taskana dependency for wildfly during release build 2020-12-18 09:13:53 +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 1aa4cd69fe TSK-1471: now using docker-compose for all database containers 2020-11-18 23:18:46 +01:00
Holger Hagen 5ddb81a618 TSK-1452: update to Spring Boot 2.3.5 2020-11-05 14:18:13 +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
Mustapha Zorgati 3f44b32ac0 TSK-1282: downgraded taskana-rest-spring-example-wildfly to jdk8
This is done to preserve the wildfly version we agreed with our client
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
Joerg Heffner 4b5d2c90ad TSK-1400: Changed Port and added note 2020-10-15 13:46:11 +02:00
Joerg Heffner f50e5ef64a TSK-1400: H2 in server mode for rest spring example 2020-10-15 13:46:11 +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 980d4490dc TSK-1407: fixed taskana-rest-spring-example-wildfly tests and adopted them according to our guidelines 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
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 a5351f1158 TSK-1389: updated postgres driver version to match version provided by spring-boot 2020-09-23 07:54:59 +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 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
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 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
Joerg Heffner 27fa8ed3b3 TSK-1367: Fix history sample data 2020-08-13 09:03:43 +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 0df2a1e324 TSK-1364: Fixed codsmells 2020-08-12 15:27:27 +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
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
holgerhagen f79f7587a9 TSK-1299: Added embedded LDAP to Wildfly example. 2020-08-07 14:23:35 +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
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
holgerhagen 78ef03d9a7 TSK-1321: Fixed user lookup with dn. 2020-07-02 17:05:14 +02:00
holgerhagen da9cf9978a TSK-1322: enabled organizational groupsfor example apps 2020-07-02 16:56:36 +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
Sofie Hofmann 2760b9ee59 TSK-1279: Enable the creation of subclassifications 2020-06-22 12:43:25 +02:00
Mustapha Zorgati e352016584 TSK-1214: refactored taskana-classification
TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge
2020-06-22 12:43:25 +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
Chi Nguyen 8434bde759 TSK-1214 implemented ngxs store as state manager for classification component 2020-06-17 12:19:38 +02:00
Mustapha Zorgati 493e25b565 TSK-1214: refactored taskana-classification
TSK-1214 Trying to make drag'n drop in tree possible

TSK-1214 Removed refreshClassification output from tree

TSK-1214 New action in store updates a classification and refetches all, saving now correctly refreshes the classification-list

TSK-1214 Fixed tests in tree component

TSK-1214 Removed tree service and corresponding test in class-details

TSK-1214 fixed issues in tree where multiple actions to store are fired incorrectly

TSK-1214 added accessibility action, use space to select a tree node

TSK-1214 swapped space and enter in tree component, cleaned code

TSK-1214 fixed bug where page isn't updated dynamically according to browser path

TSK-1214 workaround circular dependency.

service uses snapshot of store, does not actually access the state in store

TSK-1214 fixed eslint. TODO: circular dependency between classification.service and classification.state

TSK-1214 changed first() to take(1) to fix Observable dying during test

TSK-1214 fixed test cases and lint issues

TSK-1214 fixed circular dependency

TSK-1214 devmode = false

TSK-1214: fixed merge problems with notificationService and removed some warnings

TSK-1214: fixed merge problems with notificationService

TSK-1214 remove wrong imports from before merge
2020-06-17 12:19:38 +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
sfrevel 204d337139 TSK-1184: enabled custom logging configuration to WEB-INF/classes/logging.properties file 2020-05-26 13:29:06 +02:00
Mustapha Zorgati d4a516863e TSK-1226: made corpus christi configurable from taskana.properties file 2020-05-22 15:00:04 +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
sfrevel ffd1d27ac5 TSK-1249: fixed driver-class-name 2020-05-19 15:13:06 +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
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
Mustapha Zorgati 3ce41b224e TSK-1182: refined architecture tests 2020-05-06 10:18:42 +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 7836590311 More Comments from Holger Hagen 2020-04-22 13:41:20 +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
Mustapha Zorgati 7eab4d5f2e TSK-1163 refactored ExampleRestApplication 2020-03-24 16:43:26 +01: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
dependabot-preview[bot] 5cac3442be TSK-1158: disabled forking for Spring Boot process in pom.xml. 2020-03-17 14:43:02 +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 e0dbbe2783 TSK-1031: required changes to wildfly/arquillian config 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
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
Mustapha Zorgati 811f26c206 TSK-1064: removed DeclarationOrderCheck from checkstyle 2020-02-07 09:26:45 +01: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
Jörg Heffner e365e20ed5 TSK-883
Adjusted taskanaRestUrl in environement-information.json
2020-02-03 15:58:33 +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 3b13b9a95e TSK-991 after initial refactoring 2020-02-03 11:41:02 +01:00
Benjamin Eckstein a1f1e72afc TSK-1024: Make LdapClient more testable 2020-01-30 17:24:45 +01:00
Sofie Hofmann 57cb37fb0d TSK-1077 added ClassificationSummaryAssemblerTest 2020-01-30 16:45:52 +01:00
BVier b68043a078 changes 2020-01-30 14:09:11 +01:00
BVier 0c63dfaea3 TSK-1037: WBDefinitonController accepts existing distributionTargets 2020-01-30 14:09:11 +01:00
Mustapha Zorgati 659272fda9 Updated poms to version 1.2.3-SNAPSHOT 2020-01-30 10:41:25 +00:00
Jörg Heffner b01e5c3de6 TSK-989 Filter Tasks by planned TimeIntervals (REST)
-Added planned, planned-from and planned-until params in filter list
-Added due, due-from and due-until params in filter list
-Implemented needed methods
-Added Test
-Updated rest-api.doc
-Refactored TaskControllerIntTests to use AssertJ
2020-01-30 11:08:58 +01:00
Benjamin Eckstein 99e2caadec TSK-1024: Refactor and clean up LdapClient changes 2020-01-30 10:03:34 +01:00
Mustapha Zorgati 34d6bfdae6 TSK-1024: removed lenient() and replaced MockitoSettings annotation 2020-01-30 10:03:34 +01:00
Benjamin Eckstein 08571e7216 TSK-1024: Add tests for ldapclient 2020-01-30 10:03:34 +01:00
Sofie Hofmann dbe17fff57 TSK-1051 Expose task description via rest
TSK-1051 Expose task description via rest

TSK-1051 changed devMode property
2020-01-29 17:11:57 +01:00
Benjamin Eckstein 0d9ebe07c5 TSK-987: Fix Spotbugs - Write to static field from instance method 2020-01-29 09:27:08 +01:00
Mustapha Zorgati 9b61abda37 TSK-1038: added WAIAlreadyExistsException to missing operations with access Items 2020-01-28 12:27:37 +01:00
Mustapha Zorgati 7477092a69 automated formatting
changes most likely method order
2020-01-27 20:40:43 +01:00
Benjamin Eckstein b86f3e5b65 TSK-987: Fix Spotbugs - Dead store to local variable 2020-01-27 11:49:59 +01:00
Benjamin Eckstein 2f7d0d359b TSK-987: Fix Spotbugs - exception is caught when exception is not thrown 2020-01-27 11:49:59 +01:00
Benjamin Eckstein 3e9ea4d1d9 TSK-987: Fix Spotbugs - inner class could be made static 2020-01-27 11:49:59 +01:00
Mustapha Zorgati 5b68922590 TSK-1025: added assertj dependency to every module 2020-01-26 20:11:42 +01:00
Mustapha Zorgati afcc47dcd5 Updated poms to version 1.2.2-SNAPSHOT 2020-01-24 13:19:17 +00:00
Holger Hagen 226c30bf73 TSK-1024: add LDAP lookup for group by dn 2020-01-23 17:49:30 +01:00
BerndBreier 16a82efcb5 TSK-1038 duplicate workbasket errors in Rest tests 2020-01-23 16:58:49 +01:00
BerndBreier 3709d98511 TSK-1038 prevent duplicate workbasket access items 2020-01-23 16:58:49 +01:00
Benjamin Eckstein 4d560532bd TSK-987: Fix Spotbugs - reliance on default encoding 2020-01-23 14:23:56 +01:00
Benjamin Eckstein 0262121041 TSK-1029: Test and fix privilege for runasadmin is only temporary 2020-01-23 13:00:04 +01:00
Benjamin Eckstein 1d15f5102f TSK-1029: Fix side effect of tests 2020-01-23 13:00:04 +01:00
Benjamin Eckstein fae9d1fb9b TSK-1029: Fix deletion of workbasket as business admin not possible 2020-01-23 13:00:04 +01:00
Benjamin Eckstein 5a08fd4b03 TSK-1029: Add test to trigger permission bug 2020-01-23 13:00:04 +01:00
Benjamin Eckstein c92190ca70 TSK-987: Fix some problems reported by spotbugs 2020-01-23 09:35:19 +01:00
BerndBreier 6c8fb69f60 TSK-1042 use try-with-resources for connections 2020-01-22 16:40:19 +01:00
Benjamin Eckstein 25919195ed TSK-369: Fix rest documentation 2020-01-22 13:57:07 +01:00
Benjamin Eckstein 03c0e3756e TSK-369: Removed unneeded files amd configuration 2020-01-22 13:57:07 +01:00