Skip to content
Thomas Letsch edited this page Nov 16, 2015 · 2 revisions

Spring Framework

The spring framework is used in almost every place. All microservices are spring boot applications.

Data Store

The MosErp uses MongoDB for persistence. But since we use the spring repositories as abstraction layer, it should be fairly simply to use it with JPA / SQL as well.

Interfaces

Every microservice / module has its own REST API. We use Spring Data Rest with Hateoas. This means that the resulting JSON is of HAL format.

Additionally there is a relative url "/structure" where each module posts its internal structure and services. This can be used by a smart frontend to construct a GUI from it. It was mainly inspired from the ALPS structures, but than extended to give much more information which can be important for GUI building. A Dart based GUI is under development and will be released as OS as well.

Service Registry

Eureka is used a service registry. This is currently under heavy development. Goal is to have a quite flexible configuration / registry combination like it is presented at https://dzone.com/articles/learning-spring-cloud.

Deployment

Support for deployment as docker container. Others (boxfuse etc) can of course beused as well.

IDE Support

To use these projects in an IDE you will need the https://projectlombok.org/. Full instructions can be found in the Lombok website. The sign that you need to do this is a lot of compiler errors to do with missing methods and fields.

Clone this wiki locally