From cef481f2ad56764f71e8b0f1d4340b8af0686a96 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Tue, 28 May 2019 14:43:07 +0200 Subject: Add Moa Sig Dependency & Configure Logging & Init Readme - Reduce logger output of all contexts to ERROR and WARN Statements; Moazs can log to INFO. Reason: Including moa-sig causes lots of DEBUG / TRACE logging . - Add Repository that points to file://${basedir}/repository. - Add guide how to compile project (I dont check moa-sig depenendcies into repository but explain how to retrieve dependencies manually in readme.md.) --- .gitignore | 1 + pom.xml | 28 ++++++++++++++++++++++++++-- readme.md | 13 +++++++++++++ src/main/resources/application.yaml | 14 +++++++++----- src/main/resources/logback_config.xml | 12 ++++++++++++ 5 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 readme.md create mode 100644 src/main/resources/logback_config.xml diff --git a/.gitignore b/.gitignore index 25fb25a..92c8717 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ moa-zs.ipr moa-zs.iml moa-zs.iws target/ +repository \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9359744..ee3f5de 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,22 @@ 2.1.3.RELEASE + + + MOA + MOA Dependencies + + true + ignore + + default + + file://${basedir}/repository + + + 11 3.3.0 @@ -29,6 +45,8 @@ 1.5 0.8.3 2.0.7-snapshot + 1.0.7 + http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs# http://reference.e-government.gv.at/namespace/zustellung/mzs/persondata# http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs.wsdl @@ -98,14 +116,20 @@ ${jwsapi.version} + checkout https://gitlab.iaik.tugraz.at/egiz/egovutils/commits/[version-tag] and run mvn install --> at.gv.util egovutils ${egovutils.version} + + + at.gv.egiz.eaaf + eaaf_module_moa-sig + ${eaaf-components.version} + - diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..3bcb3d0 --- /dev/null +++ b/readme.md @@ -0,0 +1,13 @@ +# MOA ZS + +## Prepare Repo + +Some dependencies are not in the mvn central repo. You need to install +those dependencies to your local maven repository with `mvn install`. +Check `pom.xml` and follow the instructions. + +## Compile & Test + +``` +mvn test +``` diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index d43e7dc..1a432c2 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -52,17 +52,21 @@ delivery-request-configuration-profiles: key-store-profiles: msg-key-store: - - - ## If set to false, moa zs ignores an incomplete default DeliveryRequest-configuration ## profile and continues startup. See 'delivery-request-configuration-profiles'. ## Default value: true # verify-completeness-of-default-delivery-request-configuration: false - +## todo: fix this # ssl.keystore.file=../keys/www.egiz.gv.at.p12 # egovutil.mis.ssl.keystore.password=OSgmSn! # egovutil.mis.ssl.keystore.type=PKCS12 # egovutil.mis.ssl.trustall=true -# egovutil.mis.ssl.laxhostnameverification=false \ No newline at end of file +# egovutil.mis.ssl.laxhostnameverification=false + +### logging +logging: + level: + root: WARN + org.springframework: WARN + at.gv.egiz.moazs: INFO diff --git a/src/main/resources/logback_config.xml b/src/main/resources/logback_config.xml new file mode 100644 index 0000000..03c3834 --- /dev/null +++ b/src/main/resources/logback_config.xml @@ -0,0 +1,12 @@ + + + + + + %5p | %d{dd HH:mm:ss,SSS} | %20.20c | %10t | %m%n + + + + + + -- cgit v1.2.3