Commit Graph

2685 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 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
Robert von Burg b37c83eea1 [Fix] Clone element in AbstractTransaction.findElement() 2020-04-20 08:36:47 +02:00
Robert von Burg e9700dcd22 [New] Added JS function localizeJsonMsg() 2020-04-09 14:34:57 +02:00
Robert von Burg 7eed819618 [Fix] Handle locator is for a root element 2020-04-07 09:29:44 +02:00
Robert von Burg f04ee3df62 [Minor] New constants in StrolchConstants 2020-04-06 20:49:08 +02:00
Robert von Burg c68c509450 [Minor] Added example model with test 2020-04-03 14:30:14 +02:00
Robert von Burg 9614117e95 [Minor] Added example model with test 2020-04-03 14:28:16 +02:00
Robert von Burg 5491f284a8 [New] Added ExpressionsSupport.relationParam(String) 2020-04-03 14:27:39 +02:00
Robert von Burg 434358b7cb [Project] Small fixes in webapp archetype 2020-04-02 12:20:39 +02:00
Robert von Burg 0bc734b118 [Major] Moved Packet, PacketObserver, PacketState to strolch utils 2020-04-01 16:14:14 +02:00
Robert von Burg 46c3ff21a6 [Project] update PLC doc to mention adding Rest API classes 2020-04-01 16:14:02 +02:00
Robert von Burg 8f8d09fe0a [Project] Added missing i18n keys 2020-04-01 16:13:29 +02:00
Robert von Burg ce9e44e2f2 [Major] Moved Packet, PacketObserver, PacketState to strolch utils 2020-04-01 16:12:50 +02:00
Robert von Burg 8359a64a70 [Project] Updating documentation to strolch plc 2020-04-01 11:44:44 +02:00
Robert von Burg 225ee28bae [Project] Updating documentation to strolch plc 2020-04-01 11:34:12 +02:00
Robert von Burg 86e4911ccf [Project] Updated README.md 2020-03-31 08:45:28 +02:00
Robert von Burg 40fb2fdbc8 [Project] Updating documentation to strolch plc 2020-03-30 22:43:32 +02:00
Robert von Burg 049d68fd37 [Project] Added initial PLC documentation 2020-03-30 18:15:35 +02:00
Robert von Burg ce8402117c [Minor] Fix broken DateRangeTest 2020-03-27 09:54:42 +01:00
Robert von Burg d9e27cbaab [Minor] Code cleanup 2020-03-26 17:00:02 +01:00
Robert von Burg d4f76485b1 [Fix] Handle unbounded DateRange in PostgreSqlOrderDao 2020-03-26 16:17:03 +01:00
Robert von Burg e2d8285f87 [Fix] ReportResource: from date is min time and to date max time 2020-03-26 16:16:34 +01:00
Robert von Burg c2ef5491d5 [New] Added GenericReport.getDateRange() 2020-03-26 14:37:49 +01: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 c4af73b1e3 [New] Extended XML Persistence to use a Predicate on queries and write lastModified of file 2020-03-26 14:37:10 +01:00
Robert von Burg 8aa1ad7977 [Minor] Code cleanup 2020-03-26 14:36:30 +01:00
Robert von Burg 14f994bd83 [New] Extended DateRange to use new Java 8+ date classes 2020-03-26 14:35:51 +01:00
Robert von Burg d9652d61d9 [New] Added Order.setDate(LocalDate) 2020-03-26 14:35:12 +01:00
Robert von Burg 2b84df3c39 [Fix] Sort Parameters in StrolchElementToJsonVisitor by their index 2020-03-25 11:32:39 +01:00
Robert von Burg 6785c54cd5 [Project] Adding to PLC docu 2020-03-24 16:28:31 +01:00
Robert von Burg 8305035df7 [Minor] Code cleanup 2020-03-24 14:36:03 +01:00
Robert von Burg de361f7ca6 [New] Added StrolchComponent.runAsWithResult() 2020-03-24 13:23:55 +01:00
Robert von Burg 87a845dd74 [Minor] Changed StrolchModelConstants.DEFAULT_ENCODING to StandardCharsets.UTF_8.name() 2020-03-24 13:23:38 +01:00
Robert von Burg 3fd889fee0 [New] Added FloatParameter.setValue(int) 2020-03-23 13:10:26 +01:00
Robert von Burg 888e104c80 [Project] WIP PLC documentation 2020-03-22 14:21:54 +01:00
Robert von Burg 2332c6d0b3 [New] Added tx.getPolicyDef(PolicyDef, PolicyDef) 2020-03-20 14:57:31 +01:00
Robert von Burg 786b8d0df4 [Minor] Added SimpleGs1 parser 2020-03-20 14:56:48 +01:00
Robert von Burg ef762fa8ec [Minor] Removed unnecessary logger in SimpleDurationExecutionTimer.java 2020-03-19 08:26:09 +01:00
Robert von Burg 963d8e0886 [Project] Added missing base-ws-path="[[baseWsPath]]" to control view in webapp archetype 2020-03-19 08:25:40 +01:00
Robert von Burg 8e976673f0 [New] Added IActivityElement.findRelationParam() 2020-03-19 08:24:53 +01:00
Robert von Burg c4ea66ee2e [New] Added OperationsLog.removeMessage() 2020-03-16 17:11:53 +01:00
Robert von Burg e2d5bfcd6e [Fix] Added missing i18n messages, fixes for c-view404.html 2020-03-16 17:11:35 +01:00
Robert von Burg 651197b3d0 [Minor] added missing @Override annotation 2020-03-16 17:10:47 +01:00
Robert von Burg c13469ac0a [New] Added I18nMessage.getValue(String) 2020-03-16 17:10:18 +01:00