Robert von Burg
514454c02b
[Project] Added DB pool keepaliveTime=10min
2021-05-25 08:42:06 +02:00
Robert von Burg
9631d80ca2
[New] Allow to retry execution on locking exception in ExecutionHandler
...
Default is trying twice:
executionHandler.getConfiguration().getInt(PROP_LOCK_RETRIES, 2)
2021-05-25 08:34:16 +02:00
Robert von Burg
6787214cfe
[Minor] Honor persisting of users in PrivilegeAddUserAndSetPasswordCommand
2021-05-17 21:52:29 +02:00
Robert von Burg
210cfb8be9
[Major] better report filter criteria generation
2021-03-30 20:14:26 +02:00
Robert von Burg
bef18241ae
[New] Allow GenericReport to flatMap a row
2021-03-29 23:08:23 +02:00
Robert von Burg
cfbeb045f1
[New] Added bulk method PrivilegeHandler.addOrUpdateUsers()
2021-02-23 21:57:25 +01:00
Robert von Burg
ddcc4d94df
[New] Added new feature to require password change
2021-02-23 12:46:22 +01:00
Robert von Burg
a88b6edf66
[New] Added clear user password REST API and service
2021-02-22 23:16:59 +01:00
Robert von Burg
cdfa57d1d8
[New] Added new PrivilegeAddUserAndSetPasswordCommand
2021-02-22 16:00:22 +01: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
ff0f6b57eb
[Minor] code cleanup in reports, using ZDT, instead of Date
2021-02-08 16:10:14 +01:00
Robert von Burg
d695879f82
[Minor] Added tests for archive PostgreSQL scripts
2021-01-27 10:30:37 +01:00
Robert von Burg
3727bdca70
[New] Added ExecutionPolicy.delay(Duration, Runnable)
2020-12-03 18:22:58 +01:00
Robert von Burg
177596571b
[New] Added MailHandler.sendMailAsync()
2020-11-10 10:59:16 +01:00
Robert von Burg
282bbba3aa
[New] Requiring TX for privilege services
2020-10-23 14:36:20 +02:00
Robert von Burg
90e9fae065
[Fix] Fixed broken tests
2020-10-22 16:28:40 +02:00
Robert von Burg
447cc55cb6
[Fix] Fixed broken tests
2020-10-22 15:31:47 +02:00
Robert von Burg
ad0a0f1e10
[Major] Refactoring privilege services, added Organisation checking if required
2020-10-22 15:14:02 +02:00
Robert von Burg
229cdc4531
[Minor] Code cleanup
2020-10-16 11:51:29 +02:00
Robert von Burg
bea39845e0
[New] Added ConfirmationPolicy.doConfirmation(Action)
...
This is then called in the ExecuteActivityCommand class after calling the ExecutionPolicy, so that the correct confirmation method is called depending on the new state of the action
2020-10-16 11:51:21 +02:00
Robert von Burg
482330bdc8
[Minor] Auto commit in SimpleExecution.runWithFreshAction()
2020-10-15 12:28:09 +02:00
Robert von Burg
b7c6d475bb
[New] Added Controller.stop()
2020-09-25 14:59:19 +02:00
Robert von Burg
9b9178a87b
[Minor] Code cleanup
2020-09-03 15:47:34 +02:00
Robert von Burg
91d4817dce
[Minor] Code cleanup and replace deprecated calls
2020-08-19 14:18:50 +02:00
Robert von Burg
fb9c78f7aa
[Minor] Code cleanup and replace deprecated calls
2020-08-19 12:27:33 +02:00
Robert von Burg
ab1044c446
[Minor] Replaced deprecated junit calls
2020-08-19 10:33:47 +02:00
Robert von Burg
baecbd5312
[Major] Refactor reports to use ZonedDateTime instead of Date
2020-08-06 16:39:20 +02:00
Robert von Burg
c624990290
[New] Added possibility to filter missing values as true, instead of false
2020-07-28 13:31:42 +02:00
Robert von Burg
7a86442057
[New] Added possibility to filter missing values as true, instead of false
2020-07-28 11:32:39 +02:00
Robert von Burg
3bdcac8d07
[New] Added possibility to filter missing values as true, instead of false
2020-07-28 10:41:23 +02:00
Robert von Burg
5f540559ed
[New] added privilege validation to SetExecutionHandlerStateService
2020-07-21 10:48:17 +02:00
Robert von Burg
a65098f81c
[Major] AbstractService.getPrivilegeValue() returns String
2020-07-21 10:47:42 +02:00
Robert von Burg
7b2a516b38
[New] Add SimpleExecution.runWithFreshAction()
2020-07-15 15:51:28 +02:00
Robert von Burg
17cd3e43c7
[New] Added stream to MapOf... collections
2020-07-02 15:52:17 +02:00
Robert von Burg
926fc10607
[Minor] StrolchRootElementListResult with ? generics
2020-06-23 16:23:49 +02:00
Robert von Burg
3bdd87bd73
[New] Added ExecutionHandler.getControllers(String)
2020-06-22 17:24:53 +02:00
Robert von Burg
6d02372e71
[Minor] Code cleanup
2020-06-18 14:18:59 +02:00
Robert von Burg
207bcf0711
[Fix] initialize MfsSohExecutionPolicy earlier, and catch exceptions
2020-06-08 22:11:09 +02:00
Robert von Burg
6345d37155
[Minor] code cleanup
2020-06-05 15:44:57 +02:00
Robert von Burg
6caefd2132
[Fix] Fixed broken test
2020-05-27 11:05:11 +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
5e5289cbc8
[New] Implemented keepAlive of strolch sessions
2020-05-11 17:49:49 +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
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
7eed819618
[Fix] Handle locator is for a root element
2020-04-07 09:29:44 +02:00
Robert von Burg
9614117e95
[Minor] Added example model with test
2020-04-03 14:28:16 +02:00
Robert von Burg
d9e27cbaab
[Minor] Code cleanup
2020-03-26 17:00:02 +01:00
Robert von Burg
c2ef5491d5
[New] Added GenericReport.getDateRange()
2020-03-26 14:37:49 +01:00
Robert von Burg
ef762fa8ec
[Minor] Removed unnecessary logger in SimpleDurationExecutionTimer.java
2020-03-19 08:26:09 +01:00
Robert von Burg
0c9e74b32e
[Minor] Removed logger
2020-03-05 09:03:34 +01:00
Robert von Burg
e96d811f66
[Major] Renamed Controller.getExecutionPolicy() to refreshExecutionPolicy()
2020-03-04 11:09:36 +01:00
Robert von Burg
ec555edf12
[Minor] Keep insertion order for controllers in EventBasedExecutionHandler
2020-02-27 14:43:31 +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
8c5804fcbe
[New] Added SimpleExecution.toExecuted()
2020-02-26 09:32:31 +01:00
Robert von Burg
0771aaac77
[Fix] Trigger execution when starting paused execution handler
2020-02-26 09:27:43 +01:00
Robert von Burg
8e1e0d1970
[New] Added realm name as protected property on ExecutionPolicy
2020-02-26 09:27:17 +01:00
Robert von Burg
937471c0cf
[Minor] Refactored ReservationExecution to be used elsewhere
2020-02-26 09:26:50 +01:00
Robert von Burg
eebdc963f3
[New] Added ExecutionPolicy.delayToExecutedBy() and delayToExecutedByRandom()
2020-02-20 18:00:15 +01:00
Robert von Burg
c90f698e87
[Fix] Multiple bug fixes for execution
2020-02-20 17:59:57 +01:00
Robert von Burg
bf0b4e152e
[Minor] Don't lock Resource in SimplePlanning if not set on Action
2020-02-19 22:23:47 +01:00
Robert von Burg
731933c2b4
[New] Added DEFAULT_PLANNING constant on PlanningPolicy
2020-02-19 21:27:03 +01:00
Robert von Burg
e37aaa412f
[Fix] Fixed some execution issues
2020-02-18 20:05:50 +01: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
1bda9df450
[WIP] Implementing Planning refactoring
2020-02-17 14:22:32 +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
fbb05a2b01
[New] Added EventBasedExecutionHandler.addForExecution(String, Activity)
2020-02-12 15:00:39 +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
7487ff3c31
[Minor] Change to single parameter StrolchPolicy constructor
2020-01-30 14:37:45 +01:00
Robert von Burg
fa389d7072
[Project] Updated .gitignore files
2020-01-08 09:18: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
60c57efc28
[Fix] Added trigger after calling SetActionStateService
2019-10-21 16:58:53 +02:00
Robert von Burg
72f77b2360
[Fix] Fixed broken tests
2019-10-18 22:57:43 +02:00
Robert von Burg
8ee29b7688
[Fix] Use relation in ExecutionCommand.updateOrderState() instead of type/id
2019-10-17 16:23:03 +02:00
Robert von Burg
faf9df3556
[Major] Fixed and renamed I18n* classes
2019-10-11 15:56:22 +02:00
Robert von Burg
2697f5947c
[Major] Removed ISO8061Duration, replace with PeriodDuration
2019-09-09 14:40:28 +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
67d77bafea
[New] Extended ExecutionHandler to be paused, persisted over reboots
2019-08-27 08:35:18 +02:00
Robert von Burg
44f7ed163e
[New] Added I18n*Bundles for quick i18n
2019-08-27 08:30:53 +02:00
Robert von Burg
8ff7e83a90
[Minor] java doc in MailHandler
2019-06-27 11:37:37 +02:00
Robert von Burg
d99c029433
[New] Added StrolchRootElementListResult
2019-06-19 13:13:01 +02:00
Robert von Burg
4da1353bc1
[New] Extended GenericReport with additionalType joining
2019-06-04 12:43:00 +02:00
Robert von Burg
f587e06183
[Fix] Handle missing activity in EventBasedExecutionHandler.archiveActivity()
2019-05-15 13:22:26 +02:00
Robert von Burg
ffe6b8abdc
[Fix] Archive activity after toExecution() if state is executed
2019-05-15 11:32:45 +02:00
Robert von Burg
251d0cab1f
[New] Added new StringListArgument
2019-05-06 14:49:24 +02:00
Robert von Burg
78c96d4351
[Fix] Fixed parsing and formatting of Locale
2019-04-10 16:44:52 +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
104add7035
[Minor] Fixed logger in SetActionTo* commands
2019-03-13 15:26:56 +01:00
Robert von Burg
dc9e1d09f1
[Minor] Added JsonServiceArgument.objectType
2019-03-13 15:21:49 +01:00
Robert von Burg
33cfc9b9d7
[Project] Added missing secret keys
2019-03-09 20:05:41 +01:00
Robert von Burg
04c5263eeb
[Major] Added request source for REST calls
2019-03-09 19:38:30 +01:00
Robert von Burg
cc15510753
[New] Added PrivilegeAddUserCommand.setCert()
2019-03-07 14:28:13 +01:00