Don't fork me!

es system

 +-----+
 |  e  |
 |  s  |
 |     |                      +-------------+       messaging     +-------------------+
 |  e  |      messaging       | es commands |-+    <----------    | +-----------+     |-+
 |  v  |     <----------      +-------------+ |       http        | | es client | App | |-+
 |  e  |                        +-------------+      <---->       | +-----------+     | | |-+
 |  n  |                                                          +-------------------+ | | |-+
 |  t  |    http (on boot)    +------------+                        +-------------------+ | | |
 |     |   <-------------->   | es queries |-+        http            +-------------------+ | |
 |  s  |      messaging       +------------+ |-+     <---->             +-------------------+ |
 |  t  |     ---------->        +------------+ |                          +-------------------+
 |  o  |                          +------------+
 |  r  |
 |  e  |
 +-----+

TODO

  1. Implement es-event-store: First implementation could be: event-store-postgresql or event-store-h2

    • for beginning could be just enough to use:

      1. http post for commands

      2. http get for queries right out from the event-store (inefficient)

  2. …​

build
./gradlew clean publish build documentation ; ./mvnw clean deploy install -Pdocs

JCenter

deploy locally into ./build/repo

bash
./gradlew clean publish

Maven central

deploy snapshot

requires:

  1. setup gpg (gpg2)

  2. generate key

  3. send key to server

  4. setup settings.xml accordingly to maven central OSSRH instructions

bash
./mvnw -Pgpg clean depploy

deploy release

./mvnw -Pgpg versions:set -DgenerateBackupPoms=false -DnewVersion=x.y.z
./mvnw -Pgpg clean deploy -P release