m8ty-adapter-interfaces - Backend Adapter Interfaces

This module contains the interfaces that are required for the implementation of a backend.

The server itself accesses this layer from the domain.

In order to be able to use the correct backend, profiles must be stored for all beans (including bean interfaces such as @Repository). These should be unique and describe the backend exactly (e.g. mock or finapi). Ideally, they correspond to the submodule suffix.

As soon as the corresponding submodule is in the classpath and the Spring profile is specified, the corresponding implementation is used.

The packages in this module largely correspond to the division of the APIs. The underlying classes are divided according to the corresponding domains.

Logging Adapter

A separate adapter is available for frontend logging, which can be implemented and provided as a bean.

If this is not the case, the standard implementation is used. This writes the message to the log and sets the parameters in the MDC. The values are then split into proper key/value elements. In the case of JSON logging with OpenSearch/ElasticSearch, the values are then provided as separate keys.

Packages

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard