From 296d842878e530ee819fa2f58012665b76e2e670 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Tue, 30 Apr 2019 11:00:46 +0200 Subject: Add Optional mzs:DeliveryRequest/Config & Validate / Augment It Add Optional "Config" to MZS Schema: - Add mzs:DeliveryRequest/Config Element with a "PerformQueryPersonRequest" node - The config element contains parameters that are interpreted by moa-zs and not forwarded to the ZD - The boolean PerformQueryPersonRequest tells moa-zs if moa-zs should perform a QueryPersonRequest towards the TNVZ. - If config is missing, moa-zs augments the delivery request with parameters from the app's configuartion or the default configuartion Other Changes: - Validate and augment incoming requests with the DeliveryPreprocessor. - Add stub for TlnvzClient. - Remove some leftover ObjectFactory imports (because of the builder they are not needed anymore) Fixes - Fixed incorrect API usage of Messageformat.format: format string needs an index. pom.xml - Add Hamcrest Dependency (for writing more expressive tests) - Add copy constructor to JAXB Builder Testing - Test validation of incoming request - Refactor testcases to improve readability --- pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 9c963c9..a2ba3a5 100644 --- a/pom.xml +++ b/pom.xml @@ -27,6 +27,7 @@ 2.9.3 27.1-jre 1.5 + 1.3 @@ -82,6 +83,13 @@ javax.jws-api ${jwsapi.version} + + org.hamcrest + hamcrest-all + ${hamcrest.version} + test + + @@ -117,11 +125,17 @@ -xjc-immutable -xjc-imm-builder + -xjc-imm-cc ${project.basedir}/src/main/resources/zusemsg/app2zuse_p2.wsdl classpath:wsdl/app2zuse_p2.wsdl + + -xjc-immutable + -xjc-imm-builder + -xjc-imm-cc + -- cgit v1.2.3