Commit Graph

120 Commits

Author SHA1 Message Date
Robert von Burg b4fb7438e7 [New] Added environment variable to override DB host for tests 2022-03-08 09:42:54 +01:00
Robert von Burg 982f3939ea [Minor] clean up imports 2021-07-21 13:14:41 +02:00
Robert von Burg 210cfb8be9 [Major] better report filter criteria generation 2021-03-30 20:14:26 +02:00
Robert von Burg 872f3244ef [Major] Removed ComponentContainer from Command constructor 2021-02-22 16:00:02 +01:00
Robert von Burg fd7362b2c1 [Major] Added user history to privilege
- firstLogin
- lastLogin
- lastPasswordChange
2021-02-22 14:51:00 +01:00
Robert von Burg f461da60a8 [Fix] Fixed broken test 2021-02-08 23:08:26 +01:00
Robert von Burg d695879f82 [Minor] Added tests for archive PostgreSQL scripts 2021-01-27 10:30:37 +01:00
Robert von Burg 91d4817dce [Minor] Code cleanup and replace deprecated calls 2020-08-19 14:18:50 +02:00
Robert von Burg ab1044c446 [Minor] Replaced deprecated junit calls 2020-08-19 10:33:47 +02:00
Robert von Burg 17cd3e43c7 [New] Added stream to MapOf... collections 2020-07-02 15:52:17 +02:00
Robert von Burg 6caefd2132 [Fix] Fixed broken test 2020-05-27 11:05:11 +02:00
Robert von Burg 5e5289cbc8 [New] Implemented keepAlive of strolch sessions 2020-05-11 17:49:49 +02:00
Robert von Burg 9614117e95 [Minor] Added example model with test 2020-04-03 14:28:16 +02:00
Robert von Burg c312f4b5b0 Merge branch 'feature/planning' into develop 2020-02-18 18:12:10 +01:00
Robert von Burg dadc2a8cb8 [Major] Rewrote execution with controllers 2020-02-18 18:11:22 +01:00
Robert von Burg 4fedec75b7 [Minor] Added constants to StrolchConstants 2020-02-17 10:45:57 +01:00
Robert von Burg ad371ecb1b [Major] Refactored planning, added to planning of action before execution 2020-02-14 16:26:22 +01:00
Robert von Burg 4638f44c91 [Minor] Change to single parameter StrolchPolicy constructor 2020-01-30 14:58:37 +01:00
Robert von Burg 25362da8d1 [New] Extended filtering GenericReport with multi refs 2019-10-30 10:50:45 +01:00
Robert von Burg 72f77b2360 [Fix] Fixed broken tests 2019-10-18 22:57:43 +02:00
Robert von Burg 704dc2b702 [Fix] Fixed test due to message change 2019-09-04 13:24:26 +02:00
Robert von Burg ef2b57d6dd [Fix] Fixed broken test 2019-08-29 08:45:39 +02:00
Robert von Burg 4da1353bc1 [New] Extended GenericReport with additionalType joining 2019-06-04 12:43:00 +02:00
Robert von Burg 74a649d2d7 [Fix] Fixed NPE in DefaultServiceHandler 2019-04-01 16:53:07 +02:00
Robert von Burg 5bde584774 [Major] New TransactionCloseStrategy.DEFAULT, added readOnly flag for openTx 2019-04-01 16:31:53 +02:00
Robert von Burg 04c5263eeb [Major] Added request source for REST calls 2019-03-09 19:38:30 +01:00
Robert von Burg 0d1ab66cb9 [Major] Made GenericReport to be auto closeable 2019-03-05 18:01:09 +01:00
Robert von Burg ced8c42c57 [Major] Implemented persisting of OperationsLog 2018-10-15 11:06:45 +02:00
Robert von Burg b6819c4b47 [Major] Removed serializable and reformatted all code 2018-10-05 09:17:13 +02:00
Robert von Burg b02731ac74 [New] New method tx.findParameterOnHierarchy() 2018-10-04 19:04:36 +02:00
Robert von Burg 8516233943 [Minor] compile error fix in ShiftActionTest 2018-09-28 18:53:47 +02:00
Robert von Burg 91167cfccd [Major] Clean up of the services to add, update, remove root elements 2018-09-10 12:51:38 +02:00
Robert von Burg 9b8e91d0a5 [New] Added REST API for Reports 2018-09-07 10:17:37 +02:00
Robert von Burg 96180ce91e [Major] Cleanup services to add/update/remove resources/orders/activities 2018-09-05 17:48:12 +02:00
Robert von Burg 7677d27442 [Fix] Fixed behavior of IsIn and Contains ReportFilters 2018-08-30 13:08:59 +02:00
Robert von Burg ea4bfa8a6a [Minor] Report takes the container from the TX 2018-06-30 20:41:04 +02:00
Robert von Burg 1c2d048c45 [Major] Only use tx.get*Map() if you really need it! 2018-06-22 13:14:14 +02:00
Robert von Burg bbf021f73b [Fix] Fixed bug where changed element is not returned in streams 2018-06-22 11:38:24 +02:00
Robert von Burg 3eba63ff13 [Minor] code cleanup in planning tests 2018-03-26 10:41:25 +02:00
Robert von Burg abeceb7a6c [Minor] more waiting in LockingTest 2018-03-09 10:42:16 +01:00
Robert von Burg 4f2fd4648a [Fix] fix broken tests 2018-02-28 09:10:47 +01:00
Robert von Burg 676bb9c11e [Fix] Fixed broken tests 2018-02-28 09:04:49 +01:00
Robert von Burg c66f7c2805 [Major] Implement StrolchElement.isReadOnly() and .setReadOnly()
Modifying a read only element causes an exception. Retrieving elements from the TX, or directly from the ElementMap returns a clone, so nothing changes there. But elements returned by a query will have their readOnly flag set, thus if these are modified, then they need to be cloned first.
2018-02-27 14:46:23 +01:00
Robert von Burg f3ea159052 [Major] RIP transactional mode 2018-02-09 22:16:34 +01:00
Robert von Burg 2d60a352b4 [Fix] Fix not allow to re-add removed element with versioning enabled 2017-11-01 10:15:21 +01:00
Robert von Burg c0bf2ae428 [Major] Refactored GenericReport into Policies for extension 2017-10-18 13:11:39 +02:00
Robert von Burg adf53dd49f [Major] Implemented SingleSignOn facility for Privilege 2017-10-06 16:59:22 +02:00
Robert von Burg 4087608e1a [Fix] Throw Exception on programmer mistake if no commitOnClose with + 2017-10-05 09:54:42 +02:00
Robert von Burg dad2f35b16 [Major] Multiple changes to StrolchTransaction:
New:
- needsCommit() -> return true if objects or commands are registered
- hasResource()
- hasOrder()
- hasActivity()

Changes:
- When tx.add(), update() or remove() is called, then get*Template(),  or get*By() check the internal cache and thus e.g. a new resource is immediately available.
- the has*()-methods also check the internal cache, thus the need to get the underlying maps should now no longe be required in normal TX use.
2017-10-04 13:10:20 +02:00
Robert von Burg 2c5dddd893 [Major] rename add/update/remove methods in StrolchTransaction 2017-10-03 11:41:30 +02:00