Robert von Burg
7ffaab1bb8
[Major] Removed the Query API, use Search API instead
2021-09-05 12:46:45 +02:00
Robert von Burg
1b18366090
[Fix] Properly handle UserMessageException has a warning in services
2021-08-30 21:58:24 +02:00
Robert von Burg
7005452a8c
[New] Added new UserMessageException to use in Services
2021-08-24 17:39:19 +02:00
Robert von Burg
982f3939ea
[Minor] clean up imports
2021-07-21 13:14:41 +02:00
Robert von Burg
7904bb45d7
[New] Added StrolchTransaction.getPolicy(PolicyContainer, Class<T>) to simplify getting policies
2021-07-19 12:06:55 +02:00
Robert von Burg
87804809f3
[New] Added tx.getPolicy(Class<T> clazz, ...) overrides
...
Old version are deprecated. This is to help the compiler know what we really want as result. This is a stop gap till we can make PolicyDef be typed, but this requires moving StrolchPolicy to model.
2021-07-19 11:28:24 +02:00
Robert von Burg
a213866787
[Minor] code cleanup in AbstractTransaction
2021-07-16 15:39:37 +02:00
Robert von Burg
110569b895
[Minor] Optimize bulk operations in transactions
2021-07-16 14:25:59 +02:00
Robert von Burg
bff8658c22
[New] Added bulk change commands for all objects
2021-07-16 14:25:23 +02:00
Robert von Burg
a65d22ccf1
[Fix] Added jobs as recurring in registerAndScheduleJob()
2021-06-14 16:07:49 +02:00
Robert von Burg
ddf2bdb6e8
[Minor] Added JavaDoc to StrolchJobsHandler
2021-06-14 16:07:27 +02:00
Robert von Burg
ef230cf040
[Fix] Fixed StrolchJobsHandler stop() and destroy()
2021-06-07 17:07:37 +02:00
Robert von Burg
668181e46b
[New] Added StrolchTransaction.lockAndGetConfiguration()
2021-05-25 08:12:11 +02:00
Robert von Burg
b7ce4b355c
[Minor] Added StrolchAgent.runAsWithResult()
2021-05-17 18:03:06 +02:00
Robert von Burg
efe7755f3c
[Project] change logback dependency definition
2021-04-23 14:58:56 +02:00
Robert von Burg
92143b9154
[New] ServiceResult.toJson() also checks if ex has I18n
2021-04-22 16:34:03 +02:00
Robert von Burg
4fa3f24701
[New] Added ExpressionsSupport.relationNull()
2021-03-24 23:49:10 +01:00
Robert von Burg
1ce493e9cb
[New] Added ExpressionsSupport.predicate() and .map*()
2021-03-23 20:26:01 +01:00
Robert von Burg
bd51435bd1
[New] Added dataSetSize to paging result from SearchResult
2021-03-15 11:45:18 +01:00
Robert von Burg
4fe7bc9106
[New] Added tx.get*Count()
2021-03-15 11:44:56 +01:00
Robert von Burg
7c82f21ee4
[Minor] code cleanup
2021-02-22 23:11:26 +01:00
Robert von Burg
872f3244ef
[Major] Removed ComponentContainer from Command constructor
2021-02-22 16:00:02 +01:00
Robert von Burg
76f2079d28
[New] Added ExpressionsSupport.paramNull(String)
2021-02-09 17:32:08 +01:00
Robert von Burg
207304932a
[Major] Better exception handling for AccessDeniedExceptions
2021-02-08 22:43:27 +01:00
Robert von Burg
42b54b3da3
[Major] Added ordering to OrderDao.queryAll() with asc/desc
2021-01-25 21:52:17 +01:00
Robert von Burg
dabdd18fc2
[Minor] Added StrolchJob.hasComponent()
2021-01-06 12:51:35 +01:00
Robert von Burg
16b1b727a5
[New] Added a DataArchiveHandler for archiving objects
2020-11-17 15:48:07 +01:00
Robert von Burg
11017e7b57
[New] Added SearchResult.toJsonArray()
2020-11-10 10:58:51 +01:00
Robert von Burg
ea5faf9abb
[Fix] Fixed getElementOperation() for unknown op
2020-11-06 18:05:32 +01:00
Robert von Burg
9f47a72168
[New] Added tx.findParameterOnHierarchy() override
2020-10-27 11:36:35 +01:00
Robert von Burg
33fe4ae603
[New] Added StrolchTransaction privilege methods
2020-10-26 15:21:51 +01:00
Robert von Burg
5c5487efdc
[New] Added TransactionThreadLocal
2020-10-23 14:34:48 +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
428ae62ff9
[New] Add non-bagId overrides in SearchExpressions
2020-10-08 10:18:10 +02:00
Robert von Burg
3736c536f1
[Minor] set initial StrolchJob to Programmatic
2020-10-05 14:12:36 +02:00
Robert von Burg
b14b625626
[New] Added ConfigureMethod.isProgrammatic() and isModel()
2020-10-05 10:58:00 +02:00
Robert von Burg
d91c630208
[Minor] Catch trying to instantiate abstract policies
2020-09-03 15:48:00 +02:00
Robert von Burg
5ca616f3f3
[Fix] Fix tx.addOrUpdate() with previous remove()
2020-08-19 19:38:44 +02:00
Robert von Burg
6e910854e2
[Minor] Code cleanup and replace deprecated calls
2020-08-19 14:25:09 +02:00
Robert von Burg
fb9c78f7aa
[Minor] Code cleanup and replace deprecated calls
2020-08-19 12:27:33 +02:00
Robert von Burg
145678639f
[Fix] Ignore updates if update observer is already shutdown
2020-08-11 21:52:15 +02:00
Robert von Burg
188ab020da
[Fix] Fixed broken tests
2020-08-06 13:16:06 +02:00
Robert von Burg
86f9419a6c
[New] Added EnumHandler.getEnum(StrolchTransaction, String)
2020-08-06 09:31:13 +02:00
Robert von Burg
07d2329725
[New] Added StrolchTransaction.reset()
2020-08-05 23:44:57 +02:00
Robert von Burg
a1ef05a6b7
[New] Added AbstractService.hasComponent()
2020-08-05 23:44:46 +02:00
Robert von Burg
d218da5963
[New] Added ThreadLocal to TX for logging when multiple TX open in same thread
2020-08-05 13:17:33 +02:00
Robert von Burg
a59a133cca
[New] Added StrolchModelConstants.PolicyConstants.TYPE_USE
2020-07-23 16:36:20 +02:00
Robert von Burg
074fa317a1
[New] added tx.validateAction()
2020-07-21 10:47:56 +02:00
Robert von Burg
a65098f81c
[Major] AbstractService.getPrivilegeValue() returns String
2020-07-21 10:47:42 +02:00
Robert von Burg
cd36ad75b7
[Project] Updated strolch-wc-inspector version
2020-07-20 12:19:37 +02:00
Robert von Burg
d28093ff92
[Fix] fixed OperationsLog.updateState(String, String, LogMessageState)
2020-07-13 13:28:53 +02:00
Robert von Burg
5934ebad42
[Fix] fixe OperationsLog.updateState(String, String, LogMessageState)
2020-07-13 13:06:22 +02:00
Robert von Burg
62fb6b908e
[Minor] Handling badly modelled StrolchJobs in StrolchJobsHandler
2020-07-10 09:30:40 +02:00
Robert von Burg
77e5cba353
[New] Added AbstractService.getAgent()
2020-07-09 10:22:15 +02:00
Robert von Burg
0ca545501e
[Major] Moved constants from StrolchConstants to StrolchModelConstants
2020-07-02 15:53:47 +02:00
Robert von Burg
e66b1bdc6b
[Major] removed DateParameter.toZonedDateTime() and .toLocalDateTime()
2020-07-01 11:40:00 +02:00
Robert von Burg
e017c98048
[New] Added tx.getConfiguration() to get getResourceBy(TYPE_CONFIGURATION, RES_CONFIGURATION)
...
gracefully handles missing resource
2020-06-29 16:07:57 +02:00
Robert von Burg
9c7044a957
[New] Added StrolchAgent.get..() short hand methods
2020-06-25 15:00:04 +02:00
Robert von Burg
8a315138e7
[New] Added new predicate isEmpty()
2020-06-23 13:03:57 +02:00
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
eacec9a9ac
[Fix] First try lock, before trying with timeout
2020-06-17 19:25:09 +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
14b27ca3f2
[Fix] Allow RootElementSearchResult.oderBy(Comparator) to return this
2020-06-05 15:45:21 +02:00
Robert von Burg
20de009632
[Minor] Allow IActivitiyElement for StrolchPolicy.getOrder()
2020-05-28 16:04:35 +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
5e5289cbc8
[New] Implemented keepAlive of strolch sessions
2020-05-11 17:49:49 +02:00
Robert von Burg
1398bdd0e7
[Fix] Fixed reloading of jobs
2020-05-03 00:00:25 +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
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