Robert von Burg
dc0a34dc9d
[Project] Set new snapshot version 1.4.0-SNAPSHOT
2016-09-22 11:33:15 +02:00
Robert von Burg
bda16a0f80
[Project] Updated project for deployment to Maven Central
2016-09-22 09:37:55 +02:00
Robert von Burg
e3ea9fa159
[New] When retrieving new templates, then the type and ID is set auto
2016-09-21 15:47:18 +02:00
Robert von Burg
6339f7df93
[Minor] Don't allow to add TimedState if already exists
2016-09-19 21:46:52 +02:00
Robert von Burg
d127a93ed7
[Minor] SimpleStrolchElementListener now stores as map
2016-09-17 17:21:39 +02:00
Robert von Burg
916f927ccd
[Minor] Allow to create locator even if parent is missing
2016-09-01 10:06:32 +02:00
Robert von Burg
41f5f22574
[Minor] Allow to override privilegeValue in StrolchElementQuery
...
use this together with the value "internal" to define queries as
internal, so you can make them executable without having to allow all
queries
2016-08-31 12:29:29 +02:00
Robert von Burg
9cc7ed72b0
[New] StrolchValueType has methods .isBoolean(), isNumber, isString()
2016-08-26 16:42:26 +02:00
Robert von Burg
a60c300d5c
[New] Creating a XML Schema for Strolch model as XML
2016-08-12 10:25:06 +02:00
Robert von Burg
5dd1a6f277
[New] Creating a XML Schema for Strolch model as XML
2016-08-12 10:22:02 +02:00
Robert von Burg
762f36b184
[New] Creating a XML Schema for Strolch model as XML
2016-08-12 10:21:29 +02:00
Robert von Burg
977674b9c5
[New] Creating a XML Schema for Strolch model as XML
2016-08-12 10:15:19 +02:00
Robert von Burg
b889230b7e
[New] Creating a XML Schema for Strolch model as XML
2016-08-11 11:11:37 +02:00
Robert von Burg
8c4c8e539e
[Major] Implemented opt-in versioning
...
- Implemented marshalling of Version
- Added further tests for marshalled version
- added version in deep equals
- fixing further tests
2016-08-07 17:47:52 +02:00
Robert von Burg
26961b33cc
[Major] Implemented opt-in versioning
...
- adding versioning tests
- fixing broken tests
- implemented missing PostgreSQL DAO methods
2016-08-07 11:49:36 +02:00
Robert von Burg
9dc09515e9
[Major] Implemented opt-in versioning
...
Now all root elements have a version, and if the realm has versioning
enabled, then actions through the ElementMap lead to new versions being
created. There are also methods to revert/undo changes to an object.
Some tests are still failing, this will be fixed later
2016-08-05 20:24:23 +02:00
Robert von Burg
0703103d3b
[Major] Refactored object hierarchy and added version to objects
...
- New ParameterBagContainer interface for GroupedParameterizedElement
- StrolchRootElement extends ParameterBagContainer
- StrolchRootElement is now required in Queries, not StrolchElement
- New Version object on StrolchRootElement
2016-07-31 14:56:57 +02:00
Robert von Burg
47df6b20c7
[New] Added proper marshalling to/from JSON for entire model
2016-07-31 09:28:06 +02:00
Robert von Burg
612745098b
[Project] Set new SNAPSHOT version 1.3.0-SNAPSHOT
2016-07-05 09:57:44 +02:00
Robert von Burg
611a7c670a
[Project] Set new SNAPSHOT version 1.2.1-SNAPSHOT
2016-07-05 09:56:56 +02:00
Robert von Burg
e15b93e690
[Project] Set version 1.2.0
2016-07-05 09:52:34 +02:00
Robert von Burg
11ba7eb1de
[Major] Moved ch.eitchnet to li.strolch
2016-06-26 11:38:41 +02:00
Robert von Burg
3b7e5200fa
[Project] Removed parent
2016-06-24 18:05:45 +02:00
Robert von Burg
14197ed644
[Major] Cleaning up parents
2016-06-24 18:00:44 +02:00
Robert von Burg
cac24481ee
[New] Added toJson visitor for Activity/Action
2016-04-08 18:04:19 +02:00
Robert von Burg
8a5c4468c5
[Major] Now using a nice query parser for resource querying in planning
2016-04-05 08:30:40 +02:00
Robert von Burg
a74508ba12
[WIP] Added Resource table loading to planning web
2016-04-01 18:24:35 +02:00
Robert von Burg
503954554b
[Minor] Minor fixes
2016-02-10 18:13:20 +01:00
Robert von Burg
794b3a4d38
[Project] Resource.getTimedState():<T extends StrolchTimedState<?>> T
2016-02-10 17:57:43 +01:00
Robert von Burg
465d949071
[Minor] removed unnecessary cast
2016-02-10 17:48:55 +01:00
Robert von Burg
3502a4adad
[Minor] Removed redundant types (diamond operator)
2016-02-10 17:46:50 +01:00
Robert von Burg
0473b472b3
[Major] Added PolicyContainer interface
...
Resource, Order, Activity and Action now implement this interface and Command.getPolicy() now takes a PolicyContainer as a parameter.
2016-02-10 17:37:50 +01:00
Robert von Burg
8fdcc00ed7
[New] Changed GroupedParameterizedElement.getParameter()
...
- now returns <T extends Parameter<?>>
2015-12-02 22:04:28 +01:00
Robert von Burg
9c7b155b9d
[Minor] Fixed closing empty tag in StrolchElementToSaxWriterVisitor
2015-11-28 12:37:15 +01:00
Robert von Burg
d06fe4fb04
[New][Major] Initial to JSON visitors for Resources and Orders
...
- added PolicyDefs to Actions
- also fixed a bug in StringSetValue().getValueAsString()
- further refactorings and clean-up
2015-11-16 22:37:00 +01:00
Robert von Burg
b76f90d7bd
[Minor] Allow not setting of State on Order and Action
2015-08-28 15:00:10 +02:00
Robert von Burg
01a86ca9f7
[Major] Added StrolchPolicy as super class of all Strolch policies
...
- this allows to inject a StrolchTransaction and the ComponentContainer
during instantiation
2015-08-22 20:44:31 +02:00
Robert von Burg
12ca8c4f07
[Major] Refactored package for policies in model project
...
- added additional tests
2015-08-22 15:29:48 +02:00
Robert von Burg
5da07f5824
[Major] Refactored package for policies in model project
...
- added additional tests
2015-08-22 15:09:30 +02:00
Robert von Burg
339a736c59
[Minor] Fixed broken tests in model due to new Policies in model
2015-08-22 12:07:59 +02:00
Robert von Burg
0e3b3b2a1e
[Minor] [New] Implemented and fixed remaining policy tests
2015-08-22 12:04:41 +02:00
Robert von Burg
ac1885883a
[New] Added Policies
...
You can now add policies to Resources, Orders and Activities:
<Policies>
<Policy Type="PlanningPolicy" Value="key:SimplePlanningPolicy" />
<Policy Type="ExecutionPolicy"
Value="java:li.strolch.policy.execution.TestSimulatedExecutionPolicy" />
<Policy Type="ConfirmationPolicy" Value="key:NoConfirmation" />
</Policies>
And now there is a PolicyHandler to get the Policy:
<Component>
<name>PolicyHandler</name>
<api>li.strolch.policy.PolicyHandler</api>
<impl>li.strolch.policy.DefaultPolicyHandler</impl>
<Properties>
<readPolicyFile>true</readPolicyFile>
<policyConfigFile>StrolchPolicies.xml</policyConfigFile>
</Properties>
</Component>
Which has its own configuration file:
<?xml version="1.0" encoding="UTF-8"?>
<StrolchPolicies>
<PolicyType Type="PlanningPolicy"
Api="li.strolch.policytest.TestPlanningPolicy">
<Policy Key="SimplePlanningPolicy"
Class="li.strolch.policytest.TestSimplePlanningPolicy" />
</PolicyType>
<PolicyType Type="ConfirmationPolicy"
Api="li.strolch.policytest.TestConfirmationPolicy">
<Policy Key="NoConfirmation"
Class="li.strolch.policytest.TestNoConfirmationPolicy" />
</PolicyType>
</StrolchPolicies>
Some tests are still broken at this state - will fix them in the next
commit
2015-08-21 17:38:41 +02:00
Robert von Burg
69eb5ccf38
[Major] Refactored query API
...
- Now added ordering
- added setters for visitors on query
-
2015-08-10 22:21:45 +02:00
Robert von Burg
4b96679588
[Major] refactored compareTo()-method on StrolchElements
...
Parameters are now comparable, but remove from some others like the
timed states
2015-07-29 18:54:42 +02:00
Robert von Burg
3ea59da454
Merge remote-tracking branch 'refs/remotes/origin/activity-agent-map' into develop
2015-07-08 08:50:02 +02:00
Robert von Burg
5822c231f0
[Major] Added SAX XML persistence incl. DOM for Activities
2015-07-08 08:21:11 +02:00
Robert von Burg
cf004e5577
[Minor] Changed TimeState Type from BooleanState to Boolean, etc.
...
- See StrolchValueType for the types of values which Strolch knows about
2015-07-08 07:47:46 +02:00
Robert von Burg
588952b526
[Major] Major refactoring of SAX and DOM implemenetations
...
- also added SAX and DOM visitors for Acitivities and Actions
2015-07-07 17:53:17 +02:00
Robert von Burg
8f7f6aa920
[Major] Major refactoring of toDom and toSax implementations
...
- adding Activity and Action
- remove methods on model itself and move to visitors
2015-07-03 15:11:49 +02:00
Robert von Burg
e2ac84ecdc
[New][Devel] Work in progress of implementing ActivityMap
...
- Implemented PostgreSQL persistence
Still missing is the xml persistence implementation and fixing
the tests. Currently no tests were run, just trying to fix compile
errors
2015-06-29 08:34:14 +02:00