Mock integrations
In case you need to test the business process flow, but not all integrations are completed, you can still do so by using a mock integrations server included in the platform.

Setup

Configure DB settings for the microservice, it uses a Postgres DB.
Deploy the mocked adapter microservice.

Add a new integration

The only thing that needs to be done in order to set up a mocked integration is to add a mock Kafka request and response.
This can be done by adding the info directly to the DB or by using the provided API.
You will need to add a separate entry for each Kafka message exchange between the engine and the integration.
post
MOCK_ADAPTER_URL/
api/kafka-exchanges/
add new Kafka exchange mock
get
MOCK_ADAPTER_URL/
api/kafka-exchanges
view all available Kafka exchanges
Last modified 7mo ago