From feaa0a61527f0eb29ce33fb9e1aa1ddb0703779d Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 2 Feb 2022 18:01:06 +0100 Subject: feature(ernp): generate ERnP client from openAPI specification --- eidas_modules/authmodule-eIDAS-v2/pom.xml | 48 ++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) (limited to 'eidas_modules/authmodule-eIDAS-v2/pom.xml') diff --git a/eidas_modules/authmodule-eIDAS-v2/pom.xml b/eidas_modules/authmodule-eIDAS-v2/pom.xml index 5a24b67f..3ee16b0c 100644 --- a/eidas_modules/authmodule-eIDAS-v2/pom.xml +++ b/eidas_modules/authmodule-eIDAS-v2/pom.xml @@ -144,6 +144,16 @@ 2.11.2 compile + + org.openapitools + jackson-databind-nullable + + + + io.swagger.parser.v3 + swagger-parser + + org.bitbucket.b_c jose4j @@ -229,6 +239,9 @@ target/generated-sources/cxf + + target/generated-sources/swagger + @@ -262,7 +275,7 @@ - generate-sources + generate-sources-soap generate-sources ${project.build.directory}/generated/cxf @@ -302,6 +315,39 @@ + + org.openapitools + openapi-generator-maven-plugin + + + generate-sources-json + generate-sources + + false + false + ${project.basedir}/src/main/resources/wsdl/ernp_client/openapi.json + java + ${project.build.directory}/generated/swagger + at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.ernp.api + at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.ernp.model + at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.ernp.invoker + + at.asitplus.eidas.specific.modules.auth.eidas.v2.clients.ernp + true + at.asitplus.eidas.specific.modules.auth.eidas.v2 + true + java8 + jackson + resttemplate + + + + generate + + + + + com.github.spotbugs spotbugs-maven-plugin -- cgit v1.2.3 From 63e7e29f8d2a367c32f0151e9ad93eb86abeb404 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 9 Feb 2022 08:30:22 +0100 Subject: build: exclude generated classes from test-coverage validation --- eidas_modules/authmodule-eIDAS-v2/pom.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'eidas_modules/authmodule-eIDAS-v2/pom.xml') diff --git a/eidas_modules/authmodule-eIDAS-v2/pom.xml b/eidas_modules/authmodule-eIDAS-v2/pom.xml index 3ee16b0c..a3d855bd 100644 --- a/eidas_modules/authmodule-eIDAS-v2/pom.xml +++ b/eidas_modules/authmodule-eIDAS-v2/pom.xml @@ -377,6 +377,7 @@ **/szrservices/* **/generated/cxf/* **at/gv/bmi/namespace/* + **at/asitplus/eidas/specific/modules/auth/eidas/v2/dao/ernp/* -- cgit v1.2.3 From df894a4076abbcb4357509eb453f4c447a8856d5 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 3 Mar 2022 11:42:53 +0100 Subject: chore(ernp): optimize ERnP client based on results from integration test --- eidas_modules/authmodule-eIDAS-v2/pom.xml | 3 --- 1 file changed, 3 deletions(-) (limited to 'eidas_modules/authmodule-eIDAS-v2/pom.xml') diff --git a/eidas_modules/authmodule-eIDAS-v2/pom.xml b/eidas_modules/authmodule-eIDAS-v2/pom.xml index a3d855bd..5f7edef0 100644 --- a/eidas_modules/authmodule-eIDAS-v2/pom.xml +++ b/eidas_modules/authmodule-eIDAS-v2/pom.xml @@ -137,12 +137,9 @@ com.fasterxml.jackson.datatype jackson-datatype-jsr310 - com.fasterxml.jackson.core jackson-databind - 2.11.2 - compile org.openapitools -- cgit v1.2.3