Commit Graph

581 Commits

Author SHA1 Message Date
Robert von Burg 01ee883c11
[Fix] Fixed AbstractTransaction.lock(Locator) for non-root locators 2022-12-08 09:43:23 +01:00
Robert von Burg d5c042c92d
[New] Added RootElementSearchResult.readLock()
Added RootElementSearchResult.readLock() to have a locked and modifiable element after the search
2022-12-01 16:01:33 +01:00
Robert von Burg 00fc65b882
[New] Added StrolchTransaction.readLock(T)
This is a great help to use in searches, when you need a single object which you are then going to modify.
2022-12-01 16:00:33 +01:00
Robert von Burg 9fc26af3f3
[Fix] Fixed AbstractTransaction.removeFromCache()
Fixed AbstractTransaction.removeFromCache() for other objects than resources
2022-12-01 15:34:03 +01:00
Robert von Burg ae1aa54b7b
[New] Implemented async parallel loading from pageable persistence layers 2022-11-22 10:19:54 +01:00
Robert von Burg 7116f05bc2
[New] Implemented async parallel loading from pageable persistence layers 2022-11-21 13:26:13 +01:00
Robert von Burg 1eef4b8746
[New] Implemented async parallel loading from pageable persistence layers 2022-11-21 12:12:05 +01:00
Robert von Burg 538402e12a
[New] Added PersistenceHandler.supportsPaging() 2022-11-21 12:09:50 +01:00
Robert von Burg 836cbe067f
[New] Added StrolchTransaction.suppressUpdates() 2022-11-21 12:09:20 +01:00
Robert von Burg 68ac34a566
[Minor] Code cleanup 2022-11-18 14:12:58 +01:00
Robert von Burg 4386e311ca
[Minor] Code cleanup 2022-11-18 11:52:18 +01:00
Robert von Burg 905eb9f667
[New] Also log version after starting 2022-11-17 16:21:24 +01:00
Robert von Burg 673650812f
[Minor] Log bad StrolchJob configurations on startup 2022-11-15 13:51:50 +01:00
Robert von Burg a2fcda11e8
[Project] cleaned up pom.xml 2022-11-14 16:11:10 +01:00
Robert von Burg a7c00671ff
[Project] Removed obsolete StrolchQuery privileges 2022-10-10 14:23:25 +02:00
Robert von Burg a17b89b833
[Fix] logger fix 2022-10-07 16:05:51 +02:00
Robert von Burg 5e95f0ad94
[Minor] OperationsLog start is now async 2022-09-29 13:42:17 +02:00
Robert von Burg 0aa38c4e5b
[Minor] OperationsLog start is now async 2022-09-27 15:13:20 +02:00
Robert von Burg 6764ae13d2
[Minor] Garbage collect after startup
This allows us to see the memory usage after startup
2022-09-06 13:10:04 +02:00
Robert von Burg ad81125c29
[Fix] Check if updateTask is null in DefaultObserverHandler 2022-08-17 14:49:32 +02:00
Robert von Burg e4d221fa16
[Fix] Properly check if OperationsLog is available in StrolchJob 2022-07-19 10:56:50 +02:00
Robert von Burg 2668063d97
[Minor] Log long running observer updates 2022-07-01 15:14:25 +02:00
Robert von Burg 2aab18c2a2
[Major] Removed EventCollectingObserverHandler and using single thread for observer updates 2022-07-01 14:04:54 +02:00
Robert von Burg 9db0fd5a76
[New] Added AbstractModelObserver for using in components 2022-06-30 20:43:40 +02:00
Robert von Burg 433d4dad4e
[New] Added default implementations in Observer 2022-06-30 20:43:20 +02:00
Robert von Burg 95815c6f84
[Minor] Code cleanup in observer handler code 2022-06-30 20:43:07 +02:00
Robert von Burg 66f638cbd4
[Minor] Moved finally block in AbstractTransaction to .close() 2022-06-29 10:47:53 +02:00
Robert von Burg 74cddd997d
[Fix] Fixed broken test 2022-06-23 08:22:10 +02:00
Robert von Burg f19602f0de
[Fix] Fixed bug when removing single message 2022-06-22 12:36:51 +02:00
Robert von Burg a55f9c11d7
[New] Allow to add hidden enums, not passed to UI 2022-06-09 16:25:22 +02:00
Robert von Burg 46c194e6e0
[New] Added StrolchTransaction.isWriteable() 2022-06-03 15:22:29 +02:00
Robert von Burg bcc90ce29e
[New] Added StrolchTransaction.isReadOnly() 2022-06-03 15:18:37 +02:00
Robert von Burg e03a365b9d
[Minor] OperationsLog stores messages now in a LinkedHashSet 2022-05-04 16:41:42 +02:00
Robert von Burg c73fe1e313
[New] Added SearchExpressions.relationNull 2022-04-29 16:31:32 +02:00
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 0d6da250bd [Minor] Reduced logs in ParallelTests 2022-03-08 09:24:27 +01:00
Robert von Burg 6d14bae474 [New] Added environment variable to override DB host for tests 2022-03-08 09:11:04 +01:00
Robert von Burg b1e8a8676b [New] Added environment variable to overide DB host for tests 2022-03-08 08:43:31 +01:00
Robert von Burg 7bece7451e [New] Added StrolchException overrides for I18nMessage parameter 2022-03-01 10:55:21 +01:00
Robert von Burg d12fdb81c2 [New] Added Command.validateAndDoCommand() 2022-03-01 10:54:51 +01:00
Robert von Burg 892dbdbe7f [New] Added TransactionThreadLocal.hasTx() 2022-03-01 10:48:16 +01:00
Robert von Burg 37e239e3de [Minor] Code cleanup and validate api and impl are set in configuration 2022-02-03 14:46:01 +01:00
Robert von Burg 5bfcc789b8 [Minor] Added constants for ServiceResult.toJson() 2022-02-01 11:51:36 +01:00
Robert von Burg f28e3d7683 [New] AbstractTransaction.lock(StrolchRootElement) adds the given element to the TX's object cache
This is necessary so that later calls to getResourceBy() etc. returns this object and not retrieves it again from the ElementMap. This can occur when using an element returned from a ElementMap.stream() call.
2022-01-19 19:39:41 +01:00
Robert von Burg 41e213e807 [Fix] AbstractTransaction.lock() trims the locator to size = 3 2022-01-19 19:38:03 +01:00
Robert von Burg 3e3da4b6a1 [New] Added StrolchTransaction.hasLock() 2022-01-19 19:37:30 +01:00
Robert von Burg 58fb8bb7fb [New] Added StrolchAgent.getRealm(String) 2022-01-10 22:51:25 +01:00
Robert von Burg 3797a1090a [Minor] Import: Log ignored elements if updating disabled 2021-12-31 19:01:35 +01:00
Robert von Burg 1fb581fce0 [New] XML import now supports more options:
- failOnUpdate
- add of elements
- update of elements
2021-12-31 15:47:14 +01:00
Robert von Burg ecc75f0e5e [New] Added StrolchTransaction.getAgent() 2021-12-15 16:37:24 +01:00