Robert von Burg
905db8c297
[Project] Set new version 1.5.0-SNAPSHOT
2016-11-03 12:07:38 +01:00
Robert von Burg
b775c00f4d
[Major] Implemented ExecutionDuration and fixed deep execution
...
Using the DurationExecution:
<Activity Id="produceBicycle" Name="Activity" Type="ToStock"
TimeOrdering="Series">
<ParameterBag Name="objectives" Id="Objectives" Type="Objectives">
<Parameter Name="Duration" Id="duration" Value="PT0.01S"
Type="Duration" />
</ParameterBag>
<Action Id="produce" Name="Produce" ResourceId="bicycle"
ResourceType="Product" Type="Produce" />
</Activity>
IActivityElement now has a new method .findParameter() to search up the
activity hierarchy to find the element
2016-10-06 20:38:06 +02:00
Robert von Burg
89830c0412
[Minor] resource id and type are optional in model schema
2016-10-06 08:17:26 +02:00
Robert von Burg
61b3a3e5bf
[Minor] Fixing broken tests
2016-10-03 11:36:35 +02:00
Robert von Burg
f023f682a8
[Major] Implemented State Model on Activity/Actions
...
We have three major blocks:
- In Execution Warning:
- STOPPED
- WARNING
- ERROR
- in execution:
- above including EXECUTION and EXECUTED
- in planning:
- PLANNING and PLANNED
- CREATED
- CLOSED
EXECUTION is used if any action is EXECUTED and a prior state exists
PLANNING is used if any action is PLANNED and PLANNING or CREATED
state exists
CLOSED is only used if everything is CLOSED, otherwise one of the
previous states is used
2016-09-30 16:28:35 +02:00
Robert von Burg
3385694563
[Project] StrolchModel-1.4.xsd: added required for attributes
2016-09-28 15:15:18 +02:00
Robert von Burg
d86e23b58f
[Fix] Fixed locator finding for Activity and Action
2016-09-23 13:29:02 +02:00
Robert von Burg
c4748403d8
[Major] Versionized Namespace to 1.4
2016-09-23 11:09:39 +02:00
Robert von Burg
d74807cffa
[Major] Versionized Namespace to 1.4
2016-09-23 11:06:12 +02:00
Robert von Burg
d413794213
[Major] Added Activity.TimeOrdering and updated Model XSD
2016-09-23 10:53:37 +02:00
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