Commit Graph

2728 Commits

Author SHA1 Message Date
Robert von Burg fe6d61a687 [New] Added StrolchJob loading of Manual, and new toString() 2020-06-22 17:26:01 +02:00
Robert von Burg 8bfd267c75 [New] Added StrolchConstants.PARAM_ACTIVITY 2020-06-22 17:25:22 +02:00
Robert von Burg 3bdd87bd73 [New] Added ExecutionHandler.getControllers(String) 2020-06-22 17:24:53 +02:00
Robert von Burg 17645c11a2 [Fix] Gracefully handle not being able to update a LogMessage 2020-06-18 16:26:51 +02:00
Robert von Burg 6d02372e71 [Minor] Code cleanup 2020-06-18 14:18:59 +02:00
Robert von Burg b0787891f9 [Minor] Code cleanup 2020-06-17 19:25:26 +02:00
Robert von Burg eacec9a9ac [Fix] First try lock, before trying with timeout 2020-06-17 19:25:09 +02:00
Robert von Burg 89e11a01aa [Fix] Fixed ISO8601 to default to millis on toString, be lenient on parse 2020-06-17 13:51:04 +02:00
Robert von Burg 56124581ec [Fix] First try lock, before trying with timeout 2020-06-17 09:21:11 +02:00
Robert von Burg 54e38e2099 [Fix] Trim ISO8601 to only millis, allow also no fractions 2020-06-09 23:18:28 +02:00
Robert von Burg 67bf19c694 [Minor] Better exception handling in WebSocketObserverHandler 2020-06-08 22:11:41 +02:00
Robert von Burg 207bcf0711 [Fix] initialize MfsSohExecutionPolicy earlier, and catch exceptions 2020-06-08 22:11:09 +02:00
Robert von Burg 14b27ca3f2 [Fix] Allow RootElementSearchResult.oderBy(Comparator) to return this 2020-06-05 15:45:21 +02:00
Robert von Burg 6345d37155 [Minor] code cleanup 2020-06-05 15:44:57 +02:00
Robert von Burg 3c51f8ccee [Minor] Don't allow certificate with keepAlive if not enabled globally 2020-06-05 15:44:22 +02:00
Robert von Burg beffa8c6c3 [Fix] Fixed localizeJsonMsg() in c-compute-behavior.html 2020-06-05 15:43:49 +02:00
Robert von Burg 87bdc26380 [Project] Added <allowSessionRefresh> to PrivilegeConfig.xml 2020-06-05 15:42:47 +02:00
Robert von Burg 41b3cd137d [Minor] code cleanup 2020-06-03 20:57:46 +02:00
Robert von Burg 20de009632 [Minor] Allow IActivitiyElement for StrolchPolicy.getOrder() 2020-05-28 16:04:35 +02:00
Robert von Burg f74bf76124 [New] Added StrolchModelConstants.TYPE_RELATIONS 2020-05-28 13:23:56 +02:00
Robert von Burg 50dbd1359a [New] Added I18nMessage.formatMessage(ResourceBundle) 2020-05-28 13:23:43 +02:00
Robert von Burg 60fdb34150 [Fix] handle missing fields in WebSocket auth 2020-05-27 18:04:27 +02:00
Robert von Burg 6caefd2132 [Fix] Fixed broken test 2020-05-27 11:05:11 +02:00
Robert von Burg c30c0279a1 [Fix] Fixed broken tests for OperationsLog 2020-05-27 10:58:21 +02:00
Robert von Burg 54e23f03e3 [Major] Moved LogMessage class to strolch-model project 2020-05-27 10:44:13 +02:00
Robert von Burg 76aff683ee [Major] I18nMessage and LogMessage refactorings, added state, JSON parsers, etc. 2020-05-26 17:37:57 +02:00
Robert von Burg 006508ff2e [Minor] Code cleanup 2020-05-19 11:17:30 +02:00
Robert von Burg a0b24f74a5 [Fix] Fixed concurrent modification exception in SynchronizedCollections 2020-05-19 11:16:53 +02:00
Robert von Burg af8ac81a18 [WIP] Added I18nMessageJsonParser 2020-05-15 17:24:47 +02:00
Robert von Burg dc7a68ce3f [Project] updated runtime configuration for archetype 2020-05-13 09:05:22 +02:00
Robert von Burg c56cf9fcd5 [New] Added ParameterBagContainer.getRelationI() etc. 2020-05-13 08:55:20 +02:00
Robert von Burg 3a60e720d8 [Fix] Fixed webapps for missing userConfig 2020-05-12 11:50:18 +02:00
Robert von Burg 2e2a897e63 [Minor] Fixed logger 2020-05-12 11:38:27 +02:00
Robert von Burg f44dd26775 [Project] Updated strolch-wc-* components 2020-05-12 11:38:15 +02:00
Robert von Burg 17da08dcc5 [Minor] Validate dates are not null in DateRange 2020-05-11 22:21:51 +02:00
Robert von Burg 93e994f986 [Project] Updated strolch-wc-* components 2020-05-11 19:50:52 +02:00
Robert von Burg 2d9b776653 [Project] Fixed to webapp archetype for keepAlive and no more localStorage usage 2020-05-11 17:50:46 +02:00
Robert von Burg 5e5289cbc8 [New] Implemented keepAlive of strolch sessions 2020-05-11 17:49:49 +02:00
Robert von Burg 8f645d1af7 [New] Added new convenience methods for getting and setting parameters 2020-05-05 12:35:10 +02:00
Robert von Burg 1398bdd0e7 [Fix] Fixed reloading of jobs 2020-05-03 00:00:25 +02:00
Robert von Burg 25761677c2 [Project] Updated to strolch-wc-inspector 0.19.5 2020-05-02 23:53:08 +02:00
Robert von Burg 1e3e97737b [New] StrolchJobs now have an ID as well as a name, and model can also specify a delay:
<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="initialDelay" Name="Initial Delay" Type="Integer"
                   Interpretation="TimeUnit" Uom="MINUTES" Value="1"/>
           <Parameter Id="delay" Name="Delay" Type="Integer"
                   Interpretation="TimeUnit" Uom="HOURS" Value="1"/>
        </ParameterBag>
    </Resource>
2020-05-02 23:33:57 +02:00
Robert von Burg 8f0d264d8b [Fix] Fixed error logger in StrolchJob.schedule() 2020-05-02 22:43:31 +02:00
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 0481ecc90d [New] Implemented Basic authentication for REST APIs 2020-04-23 10:06:55 +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