Skip to content

Defines a common event store Java interface and provides some adapters (like for Greg Young's event store) and implementations (like in-memory, JPA or file-based).

License

Notifications You must be signed in to change notification settings

FastAtlas/event-store-commons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

event-store-commons

Defines a common event store Java interface and provides some adapters (like for Greg Young's event store) and implementations (like in-memory or file-based).

Build Status Coverage Status Maven Central LGPLv3 License Java Development Kit 11

Versions

  • 0.5.x (or later) = Java 11 with new jakarta namespace
  • 0.4.x = Java 11 before namespace change from 'javax' to 'jakarta'
  • 0.3.2 (or less) = Java 8

Caution: The code coverage value is not correct (it's actually higher than above value) as the 'test' module is not considered correctly (See Issue #4)

Status

Warning This is work in progress Warning

Module Description Status Comment
esc-api Defines the event store commons API. OK Test coverage ~92%
esc-http HTTP adapter for Greg Young's event store OK Test coverage ~66%
esc-esjc Event Store Java Client adapter for Greg Young's event store OK Test coverage ~80%
esc-jpa JPA adapter OK Test coverage ~59%
esc-mem In-memory implementation OK Test coverage ~60%
esc-spi Helper classes for adapters and implementations OK Test coverage ~67%
esc-test Cucumber tests for adapters and implementations OK Subscriptions not tested yet

Architecture

Layers

Examples

Major changes

Version Description
0.3.1-SNAPSHOT Type of the event version changed from int to long

Snapshots

Snapshots can be found on the OSS Sonatype Snapshots Repository.

Add the following to your .m2/settings.xml to enable snapshots in your Maven build:

<repository>
    <id>sonatype.oss.snapshots</id>
    <name>Sonatype OSS Snapshot Repository</name>
    <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

About

Defines a common event store Java interface and provides some adapters (like for Greg Young's event store) and implementations (like in-memory, JPA or file-based).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.8%
  • Gherkin 2.2%