Commit Graph

1752 Commits

Author SHA1 Message Date
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
Robert von Burg 11e66fec06 [Project] Extended documentation with architecture 2016-09-15 19:20:41 +02:00
Robert von Burg 9a7d93d496 [Project] Extended documentation with architecture 2016-09-15 19:12:40 +02:00
Robert von Burg 55fb3a53c8 [Project] Extended documentation for:
- components
- queries
- realms
- services and commands
2016-09-15 18:37:15 +02:00
Robert von Burg b8834b9b82 [Major] Refactored to not use JAXB in PrivilegeUsersService 2016-09-08 20:06:38 +02:00
Robert von Burg 68327da042 [Minor] Added further helper methods to ResponseUtil 2016-09-08 15:53:48 +02:00
Robert von Burg bdd4091a16 [New] Implemented a SmtpMailer and Strolch MailHandler component
SmtpMailer is a singleton and requires properties.

Configure the MailHandler as follows:
<Component>
    <name>MailHandler</name>
    <api>li.strolch.handler.mail.MailHandler</api>
    <impl>li.strolch.handler.mail.SmtpMailHandler</impl>
    <Properties>
        <fromAddr>relayer@eitchnet.ch</fromAddr>
        <fromName>Consilium</fromName>
        <overrideRecipientAddr>eitch@eitchnet.ch</overrideRecipientAddr>
        <overrideRecipientName>Consilium Test</overrideRecipientName>
        <username>relayer@eitchnet.ch</username>
        <password>M5ztAE4a1NWWZBHaUd2ey9aoH</password>
        <auth>true</auth>
        <startTls>true</startTls>
        <host>smtp.gmail.com</host>
        <port>587</port>
    </Properties>
</Component>
2016-09-08 14:24:10 +02:00
Robert von Burg 7a090f3d68 [Major] REST APIs are now singular 2016-09-08 13:19:44 +02:00
Robert von Burg 5fbfbdc731 [New] Added MailUserChallengeHandler 2016-09-08 11:20:45 +02:00
Robert von Burg 3f2c749659 [Minor] Added AbstractionConfiguration.getAsProperties() 2016-09-08 11:20:06 +02:00
Robert von Burg 9602313410 [New] Implemented a SmtpMailer and Strolch MailHandler component
SmtpMailer is a singleton and requires properties.

Configure the MailHandler as follows:
<Component>
    <name>MailHandler</name>
    <api>li.strolch.handler.mail.MailHandler</api>
    <impl>li.strolch.handler.mail.SmtpMailHandler</impl>
    <Properties>
        <fromAddr>relayer@eitchnet.ch</fromAddr>
        <fromName>Consilium</fromName>
        <overrideRecipientAddr>eitch@eitchnet.ch</overrideRecipientAddr>
        <overrideRecipientName>Consilium Test</overrideRecipientName>
        <username>relayer@eitchnet.ch</username>
        <password>M5ztAE4a1NWWZBHaUd2ey9aoH</password>
        <auth>true</auth>
        <startTls>true</startTls>
        <host>smtp.gmail.com</host>
        <port>587</port>
    </Properties>
</Component>
2016-09-08 11:19:10 +02:00
Robert von Burg bcc0bf4a10 [Major] Now users can reset their own passwords
- built in User Challenge feature (currently only console)
- extended REST API to allow user to initiate a challenge and then use
the challenge to authenticate for a one time change password session
2016-09-07 14:41:16 +02:00
Robert von Burg a4e63b7de0 [New] Added ObjectFilter.isEmpty() 2016-09-05 11:58:46 +02:00