This project serves as an example of how to define JPA Data Model for astraios.io; there also comes with a production-ready test framework to make sure the model compiles with business requirements.
To install the data models locally, run:
Tip
The local version will always be 2.0-SNAPSHOT
under ~/.m2/repository/com/paiondata/astraios-data-models-example/
mvn clean install
The models in this example has also been published to Maven Central and can be imported by specifying a semantic version
<dependency>
<groupId>com.paiondata</groupId>
<artifactId>astraios-data-models-example</artifactId>
<version>x.y.z</version>
<scope>test</scope>
</dependency>
More information about the model can be found in Javadoc page
The use and distribution terms for astraios-data-models-example are covered by the Apache License, Version 2.0.