From 26e422ff90f2a4fb9d2d25c0b2328b365fe5f0d7 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 11 Dec 2020 16:33:00 +0100 Subject: add 'findSecBugs' plug-in into 'spotBugs' module and solve bugs or exclude false-positive update gitlab-ci configuration to display jUnit test-coverage --- connector/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index 6621fb0f..3c2ddf07 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -156,6 +156,15 @@ + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + checks/spotbugs-exclude.xml + + + -- cgit v1.2.3 From d8a6a3a0fa27f6ea487c9fc4006f705383780917 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 21 Dec 2020 18:09:50 +0100 Subject: switch to eIDAS Ref Impl. v2.5 --- connector/pom.xml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index 3c2ddf07..dad27b38 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -110,15 +110,6 @@ ms_connector - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - maven-surefire-plugin -- cgit v1.2.3 From 6b098e7070dedb5692325f6d330a20de696b9edc Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 22 Dec 2020 15:36:42 +0100 Subject: switch from Spring to Spring-Boot --- connector/pom.xml | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 86 insertions(+), 6 deletions(-) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index dad27b38..7fbc2a36 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -49,7 +49,15 @@ authmodule-eIDAS-v2 - + + + org.springframework.boot + spring-boot-starter-actuator + + + de.codecentric + spring-boot-admin-starter-client + org.springframework spring-webmvc @@ -74,11 +82,10 @@ org.apache.commons commons-collections4 - - javax.servlet - javax.servlet-api - provided - + + org.hibernate.validator + hibernate-validator + @@ -104,8 +111,63 @@ test test-jar + + org.springframework.boot + spring-boot-starter-tomcat + test + + + at.gv.egiz.eaaf + eaaf-springboot-utils + test + + + + + default + + true + + default + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + + javax.servlet + javax.servlet-api + provided + + + + + embbededTomcat + + + org.springframework.boot + spring-boot-starter-web + + + at.gv.egiz.eaaf + eaaf-springboot-utils + + + + + + ms_connector @@ -125,6 +187,24 @@ + + org.springframework.boot + spring-boot-maven-plugin + 2.2.6.RELEASE + + true + + + + + + build-info + repackage + + + + + org.apache.maven.plugins maven-assembly-plugin -- cgit v1.2.3 From cd0699b3ea0849214b4c35869f9eca431d00790a Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 23 Dec 2020 16:07:15 +0100 Subject: add build profiles to select Spring-Boot with or without embbeded Tomcat --- connector/pom.xml | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index 7fbc2a36..6d3cad33 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -33,12 +33,6 @@ at.gv.egiz.eaaf eaaf_module_pvp2_idp - - - org.slf4j - log4j-over-slf4j - - at.asitplus.eidas.ms_specific @@ -54,6 +48,16 @@ org.springframework.boot spring-boot-starter-actuator + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + de.codecentric spring-boot-admin-starter-client @@ -74,10 +78,6 @@ org.slf4j slf4j-api - - org.slf4j - slf4j-log4j12 - org.apache.commons commons-collections4 @@ -133,18 +133,7 @@ default - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-tomcat - - - - + javax.servlet javax.servlet-api @@ -157,8 +146,8 @@ org.springframework.boot - spring-boot-starter-web - + spring-boot-starter-tomcat + at.gv.egiz.eaaf eaaf-springboot-utils -- cgit v1.2.3 From f06839fb716ff61bf94a32f8e23e3f313245f7e7 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Sat, 26 Dec 2020 17:45:38 +0100 Subject: add jUnit test that simulates a full eIDAS authentication --- connector/pom.xml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index 6d3cad33..03492a5d 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -99,6 +99,11 @@ spring-test test + + org.springframework.boot + spring-boot-starter-test + test + at.gv.egiz.eaaf eaaf_core_utils @@ -111,6 +116,11 @@ test test-jar + + at.gv.egiz.eaaf + eaaf_module_pvp2_sp + test + org.springframework.boot spring-boot-starter-tomcat @@ -121,7 +131,23 @@ eaaf-springboot-utils test - + + com.github.skjolber + mockito-soap-cxf + test + + + org.powermock + powermock-module-junit4 + 2.0.7 + test + + + org.powermock + powermock-api-mockito2 + 2.0.7 + test + -- cgit v1.2.3 From 278c8a6d1f0518dc9d0875dbec84614b19800d5d Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 7 Jan 2021 20:03:54 +0100 Subject: switch from custom monitoring to Spring-Actuator healthchecks --- connector/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index 03492a5d..2484e542 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -148,6 +148,11 @@ 2.0.7 test + + com.squareup.okhttp3 + mockwebserver + test + -- cgit v1.2.3 From a5d2e6d6fa2c75ae8211c818537524e8c54c3129 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 11 Jan 2021 15:15:03 +0100 Subject: fix some minor incompatibilities between AuthHandler and MS-Connector in E-ID mode --- connector/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connector/pom.xml') diff --git a/connector/pom.xml b/connector/pom.xml index 2484e542..36a6d9df 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -12,7 +12,7 @@ at.asitplus.eidas.ms_specific ms_specific_connector war - Connector Maven Webapp + MS-specific eIDAS Service http://maven.apache.org -- cgit v1.2.3