Commit Graph

1753 Commits

Author SHA1 Message Date
Robert von Burg 1d25a2a46b [Major] Json Tags are now in Tags.Json and are drinking camel-case 2017-02-02 11:58:59 +01:00
Robert von Burg c96465fcc6 [New] Added transient perf test 2017-02-01 18:56:43 +01:00
Robert von Burg 061436e7ee [Project] Refactoring tests 2017-01-31 14:20:47 +01:00
Robert von Burg de1d569efd [Minor] Moved PrivilegeAddUserService to command, added tests 2017-01-31 14:20:14 +01:00
Robert von Burg 5cdffcc450 [New] Implemented StrolchTransaction.setSuppressAuditsForAudits() 2017-01-31 11:24:27 +01:00
Robert von Burg 4789264975 [Project] allow creating hotfix from any branch 2017-01-23 17:37:22 +01:00
Robert von Burg 02a8f9d3ef [Minor] Added JavaDoc to execution policies 2017-01-23 16:44:14 +01:00
Robert von Burg 6bf3ee1509 [New] Added methods on StrolchTransaction and StrolchComponent 2017-01-23 16:42:08 +01:00
Robert von Burg 13a7c83d96 [New] Added new SimpleExecution and DurationExecution extends it 2017-01-20 10:23:47 +01:00
Robert von Burg 77e0aea47b [Project] Skipping deployment of demo/test apps to Central 2017-01-18 11:02:20 +01:00
Robert von Burg cf9026f693 [Project] Skipping deployment of demo/test apps to Central 2017-01-18 11:00:23 +01:00
Robert von Burg 5c08705fef [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:20:10 +01:00
Robert von Burg 813361bd1e [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
Robert von Burg 953f1d7b21 [New] Added new DateHelper and TexHelper utils 2017-01-18 09:48:48 +01:00
Robert von Burg a963b1e94e Added date range parameter tests 2016-12-07 14:42:07 +01:00
Robert von Burg e46e50eb2f [Project] Ignore dependencies folder 2016-11-14 09:50:19 +01:00
Robert von Burg 36f3973c6e Added Coverity badge 2016-11-08 11:19:40 +01:00
Robert von Burg 744c7614d3 Merge branch 'release/1.4.0' into develop 2016-11-03 13:35:58 +01:00
Robert von Burg e7cf9bad6d [Fix] Fixed undo logic for general commands
Should a command be undone, then some commands performed an undo,
although they didn't perform their work, this led to an inconsistent
data model. I.e. AddResourceCommand would fail because the resource
already existed and an undo would lead to the existing object being
removed
2016-11-03 13:35:29 +01:00
Robert von Burg df4d716c35 Merge branch 'release/1.4.0' into develop 2016-11-03 12:14:31 +01:00
Robert von Burg da41e2aeb9 [Project] Remove xmlpers as dependency from service project 2016-11-03 12:10:43 +01:00
Robert von Burg 905db8c297 [Project] Set new version 1.5.0-SNAPSHOT 2016-11-03 12:07:38 +01:00
Robert von Burg edcef3e755 Merged branch release/1.4.0 into develop 2016-11-03 11:51:11 +01:00
Robert von Burg 8c1b99647f [Project] naje deploy.sh executable 2016-11-03 09:27:16 +01:00
Robert von Burg 8fd4a5e311 [Fix] Fixed InMemoryElementListener because of versioning 2016-10-24 11:08:41 +02:00
Robert von Burg fecb1f4395 [Project] added release scripts 2016-10-24 10:48:35 +02:00
Robert von Burg f5fc938124 [Minor] Always log original exception if TX fails 2016-10-24 10:45:06 +02:00
Robert von Burg dede70b9d4 [Project] inline version.sh into hotfix.sh and release.sh 2016-10-19 12:16:09 +02:00
Robert von Burg bff0215510 [Major] Refactored the DurationExecutionTimer to not be singleton
Once again it is clear how bad singletons are. One test killed the
timer, thus all other tests failed. Now the DelayedExecutionTimer is
retrieved from the ExecutionHandler and is called DelayedExecutionTimer
with a default implementation of SimpleDurationExecutionTimer
instantiated by the EventBasedExecutionHandler
2016-10-11 14:59:52 +02:00
Robert von Burg 992f3966dc [New] Rewrote the Paging class to use offset/limit
Also returns next, previous and last offsets. Added helper method to
create a REST Response from a page in ResponseUtil
2016-10-07 11:55:08 +02:00
Robert von Burg ba476b2f68 [Minor] Added TODO about .getBy() which returns clone, and querying 2016-10-07 09:38:39 +02:00
Robert von Burg 3be7f9e905 [Fix] Fix timing in execution tests for CI 2016-10-06 21:16:00 +02:00
Robert von Burg 001717d987 [Fix] Fixed ToStock Execution due to changes in Strolch 1.4.x 2016-10-06 20:46:15 +02: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 2b701d5d74 [Fix] Fixed json object not marshalled in AuthenticationService 2016-10-05 17:03:01 +02:00
Robert von Burg 0e818832fa [Project] Added release and deploy scripts 2016-10-04 20:05:37 +02:00
Robert von Burg 9ce54232a7 [Project] Added release and deploy scripts 2016-10-04 19:59:18 +02:00
Robert von Burg 0e2424bf22 [Minor] Upgrade to Jersey 2.23.2 2016-10-04 15:13:25 +02:00
Robert von Burg 597441653a [Minor] Code cleanup 2016-10-03 14:00:39 +02:00
Robert von Burg 61b3a3e5bf [Minor] Fixing broken tests 2016-10-03 11:36:35 +02:00
Robert von Burg 811b71f543 [Major] Implemented EventBasedExecutionHandler
Now all Actions are executed, as long as Execution is done through the
ExecutionHandler
2016-09-30 16:35:16 +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 7a537e7886 [Major] REST APIs are supposed to be plural 2016-09-30 10:13:22 +02:00
Robert von Burg 8c429ccb19 [Fix] Fixed version when loading from PostgreSQL 2016-09-30 10:12:59 +02:00
Robert von Burg 8392ab24d8 [Fix] Fixed PostgreSQL migration script 2016-09-29 17:37:01 +02:00
Robert von Burg 3aea4a223c [Fix] Fixed PostgreSQL migration script 2016-09-29 17:29:04 +02:00
Robert von Burg 32438778b3 [Fix] Fixed PostgreSQL migration script 2016-09-29 17:20:04 +02:00
Robert von Burg d7931f101e [Minor] Fixed tests 2016-09-29 17:04:46 +02:00
Robert von Burg c6506de3ab [Major] Fixed starting of all test applications 2016-09-29 16:54:48 +02:00