/SW Request ID

SW Request ID

1
v0.1.5

Request ID plugin for Traefik

This traefik plugin set a 'X-Request-Id' header for every incoming HTTP request that does not have one already.

The generated ids are UUIDv4.

Dev setup

Docker is used to package the toolchain needed to build, test and manage the plugin.

# Build and run the developpment container
docker-compose build
docker compose up -d

You can start running tests and the linter with the following Make command

docker-compose exec -it plugin make

To run the linter, do:

docker-compose exec -it plugin make lint

To run the unit test, do:

docker-compose exec -it plugin make test