Robert von Burg
c1522fc1e7
[New] EventBasedExecutionHandler can now restart in-exec Activity
2017-08-09 11:31:36 +02:00
Robert von Burg
cfe8664ddc
[Minor] Allow to set Action to ERROR, if already in ERROR
2017-08-09 11:31:10 +02:00
Robert von Burg
40c9d92bb2
[Fix] Fixed broken test
2017-07-27 14:27:47 +02:00
Robert von Burg
e71b7b018b
[Major] Now exposing StrolchTransaction.assertHasPrivilege()
...
Enforcing privilege checking was a bad idea
2017-07-25 14:12:51 +02:00
Robert von Burg
1183000520
[Major] Implemented privilege checking for DAO
...
Now the PrivilegeConfig.xml must include:
<Policies>
<Policy name="ModelPrivilege"
class="li.strolch.runtime.privilege.ModelPrivilege" />
</Policies>
And PrivilegeRoles.xml must include:
<Role>
<Privilege name="GetResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="GetOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="GetActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="AddResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="AddOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="AddActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="UpdateResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="UpdateOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="UpdateActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="RemoveResource" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="RemoveOrder" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
<Privilege name="RemoveActivity" policy="ModelPrivilege">
<AllAllowed>true</AllAllowed>
</Privilege>
</Role>
2017-07-24 20:07:10 +02:00
Robert von Burg
c0cc6f57cb
[Major] Added add, update and remove methods to TX for elements
...
Moved add, update and remove commands to agent package
2017-07-24 13:51:17 +02:00
Robert von Burg
a214853e94
[Major] Inspector can now update StrolchElements from JSON/XML
2017-07-05 15:07:51 +02:00
Robert von Burg
a7fc27627f
[New] GenericReport can now do ordering
2017-06-27 08:45:26 +02:00
Robert von Burg
ad8f0220e9
[Project] filter all property files
2017-06-20 15:38:46 +02:00
Robert von Burg
9b92d2fdbc
[Major] Refactored LogMessage to use ResourceBundle, instead of bundleId
2017-06-14 17:58:13 +02:00
Robert von Burg
08631498dc
[Major] Creating LogMessages for exceptions in Migrations, TX, Execution
2017-06-14 15:54:58 +02:00
Robert von Burg
6dfdcf6a04
[New] Added SimpleExecution methods with LogMessage
2017-06-14 12:53:47 +02:00
Robert von Burg
6171e53ff4
[New] Implemented simple OperationsLog to storing messages
2017-06-14 12:53:08 +02:00
Robert von Burg
5bf7cd8b72
[Major] Changed State machine implementation
2017-06-13 10:26:21 +02:00
Robert von Burg
5471a3176b
[Fix] Fix able to restart error actions by setting to STOPPED first
2017-06-12 21:48:33 +02:00
Robert von Burg
3e2e21da6d
[Fix] Fixed re-executing ERRORed Action
2017-06-09 16:11:22 +02:00
Robert von Burg
b8b0806e12
[New] Now StrolchTimedState compact only if boolean supplied
2017-06-08 14:33:59 +02:00
Robert von Burg
ffbbe3c4bb
[New] ExecutionHandler.triggerExecution(realm) is now public
2017-06-07 15:53:52 +02:00
Robert von Burg
2470b02a10
[New] Added StringServiceArgument
2017-06-01 12:42:07 +02:00
Robert von Burg
58a3afb3e7
[Minor] Fix logging error in XmlExportModelService
2017-06-01 10:10:41 +02:00
Robert von Burg
4c9e66876a
[Major] Privilege passwords are now salted!
2017-05-22 14:37:48 +02:00
Robert von Burg
f87c42f399
[Project] switched tests to use logback-classic
2017-05-22 09:50:48 +02:00
Robert von Burg
1354a89f72
[Fix] Fixed issues where remaining actions on Activity aren't executed
...
This ocurred because of settings remaining unneeded Actions to state
CLOSED, and thus execution was not continued.
2017-05-19 10:55:57 +02:00
Robert von Burg
3622339896
[Major] Total refactoring of StrolchElementVisitor hierarchy
2017-05-17 09:20:27 +02:00
Robert von Burg
42c623cea6
[Major] Added Service.getArgumentInstance()
2017-05-16 15:18:38 +02:00
Robert von Burg
2ed8c8dc5f
[New] Implemented RemoveActivityArchival policy
2017-05-14 16:32:59 +02:00
Robert von Burg
24b7f1d2bc
[New] Update the order state of activity by Type and Id reference
2017-05-14 15:33:23 +02:00
Robert von Burg
76fb797102
[New] Added ConfirmationPolicy and ActivityArchivalPolicy
2017-05-14 11:42:37 +02:00
Robert von Burg
3dcd4aafaf
[New] Added ActivityCreationPolicy
2017-05-09 17:34:52 +02:00
Robert von Burg
ade6b5374d
[Fix] EventBasedExecutionHandler now executes next action in same TX
2017-05-09 12:43:32 +02:00
Robert von Burg
358f4eff63
[Minor] Small change in ParameterizedElement
2017-05-04 20:45:44 +02:00
Robert von Burg
5d907dc6db
[Minor] Added exception handling in EventBasedExecutionHandler
2017-05-04 15:48:39 +02:00
Robert von Burg
49f8e2bec5
[Fix] fixing broken tests
2017-05-03 16:47:49 +02:00
Robert von Burg
fdc08d873d
[Fix] Fixing StartActivityExecutionServiceTest test
2017-05-03 16:36:41 +02:00
Robert von Burg
b13558eb65
[Fix] Fixing StartActivityExecutionServiceTest test
2017-05-03 16:24:04 +02:00
Robert von Burg
b700bdf270
[New] Allow to hide objectType from report filter criteria
2017-05-03 16:06:56 +02:00
Robert von Burg
5f1f4af7b0
[Major] GenericReport now supports filter policies
...
The first two are:
- GreaterThan for FloatParameters
- Equals for strings
2017-05-03 15:32:20 +02:00
Robert von Burg
f331babd3d
[Minor] Small fixes
2017-04-25 19:47:15 +02:00
Robert von Burg
d1a392f025
[Major] Changed the behaviour of the EventBasedExecutionHandler
...
Now execution is always performed asynchronously for each Action and an
Activity should be added to the ExecutionHandler by calling
.addForExecution(), so that it is executed later even if an action
couldn't be executed to it being reserved (for instance).
2017-04-22 19:25:27 +02:00
Robert von Burg
ffe7c2ae0f
[New] Added GenericReport.hasDateRangeSelector()
2017-04-13 14:41:07 +02:00
Robert von Burg
c835ef2735
[Minor] Cleaned up use of new FileInputStream
2017-04-11 11:04:46 +02:00
Reto Breitenmoser
d469a035fb
added commitOnClose statement and unit test
2017-03-28 22:19:55 +02:00
Reto Breitenmoser
23b12631d0
if the resource doesn't exist add otherwise update
2017-03-28 21:51:26 +02:00
Robert von Burg
537c6ea8d0
[Fix] Properly initialize GenericReport
2017-03-27 14:39:03 +02:00
Robert von Burg
a982097d4f
[Minor] added GenericReport.getOrderedColumnKeys()
2017-03-27 14:04:39 +02:00
Robert von Burg
3935a425e0
[Minor] Simplified GenericReport implementation
2017-03-27 11:51:53 +02:00
Robert von Burg
bc52cdabda
[Minor] Also allow to pass a Set for filter
2017-03-24 11:25:56 +01:00
Robert von Burg
22892671a5
[New] Added searching of column parameter in GenericReport
...
If a column definition exists as follows:
<Parameter Id="minQuantity" Name="Min Quantity" Type="String"
Interpretation="Resource-Ref" Uom="Storage"
Value="$search:parent:Bags/parameters/minQuantity" />
Then a search is done by looking on this element, and all "parent"
elements where the parent relation is defined by the parameter with the
id "parent". The first instance of the Parameter "minQuantity" is used
as the value for the report.
2017-03-22 14:55:54 +01:00
Robert von Burg
1c4decd578
[Fix] Don't add a null value to the rows in GenericReport
2017-03-22 13:55:31 +01:00
Robert von Burg
9c45bf2ec3
[New] GenericReport: DateRange filter, incl. $id, $type, $date, $state
2017-03-21 15:34:10 +01:00