Skip to content

A server to enable request idempotency.

License

Notifications You must be signed in to change notification settings

checkr/idempotent-requests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ivan RylachivanRylach
Ivan Rylach
and
Sep 27, 2021
da5fb41 · Sep 27, 2021

History

20 Commits
Sep 27, 2021
Sep 24, 2021
Sep 22, 2021
Sep 22, 2021
Sep 20, 2021
Sep 16, 2021
Sep 16, 2021
Sep 16, 2021
Sep 20, 2021
Sep 24, 2021
Sep 23, 2021
Sep 22, 2021
Sep 23, 2021
Sep 22, 2021
Sep 20, 2021
Sep 20, 2021
Sep 20, 2021

Repository files navigation

CI workflow Release workflow

Idempotent Requests

Idempotent Requests Server provides API to allocate and record a captured request.

Idempotent Requests Client

We have implemented a client in a form of a Kong Gateway Plugin - idempotent-requests.

Configuration

Config Required Default Explanation
MONGODB_URI yes mongodb://root:password123@localhost:27017 URI to connect to MongoDB

Example topology

This example topology relies on Kong Gateway to intercept client requests. A Kong Plugin acts as a client to Idempotent Requests Server.

Data flow

data_flow

Sequence

sequence

Running Integration Tests Locally

docker-compose -f docker-compose.yml \
  -f docker-compose.server.yml \
  -f docker-compose.integration.yml \
  up --exit-code-from integration-test