diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-30 11:00:46 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-30 11:00:46 +0200 |
commit | 296d842878e530ee819fa2f58012665b76e2e670 (patch) | |
tree | 45e0078c39b5cdf4f3e8e412f4813e3bca8bd2d6 /pom.xml | |
parent | 9a038cf18d6ebd4c68218c20ebc174b779afa7fa (diff) | |
download | moa-zs-296d842878e530ee819fa2f58012665b76e2e670.tar.gz moa-zs-296d842878e530ee819fa2f58012665b76e2e670.tar.bz2 moa-zs-296d842878e530ee819fa2f58012665b76e2e670.zip |
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
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -27,6 +27,7 @@ <jedisclient.version>2.9.3</jedisclient.version> <guava.version>27.1-jre</guava.version> <immutable-xjc-plugin.version>1.5</immutable-xjc-plugin.version> + <hamcrest.version>1.3</hamcrest.version> </properties> <dependencies> @@ -82,6 +83,13 @@ <artifactId>javax.jws-api</artifactId> <version>${jwsapi.version}</version> </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-all</artifactId> + <version>${hamcrest.version}</version> + <scope>test</scope> + </dependency> + </dependencies> <build> @@ -117,11 +125,17 @@ <extraargs> <extraarg>-xjc-immutable</extraarg> <extraarg>-xjc-imm-builder</extraarg> + <extraarg>-xjc-imm-cc</extraarg> </extraargs> </wsdlOption> <wsdlOption> <wsdl>${project.basedir}/src/main/resources/zusemsg/app2zuse_p2.wsdl</wsdl> <wsdlLocation>classpath:wsdl/app2zuse_p2.wsdl</wsdlLocation> + <extraargs> + <extraarg>-xjc-immutable</extraarg> + <extraarg>-xjc-imm-builder</extraarg> + <extraarg>-xjc-imm-cc</extraarg> + </extraargs> </wsdlOption> </wsdlOptions> </configuration> |