Commit Graph

424 Commits

Author SHA1 Message Date
Robert von Burg 6d4ae7ae33 [Major] Use cron expressions to execute StrolchJobs
A strolch job can now be modelled in XML as follows:

   <Resource Id="reloadPolicies" Name="Reload Policies" Type="StrolchJob">
       <ParameterBag Id="parameters" Name="Parameters" Type="Parameters">
           <Parameter Id="className" Name="Class Name" Type="String"
                   Value="li.strolch.policy.ReloadPoliciesJob"/>
           <Parameter Id="mode" Name="Job Mode" Type="String"
                   Interpretation="Enumeration" Uom="JobMode" Value="Recurring"/>
           <Parameter Id="startDate" Name="Job StartDate" Type="Date" Value="-"/>
           <Parameter Id="cron" Name="Cron" Type="String" Value="47 * * * *"/>
       </ParameterBag>
   </Resource>
2020-05-02 21:57:25 +02:00
Robert von Burg a389cc60f1 [Fix] Handle null param in AbstractTransaction.getResourceByRelation() and .getResourcesByRelation() 2020-04-27 11:52:50 +02:00
Robert von Burg 984f6bff41 [New] Requiring Usage when authenticating 2020-04-23 10:06:30 +02:00
Robert von Burg f6892ba964 [New] Added SearchExpressions.relation(String) 2020-04-22 11:12:33 +02:00
Robert von Burg d935a96b27 [Revert][Fix] Clone element in AbstractTransaction.findElement() but only if readonly 2020-04-20 09:30:41 +02:00
Robert von Burg 637ffd970c [Fix] Clone element in AbstractTransaction.findElement() but only if readonly 2020-04-20 08:49:57 +02:00
Robert von Burg b37c83eea1 [Fix] Clone element in AbstractTransaction.findElement() 2020-04-20 08:36:47 +02:00
Robert von Burg f04ee3df62 [Minor] New constants in StrolchConstants 2020-04-06 20:49:08 +02:00
Robert von Burg 5491f284a8 [New] Added ExpressionsSupport.relationParam(String) 2020-04-03 14:27:39 +02:00
Robert von Burg 8f181a0d88 [New] Extended OrderDao to allow a DateRange on queries 2020-03-26 14:37:37 +01:00
Robert von Burg 8aa1ad7977 [Minor] Code cleanup 2020-03-26 14:36:30 +01:00
Robert von Burg de361f7ca6 [New] Added StrolchComponent.runAsWithResult() 2020-03-24 13:23:55 +01:00
Robert von Burg 2332c6d0b3 [New] Added tx.getPolicyDef(PolicyDef, PolicyDef) 2020-03-20 14:57:31 +01:00
Robert von Burg c4ea66ee2e [New] Added OperationsLog.removeMessage() 2020-03-16 17:11:53 +01:00
Robert von Burg dd6c069eb5 [Fix] OperationsLog now gracefully handles failing to load 2020-03-12 10:14:42 +01:00
Robert von Burg 0417a4ebdf [Minor] Code cleanup in StrolchBootstrapper 2020-03-12 10:14:07 +01:00
Robert von Burg 11c2268b9a [Minor] Changed TX to not first validate all commands executing them, but validate then do each. 2020-03-04 11:08:58 +01:00
Robert von Burg 3bf912c94b [Minor] Code cleanup 2020-02-27 11:53:06 +01:00
Robert von Burg 56c948a361 [Major] Removed tx.setSuppressDoNothingLogging(), replaced with tx.silentThreshold() 2020-02-27 11:52:46 +01:00
Robert von Burg 6b7f118969 [New] Added StrolchComponent.hasComponent() 2020-02-26 09:25:28 +01:00
Robert von Burg e4f1a388f7 [Minor] Using ExecutorPool in StrolchAgent 2020-02-21 16:24:34 +01:00
Robert von Burg 8e629dfe82 [Minor] code cleanup 2020-02-20 17:58:20 +01:00
Robert von Burg 3475eefd09 [New] Added AbstractService.getArgOrUserRealm() 2020-02-20 17:58:05 +01:00
Robert von Burg dadc2a8cb8 [Major] Rewrote execution with controllers 2020-02-18 18:11:22 +01:00
Robert von Burg 1bda9df450 [WIP] Implementing Planning refactoring 2020-02-17 14:22:32 +01:00
Robert von Burg 47da3334b9 [New] Added tx.isUpdated() and tx.isRemoved() 2020-02-12 14:54:18 +01:00
Robert von Burg 1cf28eaa15 [Minor] Fixed logger in DefaultLockHandler 2020-02-04 20:45:00 +01:00
Robert von Burg 4638f44c91 [Minor] Change to single parameter StrolchPolicy constructor 2020-01-30 14:58:37 +01:00
Robert von Burg a048a7c76e [Minor] Change to single parameter StrolchPolicy constructor 2020-01-30 14:43:43 +01:00
Robert von Burg 10a7bc8280 [New] Added StrolchValueSearch 2020-01-20 16:43:34 +01:00
Robert von Burg 085335d393 [New] Added orderBy*() methods without need for BAG_PARAMETERS, or reverse flag 2020-01-20 11:18:21 +01:00
Robert von Burg 7ba2968923 [New] Added RootElementSearchResult.orderByName() without reverse boolean 2020-01-18 20:51:38 +01:00
Robert von Burg b0c78e692c [Minor] Added ExpressionsSupport.param(String) 2020-01-18 20:50:55 +01:00
Robert von Burg 93cebbde3b [New] Added ComponentConfiguration.getDataOrAbsoluteDir() 2020-01-09 11:57:14 +01:00
Robert von Burg ddbb7d65cb [New] Added overrides for ComponentConfiguration. getConfigFile() getDataDir() getDataFile() 2020-01-08 09:11:45 +01:00
Robert von Burg d6a8c99b3a [Minor] Extract Realm instantiation into method 2020-01-08 09:11:00 +01:00
Robert von Burg c96ca434be [Minor] Fixed code comment 2020-01-08 09:10:27 +01:00
Robert von Burg f53b548a5d [New] Allow to decode 0x values in IntegerParameter and int component props 2019-12-11 18:30:36 +01:00
Robert von Burg 793435454b [New] Only add Exception class name in messages if message is null 2019-12-11 18:27:50 +01:00
Robert von Burg 2ac8c288d3 [New] Allow to ignore StrolchPolicy.undo() by having empty default impl 2019-12-10 19:33:24 +01:00
Robert von Burg c9a1d63d62 [Fix] Removed defaultEncoding Component property, as not changeable after start 2019-11-20 22:16:45 +01:00
Reto Breitenmoser aa6209dcb7 [Minor] set default encoding to utf-8 2019-11-01 14:11:31 +01:00
Robert von Burg 07e7752c68 [New] Added SearchResult.isEmpty() and .isNotEmpty() 2019-10-21 16:59:10 +02:00
Robert von Burg 1deb0ec88e [Fix] Fixed broken tests 2019-10-18 18:39:03 +02:00
Robert von Burg e82167bb2a [New] Added OrderSearch.withState(State) 2019-10-18 17:27:48 +02:00
Robert von Burg 4b1a6c9fec [Minor] Added StrolchPolicy.getOrder(Action) 2019-10-18 17:27:25 +02:00
Robert von Burg c2ae2e88d1 [Minor] Don't double throw StrolchPolicyException if can't get policy 2019-10-18 17:26:52 +02:00
Robert von Burg 19765898d6 [Minor] Validating elements are not read-only when adding to TX 2019-10-18 17:26:21 +02:00
Robert von Burg b750df79d5 [New] Added StrolchTransaction.get*ByRelation() 2019-10-17 16:21:39 +02:00
Robert von Burg ffd51f3f8b [New] Added ServiceResult.i18n(I18nMessage) 2019-10-15 19:09:40 +02:00