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).
- 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)
Module | Description | Status | Comment |
---|---|---|---|
esc-api | Defines the event store commons API. | Test coverage ~92% | |
esc-http | HTTP adapter for Greg Young's event store | Test coverage ~66% | |
esc-esjc | Event Store Java Client adapter for Greg Young's event store | Test coverage ~80% | |
esc-jpa | JPA adapter | Test coverage ~59% | |
esc-mem | In-memory implementation | Test coverage ~60% | |
esc-spi | Helper classes for adapters and implementations | Test coverage ~67% | |
esc-test | Cucumber tests for adapters and implementations | Subscriptions not tested yet |
- Simple in-memory example
- Event store with HTTP interface and XML (JAX-B)
- Event store with HTTP interface and JSON (JSON-B)
- Event store with HTTP interface and mixed JSON/XML content (JAX-B/JSON-B)
Version | Description |
---|---|
0.3.1-SNAPSHOT | Type of the event version changed from int to long |
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>