Mock

From DE4A
Jump to navigation Jump to search


The mock set up mock endpoints for the interfaces defined by DE4A in the connector, data evaluator and data provider. It is built to be easy to configure and deploy, and to serve as a code example for the Common Libraries. The mock is available on Github for anyone to use and an up to date version of the mock is deployed at https://de4a-dev-mock.egovlab.eu.

Canonical Evidences

The currently requestable Canonical Evidences in the publicly deployed version. The PersonIdentifier or LegalPersonIdentifier uses the eIDAS identifier format [Origin country]/[Recipient country]/[Identifier] i.e. NL/SE/90000471.

USI pattern specific

For the USI pattern the canonical evidences need to be previewed before the mock DO sends them to the DT. This can be circumvented for testing purposes by requesting a canonical evidence with an A, B, C or D appended to the Identifier, i.e. 53377873WA or 123456789C. The evidence requested will then be sent to the DT after a delay without needing a preview.