Difference between revisions of "Mock"

From DE4A
Jump to navigation Jump to search
m
m (Table lines incorrectly said Moving Abroad instead of Studying Abroad)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category:wip]]
 
[[Category:wip]]
[[Category:WP 5]]
+
[[Category:WP5]]
  
 
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 [https://github.com/de4a-wp5/de4a-connector-mock Github] for anyone to use and an up to date version of the mock is deployed at https://de4a-dev-mock.egovlab.eu.
 
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 [https://github.com/de4a-wp5/de4a-connector-mock Github] for anyone to use and an up to date version of the mock is deployed at https://de4a-dev-mock.egovlab.eu.
Line 17: Line 17:
 
! style="width:3em;" |Pilot
 
! style="width:3em;" |Pilot
 
! style="width:20em;" |Description
 
! style="width:20em;" |Description
 +
|-
 +
|???
 +
|Bundesministerium Fuer Digitalisierung Und Wirtschaftsstandort
 +
|iso6523-actorid-upis::9999:AT000000271
 +
|AT
 +
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
 +
|[[Doing Business Abroad Pilot|DBA]]
 +
|A DBA pilot example Canonical Evidence
 
|-
 
|-
 
|90000471
 
|90000471
 
|Chamber of Commerce of Netherlands
 
|Chamber of Commerce of Netherlands
|iso6523-actorid-upis::9991:NL990000106
+
|iso6523-actorid-upis::9999:NL990000106
 
|NL
 
|NL
 
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
 
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
|[[Doing Business Abroad Pilot]]
+
|[[Doing Business Abroad Pilot|DBA]]
 
|A DBA pilot example Canonical Evidence
 
|A DBA pilot example Canonical Evidence
 
|-
 
|-
 
|5591674170
 
|5591674170
 
|Bolagsverket
 
|Bolagsverket
|iso6523-actorid-upis::9991:SE000000013
+
|iso6523-actorid-upis::9999:SE000000013
 
|SE
 
|SE
 
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
 
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
|[[Doing Business Abroad Pilot]]
+
|[[Doing Business Abroad Pilot|DBA]]
 
|A DBA pilot example Canonical Evidence
 
|A DBA pilot example Canonical Evidence
 
|-
 
|-
 
|J40/12487/1998
 
|J40/12487/1998
 
|OFICIUL NATIONAL AL REGISTRULUI COMERTULUI
 
|OFICIUL NATIONAL AL REGISTRULUI COMERTULUI
|iso6523-actorid-upis::9991:RO000000006
+
|iso6523-actorid-upis::9999:RO000000006
 
|RO
 
|RO
 
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
 
|urn:de4a-eu:CanonicalEvidenceType::CompanyRegistration
|[[Doing Business Abroad Pilot]]
+
|[[Doing Business Abroad Pilot|DBA]]
 
|A DBA pilot example Canonical Evidence
 
|A DBA pilot example Canonical Evidence
 +
|-
 +
|53377873W
 +
|Secretaría General de Administración Digital
 +
|iso6523-actorid-upis::9999:ESS2833002E
 +
|ES
 +
|urn:de4a-eu:CanonicalEvidenceType::HigherEducationDiploma
 +
|[[Studying Abroad Pilot|SA]]
 +
|A Studying Abroad Pilot example Canonical Evidence
 +
|-
 +
|123456789
 +
|Portuguese IST, University of Lisbon
 +
|iso6523-actorid-upis::9999:PT990000101
 +
|PT
 +
|urn:de4a-eu:CanonicalEvidenceType::HigherEducationDiploma
 +
|[[Studying Abroad Pilot|SA]]
 +
|A Studying Abroad Pilot example Canonical Evidence
 +
|-
 +
|123456
 +
|Ministrstvo za Izobrazevanje, Znanost in Sport (Ministry of Education, Science and Sport)
 +
|iso6523-actorid-upis::9999:SI000000016
 +
|SI
 +
|urn:de4a-eu:CanonicalEvidenceType::HigherEducationDiploma
 +
|[[Studying Abroad Pilot|SA]]
 +
|A Studying Abroad Pilot example Canonical Evidence
 +
|}
 +
 +
=== 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.
 +
{| class="wikitable collapsible collapsed" style="text-align: left;margin:0px"
 +
|-
 +
! style="width:5em;" |Suffix
 +
! style="width:20em;" |Delay
 +
|-
 +
|A
 +
|Immediate
 +
|-
 +
|B
 +
|5 sec
 +
|-
 +
|C
 +
|40 sec
 +
|-
 +
|D
 +
|240 sec
 
|}
 
|}
  
 
{{#github:CHANGELOG.md|de4a-wp5/de4a-connector-mock}}
 
{{#github:CHANGELOG.md|de4a-wp5/de4a-connector-mock}}

Latest revision as of 12:41, 10 August 2021


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.