axon-kotlin

Extensions to the Axon Framework

License

License

Categories

Categories

Kotlin Languages Axon Application Layer Libs Distributed Applications
GroupId

GroupId

com.tylerthrailkill
ArtifactId

ArtifactId

axon-kotlin
Last Version

Last Version

0.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

axon-kotlin
Extensions to the Axon Framework
Project URL

Project URL

https://github.com/snowe2010/axon-kotlin
Source Code Management

Source Code Management

https://github.com/snowe2010/axon-kotlin.git

Download axon-kotlin

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.hamcrest : hamcrest-all jar 1.3
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.2.50

runtime (2)

Group / Artifact Type Version
org.axonframework : axon-core jar 3.2.2
org.axonframework : axon-test jar 3.2.2

Project Modules

There are no modules declared in this project.

Travis branch Maven Central

axon-kotlin

Extensions to the Axon Framework

A set of extensions to the Axon Framework making it easier to use in kotlin.

Currently only covers test functions, but will eventually cover all of Axon.

Also includes a DSL for easier writing FixtureConfiguration tests.

Documentation

Docs are available at https://snowe2010.github.io/axon-kotlin/axon-kotlin/

Install

Maven

<dependency>
    <groupId>com.tylerthrailkill</groupId>
    <artifactId>axon-kotlin-test</artifactId>
    <version>${axon-kotlin.version}</version>
</dependency>

Gradle

compile "com.tylerthrailkill:axon-kotlin-test:$axonKotlinVersion"

Extensions

TODO

DSL

  • All fixture tests
  • Nice error messages when unary plus isn't used when it should be
  • Allow restarting dsl from arbitrary points in the chain, e.g. if you save the fixtureExecutionResult to a variable, then you should be able to invoke a new block on it and continue using the dsl

Extensions

Versions

Version
0.1.5
0.1.2