Grooves

Groovy Event Sourcing

License

License

Categories

Categories

Grails User Interface Web Frameworks
GroupId

GroupId

com.github.rahulsom
ArtifactId

ArtifactId

grooves-grails
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Grooves
Groovy Event Sourcing
Project URL

Project URL

https://github.com/rahulsom/grooves
Source Code Management

Source Code Management

https://github.com/rahulsom/grooves

Download grooves-grails

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.rahulsom/grooves-grails/ -->
<dependency>
    <groupId>com.github.rahulsom</groupId>
    <artifactId>grooves-grails</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rahulsom/grooves-grails/
implementation 'com.github.rahulsom:grooves-grails:0.1.0'
// https://jarcasting.com/artifacts/com.github.rahulsom/grooves-grails/
implementation ("com.github.rahulsom:grooves-grails:0.1.0")
'com.github.rahulsom:grooves-grails:jar:0.1.0'
<dependency org="com.github.rahulsom" name="grooves-grails" rev="0.1.0">
  <artifact name="grooves-grails" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rahulsom', module='grooves-grails', version='0.1.0')
)
libraryDependencies += "com.github.rahulsom" % "grooves-grails" % "0.1.0"
[com.github.rahulsom/grooves-grails "0.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.github.rahulsom : grooves-groovy jar 0.1.0

test (1)

Group / Artifact Type Version
org.spockframework : spock-core jar 1.0-groovy-2.4

Project Modules

There are no modules declared in this project.

Build Status License codecov

Grooves

Event Sourcing Library for Java.

Grooves formerly meant Groovy Event Sourcing. In its present form, it can support just about any JVM language. Examples and tests include Java, Groovy and Kotlin. Documentation can be found here.

Modules

grooves-gorm

badge

This is for you if you’re using GORM for persistence. It has interfaces that need to know the domain object used, and build flexible queries without forcing you to write the code to read domain objects from the database.

grooves-groovy

badge

This is for you if you want to write your queries in groovy, but are not using GORM. You will have to implement your own data access, but will get support for checking completeness of queries based on groovy AST Transformations.

grooves-java

badge

This is for you if you want to write your queries in java. You will have to implement your own data access, but will get support for checking completeness of queries based on Annotation Processors.

grooves-api

badge

This is for you if you are not using groovy or java, or don’t care about verifying completeness of queries. For example, you could use this for writing code with Kotlin.

grooves-types

badge

This contains types that are used in grooves-api. It is very unlikely you’ll be using this directly.

grooves-diagrams

badge

This is an asciidoctor extension that allows you to generate diagrams like those in grooves' documentation.

Examples

examples/grails/rdbms

This uses grails (with groovy) backed by Hibernate (through GORM).

examples/springboot/jpa

This uses Springboot and JPA repositories for everything. All the code is written in groovy.

examples/springboot/kotlin

This uses Spring Reactive Web and RxMongo repositories for everything. All the code is written in kotlin.

examples/javaee

This uses Java and JavaEE for the APIs. The persistence here is completely made up using a few List objects. The reason for that is to show how you don’t have to be tied to any one persistence mechanism.

examples/pushstyle

This uses Kotlin and Guava EventBus. The snapshots are persisted using jOOQ. The events are never persisted. They are processed as they come on the EventBus.

Releasing

  • Ensure environment variable GRGIT_USER is populated

  • Ensure ~/.gradle/gradle.properties has these properties

    • signing.keyId

    • signing.password

    • nexusUsername

    • nexusPassword

  • Tag the version

  • Run this command

    ./gradlew -Prelease.useLastTag=true -Dorg.gradle.parallel=false <candidate|final>

Versions

Version
0.1.0
0.0.2
0.0.1