Commit Graph

390 Commits

Author SHA1 Message Date
BerndBreier a7c7dec43c TSK-353 Extend the number of available custom attributes on the task 2018-03-14 11:48:03 +01:00
BerndBreier 3498df039a TSK-377 provide meaningful response for duplicate key exception 2018-03-13 11:09:08 +01:00
BerndBreier e323ea3e6e TSK-322 Calculate due timestamp with respect to custom holidays and weekends 2018-03-13 08:52:05 +01:00
BerndBreier d4ab03667c TSK-348 Consider admin rights in workbasket query and hide tasks from workbaskets without read permission 2018-03-12 13:59:20 +01:00
BerndBreier 4320e15538 TSK-349 Mandatory read permission is not checked in WorkbasketQuery if another permission is used as condition 2018-03-12 13:59:20 +01:00
BerndBreier 18f03bd32e TSK-349 Mandatory read permission is not checked in WorkbasketQuery if another permission is used as condition 2018-03-12 13:59:20 +01:00
BerndBreier b626fc4603 TSK-253 Remove unnecessary getX() calls at the end of a service 2018-03-12 12:48:04 +01:00
BerndBreier ff77d6a2f0 TSK-349 Mandatory read permission is not checked in WorkbasketQuery if another permission is used as condition 2018-03-08 17:14:26 +01:00
BerndBreier 98a3bd34ba TSK-375 Use the in-memory version of h2 in unittests 2018-03-07 15:23:08 +01:00
Mustapha Zorgati 7fd9422dd6 Updated poms to version 0.0.9-SNAPSHOT 2018-03-06 09:24:33 +00:00
BerndBreier e984773b02 TSK-368 SpringTaskanaEngineConfiguration needs a constructor with properties filename and separator 2018-03-06 09:03:07 +01:00
BerndBreier 04221a3fa8 TSK-280 add ids to NotFoundExceptions 2018-03-06 08:33:14 +01:00
BerndBreier ab5c58280c TSK-340 do not use ~/data as tmp directory in unit tests 2018-03-06 08:33:14 +01:00
BerndBreier bab3d9ff5c TSK-359 setWorkbasketAccessItems doesn't save access items 2018-03-05 16:16:32 +01:00
BerndBreier df6d5944bc TSK-362 make getAttachmentSummaries available in TaskSummary 2018-03-05 14:06:46 +01:00
BerndBreier 066acd408e TSK-313 Calculate due and prio of task based on associated classification and attachment classifications 2018-03-05 10:17:11 +01:00
Konstantin Kläger dd241cc9a5 TSK-269: Add custom property filter to reports and use null parameter to
disable a filter in TaskMonitorService
2018-03-02 15:10:17 +01:00
Marcel Lengl 1809c95265 TSK-69: Offer all values of a DB-Column with filter by Query. 2018-03-01 20:02:04 +01:00
BerndBreier b07a35b5e5 TSK-351 Create test to select task by text in large custom attributes 2018-03-01 15:57:04 +01:00
Konstantin Kläger ebc5276783 TSK-264: Determine task ids for report line items of category report 2018-03-01 15:54:59 +01:00
Marcel Lengl e32a1acbc6 TSK-341: No Exception when Classification-parent for ID does not exist 2018-03-01 14:41:10 +01:00
Marcel Lengl d9bb89248b TSK-327: Move Enums from impl to taskana package 2018-03-01 13:31:27 +01:00
Marcel Lengl a89d9a1945 TSK-346: Add MODIFIED timestamp to Classification 2018-03-01 13:28:51 +01:00
Marcel Lengl f4c29855d8 TSK-328: Add userId to NotAuthorizedException 2018-03-01 11:28:19 +01:00
BerndBreier 23b78bbc3f TSK-350 Make Taskana compatible with DB2 V 10.5 2018-02-28 17:35:06 +01:00
Mustapha Zorgati 798e160669 TSK-311 refactoring 2018-02-28 17:05:56 +01:00
Mustapha Zorgati 54c9b538f8 TSK-311 now releasing taskana-rest-spring to maven central aswell
TSK-311: fixed travis config


