From 11520da12531f7484bc716f6c6284f65d4e5c201 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 7 Jun 2023 08:58:57 +0200 Subject: feat(ernp): switch to new ERnP REST API v2.0.3(2023) that implements "Meldegesetznovelle 2023) --- .../test/clients/ErnpRestClientProductionTest.java | 1 + .../resources/data/ernp/ernp_handbook_example.json | 40 ++++++++++++---------- 2 files changed, 22 insertions(+), 19 deletions(-) (limited to 'modules/authmodule-eIDAS-v2/src/test') diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java index c44fda55..19476f9a 100644 --- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java +++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java @@ -119,6 +119,7 @@ public class ErnpRestClientProductionTest { } @Test + @Ignore @SneakyThrows public void searchWithMdsElga() { final String personalIdentifierFirst = "7cEYWithDEElementsasdfsafsaf4CDVzNT4E7cjkU4VqForjUnit"; diff --git a/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json b/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json index f4485ff7..05cd8afe 100644 --- a/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json +++ b/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json @@ -2,25 +2,27 @@ "person": [ { "type": "Person", - "anschrift": { - "type": "AnschriftInland", - "adressstatus": "XXXXXXXXX", - "codes": { - "gemeindekennziffer": "09988", - "strassenkennziffer": "T80001" - }, - "entityId": 33069800000171092, - "gemeinde": "Testgemeinde", - "gueltigAb": "2011-09-06T11:23:55.306+02:00", - "hausnummer": "99", - "postleitzahl": "0077", - "postort": "Testpostort 77 mit maximalmögl. Längen", - "staat": { - "isoCode3": "AUT", - "name": "Österreich" - }, - "strasse": "Testgasse" - }, + "anschrift": [ + { + "type": "AnschriftInland", + "adressstatus": "XXXXXXXXX", + "codes": { + "gemeindekennziffer": "09988", + "strassenkennziffer": "T80001" + }, + "entityId": 33069800000171092, + "gemeinde": "Testgemeinde", + "gueltigAb": "2011-09-06T11:23:55.306+02:00", + "hausnummer": "99", + "postleitzahl": "0077", + "postort": "Testpostort 77 mit maximalmögl. Längen", + "staat": { + "isoCode3": "AUT", + "name": "Österreich" + }, + "strasse": "Testgasse" + } + ], "entityId": 33069800000171080, "gueltigAb": "2011-09-06T11:23:55.306+02:00", "letzteOperation": { -- cgit v1.2.3