Commit Graph

1764 Commits

Author SHA1 Message Date
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
Robert von Burg 48caa84903 [Major] Refactored SystemAction in privileges
Simplified the API, removed the privileged user - now always use the
agent system user for running system actions. One method has no return
value and one has a return value. Now it is easy to perform a system
action using:

    runAsAgent(ctx -> {
      // do work			
    });

    String result = runAsAgentWithResult(ctx -> {
      // do work
      return "done";
    });

    // execute a SystemAction
    runAsAgent(action);

    // execute a SystemActionWithResult
    String result = runAsAgentWithResult(actionWithResult);
2016-09-29 15:54:30 +02:00
Robert von Burg dd227c65d0 [Major] Refactored SystemAction in privileges
Simplified the API, removed the privileged user - now always use the
agent system user for running system actions. One method has no return
value and one has a return value. Now it is easy to perform a system
action using:

    runAsAgent(ctx -> {
      // do work			
    });

    String result = runAsAgentWithResult(ctx -> {
      // do work
      return "done";
    });

    // execute a SystemAction
    runAsAgent(action);

    // execute a SystemActionWithResult
    String result = runAsAgentWithResult(actionWithResult);
2016-09-29 12:26:27 +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 06f0411f46 [Project] added missing TimeOrdering 2016-09-28 15:03:02 +02:00
Robert von Burg aab5f0b22f [Major] Moved planning services to li.strolch.planning 2016-09-24 19:07:42 +02:00
Robert von Burg 65c02d2cc0 [Major] Implemented first version of Activity execution 2016-09-23 14:20:16 +02:00
Robert von Burg b4bc62d11c [Major] Implemented first version of Activity execution 2016-09-23 14:03:42 +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 02e0110fc6 [Minor] Refactoring packages of tests 2016-09-22 21:59:40 +02:00
Robert von Burg 5cbbfebf06 [Major] Services now consider Arg realm or user realm 2016-09-22 21:52:36 +02:00
Robert von Burg b7b9d63e79 [Major] Refactored services to use generic Arguments were applicable 2016-09-22 21:06:57 +02:00
Robert von Burg c89a275452 [Major] Planning commands are in planning package 2016-09-22 21:05:13 +02:00
Robert von Burg 7255bcedc0 [Project] add mgmt for maven-project-info-reports-plugin 2016-09-22 15:30:35 +02:00
Robert von Burg 19d519a408 [Project] Fixed version in persistence.xml 2016-09-22 15:27:18 +02:00
Robert von Burg 8abbbab049 [Minor] Major clean up of JavaDocs in utils 2016-09-22 15:26:32 +02:00
Robert von Burg 5abef93324 [Project] Website update for Release 1.3.0 2016-09-22 13:29:25 +02:00
Robert von Burg 8f49fdfcf3 [Minor] Deleted target 2016-09-22 11:34:52 +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 6a2ca376d6 [Project] Updated project for deployment to Maven Central 2016-09-22 09:52:10 +02:00
Robert von Burg 2cf851500f [Project] Updated project for deployment to Maven Central 2016-09-22 09:40:40 +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 6ed3587394 [Project] Set distribution management to oss.sonatype.org 2016-09-21 21:28:01 +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 f8165208b1 [New] Added CRUD Services and Commands for Activities 2016-09-21 12:40:23 +02:00
Robert von Burg 657c47aacd [New] Added get activity template methods on StrolchTransaction 2016-09-21 10:00:51 +02:00
Robert von Burg 6286949506 [New] Added StrolchRootElement Service Argument and Result classes 2016-09-21 09:48:36 +02:00
Robert von Burg 7269a5f3b1 [New] Added StrolchRootElement Service Argument and Result classes 2016-09-21 09:45:27 +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 813c7bc13d [Minor] Added JsonElement service argument result objects 2016-09-19 21:19:51 +02:00
Robert von Burg d127a93ed7 [Minor] SimpleStrolchElementListener now stores as map 2016-09-17 17:21:39 +02:00
Robert von Burg de092a9c1b [Minor] Added RuntimeMock.login(String, String) 2016-09-17 17:21:22 +02:00
Robert von Burg 6d65064117 [New] Allow for optional parameters in to flat json 2016-09-17 17:20:45 +02:00
Robert von Burg 47d56d6845 [Project] Extended documentation with observer and versioning 2016-09-16 13:32:51 +02:00
Robert von Burg 7de48c0d43 [Project] Mockito is only test dependency 2016-09-16 11:30:16 +02:00
Robert von Burg 691722f835 [Project] Website cleanup 2016-09-16 11:29:01 +02:00
Robert von Burg 2fe9f74be8 [Project] Extended documentation with policies and transactions 2016-09-16 10:58:47 +02:00