Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.72 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.72 KB

Mobile ID (MID) REST API mock service

Mobile ID (MID) REST API Documentation

Implemented endpoints

Process Method URL
Authenticate POST BASE/authentication
Authentication status GET BASE/authentication/session/:sessionId?timeoutMs=:timeoutMs
Signing POST BASE/signature
Signing status GET BASE/signature/session/:sessionId?timeoutMs=:timeoutMs

Build docker image

./mvnw spring-boot:build-image

Run Docker image

docker run -p 8080:8080 mid-rest-mock:latest

Chaos monkey

Chaos monkey latency assaults are enabled on Authentication/Signing status endpoints to simulate random result status times. Use chaos monkey HTTP endpoints to change this behaviour at runtime.

Metrics

Application and chaos monkey metrics are published under BASE/actuator/metrics and BASE/actuator/prometheus