TSK-311: created import key toggle
TSK-311: now only pushing one commit
TSK-311: replaced implicit if statements with explicit statements
2018-02-28 17:05:56 +01:00
BerndBreier f7e912b48b TSK-345 Clarify usage of authorization terms in API 2018-02-28 13:10:54 +01:00
Marcel Lengl 64af03c368 TSK-283: Root-Classifications should always be false in domain. 2018-02-28 11:30:47 +01:00
Marcel Lengl 88e24ed4a0 TSK-89: Throw WorkbasketNotFoundException on checkAuthorization 2018-02-27 17:46:10 +01:00
BerndBreier 0bdbf4700b TSK-242 Implement role based access control to the lib 2018-02-27 16:13:43 +01:00
BerndBreier a00289c0ab TSK-315 Store custom properties as JSON Map in DB 2018-02-27 14:57:43 +01:00
Konstantin Kläger 603afc8a2d TSK-271: Add custom holiday support to the monitor 2018-02-27 14:47:05 +01:00
Marcel Lengl ed9ab35704 TSK-78: Delete all permissions by access-id. 2018-02-27 14:25:54 +01:00
Holger Hagen bc83b1c500 TSK-329: changed data to match requirements from read permission on workbaskets. 2018-02-27 11:26:09 +01:00
Holger Hagen 02effb36f3 TSK-329 (draft): method removed. Tests are not running. 2018-02-27 11:26:09 +01:00
Marcel Lengl bc5e0e9688 TSK-221: set multiple Authorisations at once. 2018-02-26 14:02:00 +01:00
Marcel Lengl 53610a309c TSK-316: Add unchangeable CREATOR to Task. 2018-02-26 12:04:11 +01:00
Konstantin Kläger ecf3f1d317 TSK-285: Adjust acceptance tests for the monitoring
- All tests now have the same structure
- Each test prints the report in the debug mode
- Change workbasket id/classification id to key in the reports
2018-02-26 10:00:53 +01:00
BerndBreier 869e4fb325 TSK-344 add getClassification by Id, change parameter sequence in newClassification 2018-02-26 09:55:35 +01:00
BerndBreier f327aee7b5 TSK-339 Make Taskana configurable 2018-02-23 16:05:42 +01:00
Marcel Lengl 0c96464e17 TSK-342: REST Instant to Timestamp with Converter. 2018-02-23 13:28:14 +01:00
Mustapha Zorgati b5d5125632 TSK-325: minor refactoring 2018-02-22 14:21:08 +01:00
Konstantin Kläger fa0a41e419 TSK-286: Replace workbaskets bei workbasketIds in TaskMonitorService
- Create method for generating workbasket ids
- Remove unnecessary exceptions in throws clauses
- Remove unused WithAccessId annotations
2018-02-22 13:50:20 +01:00
Marcel Lengl 36974006af TSK-227: REST - Workbasket ID for Controller instead of KEY. 2018-02-22 13:03:01 +01:00
Konstantin Kläger c065590711 TSK-268: Add domain filter to reports
- Update service, mapper and tests
- Add tests for the new filter
- Update JavaDoc
2018-02-22 08:46:10 +01:00
BerndBreier 59d1d9af71 TSK-304 Use Ids for identification of workbaskets and classifications 2018-02-21 14:18:53 +01:00
Marcel Lengl 2652810461 TSK-318: Enable security by default on Spring 2018-02-21 10:58:44 +01:00
Marcel Lengl 061e7e068e TSK-222: REST-Endpoint get dist-targets by WB-ID. 2018-02-21 10:45:06 +01:00
Konstantin Kläger 3d3418e44b TSK-267: Add category filter to reports 2018-02-21 09:12:33 +01:00
Mustapha Zorgati 0ca7d01595 Updated poms to version 0.0.8-SNAPSHOT 2018-02-20 08:17:04 +00:00
Konstantin Kläger b78b3ccb2f TSK-261: Extend classification report by attachment classifications
- Add ClassificationReport
- Add DetailedClassificationReport
- Add DetailedReportLine
- Add DetailedMonitorItem
- Implement getDetailedClassificationReport
- Move createReport method to the Report class
- Add tests and update sample data
2018-02-20 08:40:21 +01:00
Mustapha Zorgati 9d4f80dcaa TSK-302: removed getAllClassifications 2018-02-19 22:33:13 +01:00
Mustapha Zorgati f51174668b TSK-302: removed classificationTree 2018-02-19 22:33:13 +01:00
Marcel Lengl c3bac7e476 TSK-310: Add setOwner() to the public interface of WB. 2018-02-19 21:31:51 +01:00
Marcel Lengl 1ee7b1d5fc TSK-318: Add Security-switch to EngineConfiguration-Constructor. 2018-02-19 21:03:20 +01:00
Marcel Lengl 7200a826fe TSK-247: Added customX as filter/sortorder to all queries. 2018-02-19 20:05:24 +01:00
Konstantin Kläger 11442571f2 TSK-321: Change LocalDate to Instant in DaysToWorkingDaysConverter
- The instant is converted back to LocalDateTime to check whether a day
is saturday or sunday
- Update also the unit test for this converter
2018-02-19 16:59:48 +01:00
Marcel Lengl 091ed6b95f TSK-282: Add parentId to Classification-Summary. Changed parent_KEY to ID. 2018-02-19 11:19:33 +01:00
Holger Hagen fcef49dcb3 TSK-157: remove unnecessary method which have been replaced by query. 2018-02-19 07:19:42 +01:00
BerndBreier cf7d795e3c TSK-105 Add DB operators to query conditions in QueryBuilder interfaces 2018-02-16 21:15:17 +01:00
Marcel Lengl 9d41c4e06b TSK-278: Classification-Category to Task for better filter performance with change on update. 2018-02-16 08:57:21 +01:00
BerndBreier 28e13608b1 TSK-276 Classification.CREATE in the schema should be a Timestamp rather than a Date 2018-02-15 17:44:11 +01:00
Marcel Lengl 6a644b7db2 TSK-248: Moved models to IMPL, resigned hardcoded Strings, deleted model-package. 2018-02-15 16:30:25 +01:00
Marcel Lengl df91aa28ae TSK-288: WB_KEY as varchar(64) - 32 before 2018-02-15 16:16:27 +01:00
BerndBreier c64ecd77ba TSK-281 Remove NotAuthorizedException from BaseQuery. Replace it by NotAuthorizedToQueryWorkbasketException (RuntimeException) 2018-02-15 15:27:19 +01:00
Marcel Lengl d9db1d9a45 TSK-273: Complete a bulk of tasks. Improved Delete bulk of tasks. Renamed claimTaskBulk to claimTasks. 2018-02-15 14:54:32 +01:00
BerndBreier ebc198ce99 TSK-70 Query Tasks by various conditions, especially by time intervals 2018-02-15 08:55:53 +01:00
BerndBreier 451d2fc63d TSK-104 make constructor of impl classes package private 2018-02-15 08:51:59 +01:00
BerndBreier 9408142e57 TSK-287 add ownerLike, orderByDescription and orderByOwner to WorkbasketQuery 2018-02-14 12:14:28 +01:00
BerndBreier acac30b687 TSK-275 Introduce WorkbasketAccessItemQuery 2018-02-12 21:48:15 +01:00
Konstantin Kläger de8dbdc51b TSK-262: Create custom field value report
- Create a report for the values of a custom field
- The custom fields are represented by an enum
- Create tests and update sample data
- Update and format monitor sample data
- Fix error in the sample data
2018-02-12 14:37:39 +01:00
BerndBreier 62defd1c08 TSK-259 delete Task single and bulk 2018-02-12 13:34:21 +01:00
Konstantin Kläger 4969f8b165 TSK-284: Fix monitoring sample data to repair build 2018-02-12 10:26:03 +01:00
BerndBreier f6b9524bfe TSK-235 sort workbasket query results case insensitive 2018-02-08 21:28:18 +01:00
BerndBreier 43d4e9eafd TSK-246 Find all workbaskets, where the given key is configured as distribution target 2018-02-08 17:21:04 +01:00
Marcel Lengl e6218d0540 TSK-250: CancelClaim with force-flag. 2018-02-08 13:46:37 +01:00
Konstantin Kläger b361d59a5e TSK-260: Create classification report
- Reuse existing monitoring methods to create a report for
classifications
- Create methods in service and mapper and add tests
- Modify monitoring sample data by adding domains
2018-02-07 21:32:27 +01:00
BVier 4fcb15aca8 TSK-257: Implement custom property querys in classification mapper 2018-02-07 21:14:51 +01:00
Marcel Lengl 8b0bdb94b5 TSK-252: Bulk-Transfer for Task 2018-02-07 16:55:49 +01:00
BerndBreier 91a949f842 TSK-48 Sort the results of a task query 2018-02-07 16:39:37 +01:00
Holger Hagen 1476e89642 TSK-272: acceptance test for bulk completion of tasks. 2018-02-07 13:22:06 +01:00
Konstantin Kläger 12e59f939e TSK-270: Delete old monitoring methods from API
- Remove old monitoring methods from service, mapper and tests
- Remove unneeded monitoring specific classes
- Return sample strings in the methods of the REST Service that
represents the removed data
2018-02-07 13:04:43 +01:00
Holger Hagen 53cd04b6f8 TSK-274: accesptance test for workbasket access item query. 2018-02-07 13:02:26 +01:00
Konstantin Kläger 1f01e7ad17 TSK-228: Replace days by working days in the reports
- Create a converter that converts days to working days by using a table
- The table should exist all day if no changes are required
- Create tests for this converter
- Modify the existing report functions to count the age in working days
- Update test and sample data
- Remove empty lines from the WorkbasketLevelReport
2018-02-06 17:00:34 +01:00
Holger Hagen 6428235be5 TSK-258: acceptance tests for deleting tasks. 2018-02-06 15:50:32 +01:00
Holger Hagen 0f2c0891fc TSK-256: changed acceptance test for query classification to isolate custom fields and to adapt to method name conventions. 2018-02-06 15:49:36 +01:00
Mustapha Zorgati 2054b3c5a6 Updated poms to version 0.0.7-SNAPSHOT 2018-02-06 12:48:07 +00:00
Marcel Lengl d9d52d3ed6 TSK-251: fixed Ignore import. 2018-02-06 11:38:18 +01:00
Marcel Lengl 63d0c5cbff TSK-244: Reset TaskState after a transfer. 2018-02-06 10:44:58 +01:00
Marcel Lengl 9be8d839d3 TSK-75: Delete a Workbasket 2018-02-06 10:43:54 +01:00
Holger Hagen 7bdb11c951 TSK-251: acceptance test for bulk transfer. 2018-02-06 10:19:04 +01:00
BerndBreier 2c9d595123 TSK-213 introduce Interface and Implementation for WorkbasketAccessItem 2018-02-06 10:18:51 +01:00
Holger Hagen 4d24ff7c67 TSK-245: acceptance test for getting distribution sources. 2018-02-06 07:58:19 +01:00
Holger Hagen e6883a05c2 TSK-249: acceptance tests for all working on tasks. 2018-02-06 07:56:11 +01:00
Holger Hagen 9504a225d3 TSK-243: acceptance test for state reset during transfer. 2018-02-06 07:50:20 +01:00
BerndBreier a9ebb41a29 TSK-156 Add workbasketSummary to task. Refactor loading and querying of tasks. 2018-02-05 10:42:46 +01:00
Holger Hagen 5419132014 TSK-74: added acceptance test to updating workbaskets. 2018-02-05 08:13:49 +01:00
BerndBreier 407a4a33d8 TSK-73 Create Workbasket 2018-02-02 16:40:35 +01:00
BerndBreier 9c6f2db7eb TSK-130A add acceptance test for update task with various ways to modify attachments 2018-02-02 12:22:28 +01:00
Marcel Lengl 035fee5cb9 TSK-169: Pagination-Method for Query-Classes with wrapped Exception for an offset which is out of bounds/rows. 2018-02-02 10:41:53 +01:00
BerndBreier 252d36a13d TSK-130 Update Task 2018-02-02 09:44:42 +01:00
BerndBreier 0c5ed430c8 TSK-171 add sorting to workbasket query 2018-02-01 15:04:17 +01:00
BVier 9f86a5ef94 change taskForClassification-request 2018-02-01 11:35:58 +01:00
BVier 2d45297acd TSK-83: delete Classification (with tests) 2018-02-01 11:35:58 +01:00
BVier ef7326311a TSK-229: Add permCustom9 to 12 to Workbasket access item 2018-02-01 10:57:08 +01:00
BerndBreier aa1003405d TSK-162 Implement WorkbasketService.getDistributionTargets() method 2018-01-31 17:41:18 +01:00
BerndBreier 4f321d47c2 TSK-162 rename checkAuthorizationImpl to checkAuthorization 2018-01-31 17:41:18 +01:00
BerndBreier c04b30d91a TSK-162 Implement WorkbasketService.getDistributionTargets() method 2018-01-31 17:41:18 +01:00
Konstantin Kläger a9bb3ed377 TSK-215: Create category report and modify tests
- Reuse the report specific classes to obtain a report for categories
- Update monitor-sample-data
- Update unit and acceptance tests
2018-01-31 16:26:43 +01:00
BerndBreier 396dd54144 TSK-173 switch to SpringManagedTransactionFactory and add test application 2018-01-31 16:08:50 +01:00
Marcel Lengl 663ce463b2 TSK-163: Attachment functions add/remove/update implemented. Acc+Unit
Test added
2018-01-31 09:39:31 +01:00
Holger Hagen 012cef45f9 TSK-168: created pagination acceptance tests and cleaned up task test data. 2018-01-31 08:13:03 +01:00
Konstantin Kläger a41eeffacb TSK-155: Extend workbasket level report by subdivision into cluster
- Create method that creates the report by a list of workbaskets, a list
of states and a list of cluster
- Create methods for initialization, create sumline and add counts in
the ReportLines
- Exclude tasks with DUE = null from the query
- Add method for manipulating SQL data
- Set databaseId to allow database specific queries in the mapper
- Remove integration tests and replace them by an acceptance test
- Create an own monitor test data method in TestDataGenerator
- ProvideWorkbasketLevelReportAccTest doesn't extend AbstractAccTest
anymore
2018-01-30 16:07:32 +01:00
Holger Hagen 7497518281 TSK-170: added tests for sorting by name and key ascending and descending for the WorkbasketQuery. 2018-01-30 10:53:24 +01:00
Holger Hagen 3862e1d71d GENERAL: ignoring bin directories in rest and lib project. 2018-01-30 10:53:24 +01:00
BerndBreier 01cee64673 TSK-167 Implement Workbasket query extensions 2018-01-29 14:02:51 +01:00
Holger Hagen 4680c960f7 TSK-166: acceptance tests for various workbasket queries. 2018-01-29 09:53:02 +01:00
BVier 40d392d887 TSK-72: Add 'GetPermissionsForWorkbasketKey' to WorkbasketService 2018-01-25 17:26:11 +01:00
Marcel Lengl 87e11970f3 TSK-125: Create/Update/Enable Acc-Tests, especially for querying WB content. 2018-01-24 16:40:06 +01:00
BVier 2f468939ed TSK-158: Add Acc Test for task transfer 2018-01-24 14:51:00 +01:00
Mustapha Zorgati 435f52b8c8 Updated poms to version 0.0.6-SNAPSHOT 2018-01-24 12:50:20 +00:00
Marcel Lengl fa917953e8 TSK-134: Updated to Java 8 Time-API. Removed valid_from/valid_until from
classification.
2018-01-24 12:40:21 +01:00
BerndBreier e396adf040 TSK-151 update task summary and use it in all list operations. Avoid joins for list queries. 2018-01-23 17:00:06 +01:00
Marcel Lengl fff74f974c TSK-141: Get Classification by Key+Domain in extra Query. 2018-01-22 13:16:10 +01:00
BerndBreier 9a9c8aa5e8 TSK-149 Use embedded primary ObjectReference without helper fields 2018-01-17 10:40:50 +01:00
BerndBreier edddcce2a0 TSK-139 update a classification 2018-01-17 09:38:06 +01:00
Marcel Lengl 83cff45c48 TSK-146: Introduced ClassificationSummary Interface and Impl. Also deleted forbidden methods on Classification-Interface. Mappers for Query changed. 2018-01-16 14:38:26 +01:00
Konstantin Kläger 29fccd25e6 TSK-110: Generate workbasket level report for total count
- Add Report, ReportLine, ReportLineItem and ReportLineItemDefintion
- Create Report in TaskMonitorService by workbaskets and states
- Add unit test and integration tests
- Enable JAAS for the integration tests
2018-01-15 21:30:36 +01:00
BerndBreier 429b2327e4 TSK-152 fix problem with drop table if exists 2018-01-15 21:14:58 +01:00
Marcel Lengl 51eba86d8f TSK-153: added field 'note' to Task for a custom commentary. Changes Taskname and Taskdescription field-length (shorter). 2018-01-15 20:56:29 +01:00
Marcel Lengl 44faa945b5 TSK-84: Query Classifications. Updated SQL-Data, checked functionality, improved Acc-Test, Summary in other Ticket 2018-01-15 20:43:24 +01:00
BerndBreier dea6f498ed TSK-147 Introduce Workbasket summary to be returned in lists and from all queries. 2018-01-12 16:27:19 +01:00
BerndBreier 46fe48fd36 TSK-121 Implement Holgers comments - make SystemException unchecked and map ClassificationNotFoundException to SystemException when working with existing tasks. 2018-01-12 12:19:58 +01:00
BerndBreier 7ee001950d TSK-121 Task.setClassificationKey instead of setClassification 2018-01-12 12:19:58 +01:00
Holger Hagen 5175256bea TSK-150: set test loglevel to info to reduce log output to console on travis. 2018-01-12 10:20:55 +01:00
Marcel Lengl 2b8ab6b16d TSK-126: Query workbaskets by task, adding Authentification, expanding REST getAllWorkbaskets, updated Tests 2018-01-12 09:36:12 +01:00
BVier 588c30887c Add test data 2018-01-10 21:26:27 +01:00
BVier a368cdd8e4 TSK-145: add "domain" value to Task 2018-01-10 21:26:27 +01:00
BVier 679346cfe2 TSK-80: make GetClassificationAccTest run 2018-01-10 16:00:25 +01:00
Mustapha Zorgati 7878eb3f50 Updated poms to version 0.0.5-SNAPSHOT 2018-01-10 14:04:18 +00:00
Marcel Lengl ad8aabb5de TSK-137: Get all attachments of a Task. 2018-01-10 13:52:12 +01:00
Holger Hagen 98658ac8e8 TSK-138: Added acceptance test for getWorkbasket 2018-01-09 16:08:46 +01:00
Holger Hagen 9b1fe8850a TSK-136: acceptance test for getAttachments 2018-01-09 15:54:25 +01:00
BerndBreier 69784458af TSK-115 JAASRunner throws ClassCastException if tests fail 2018-01-08 13:12:28 +01:00
BerndBreier a6f95fcd55 TSK-44 implement Holgers comments - assert only Exception type, not message; rename attachment id prefix and helper method 2018-01-08 11:25:41 +01:00
BerndBreier 8b26f7564d TSK-44 allow to add a list of attachments to a Task 2018-01-08 11:25:41 +01:00
BerndBreier bc338b1dc7 TSK-66 implemented comments from Marcel: use J8 stream for loops 2018-01-04 12:18:32 +01:00
BerndBreier 37bb8535a3 TSK-59 implement comments from holger - toLowerCase only for setters not for getters and change useContainerManagedTransactions to useManagedTransactions 2018-01-04 12:18:32 +01:00
BerndBreier f3f46e1ed5 TSK-123 move primary Object Reference Values to Task record 2018-01-04 12:18:32 +01:00