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.

Change-log

  • 2021-05-17
    • Updated CanonicalEvidences to the latest version of the test dataset v4.2.
  • 2021-05-11
    • Updated the DO preview mock to support handle preview when not given requestId, and use return url from request object.
  • 2021-05-06
    • Updated to DE4A-Commons 0.1.3
  • 2021-05-04
    • First version of the DO preview mock
    • The USI transfer evidence endpoint is not used for the connector acting as dr during a request. Removed the DR usi transfer evidence endpoint from the mock.
  • 2021-04-26
    • Added the Austrian example CanonicalEvidence for DBA pilot
  • 2021-04-15
    • Change the DataOwner id to separate mock ids from real ids
  • 2021-04-09

    • Support for Kafka logging
    • Changed the T4.2 Canonical Evidence from v0.5 to v0.6
  • 2021-04-07

    • Updated to support the latest version of de4a-iem
    • Added support to build to war instead of jar
  • 2021-03-31

    • Split the interfaces into profiles, allowing them to be run separately.
    • Made the endpoint paths configurable
    • DR can be configured to fill the evidence by making an request to a DO.
    • Updated EvidenceId CompanyRegistration to the full urn urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
  • 2021-03-24

    • Updated to the latest xml-schema definition.
    • Changed the T4.2 Canonical Evidence from v0.4 to v0.5
    • Changed EvidenceId from 'CompanyInfo' to 'CompanyRegistration'
    • Removed the old IDK related endpoints.
    • Updated examples