diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | pom.xml | 28 | ||||
-rw-r--r-- | readme.md | 13 | ||||
-rw-r--r-- | src/main/resources/application.yaml | 14 | ||||
-rw-r--r-- | src/main/resources/logback_config.xml | 12 |
5 files changed, 61 insertions, 7 deletions
@@ -3,3 +3,4 @@ moa-zs.ipr moa-zs.iml moa-zs.iws target/ +repository
\ No newline at end of file @@ -17,6 +17,22 @@ <version>2.1.3.RELEASE</version> </parent> + <repositories> + <repository> + <id>MOA</id> + <name>MOA Dependencies</name> + <releases> + <enabled>true</enabled> + <checksumPolicy>ignore</checksumPolicy> + </releases> + <layout>default</layout> + <!-- copy contents of + https://gitlab.iaik.tugraz.at/egiz/eaaf_components/tree/[eaaf-components-version-tag]/eaaf_modules/eaaf_module_moa-sig/repository + into repository/ --> + <url>file://${basedir}/repository</url> + </repository> + </repositories> + <properties> <java.version>11</java.version> <cxf.version>3.3.0</cxf.version> @@ -29,6 +45,8 @@ <immutable-xjc-plugin.version>1.5</immutable-xjc-plugin.version> <jacoco.version>0.8.3</jacoco.version> <egovutils.version>2.0.7-snapshot</egovutils.version> + <eaaf-components.version>1.0.7</eaaf-components.version> + <mzs.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs#</mzs.ns> <mzs.p.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/persondata#</mzs.p.ns> <mzs.wsdl.ns>http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs.wsdl</mzs.wsdl.ns> @@ -98,14 +116,20 @@ <version>${jwsapi.version}</version> </dependency> <!-- egov utils. - checkout https://gitlab.iaik.tugraz.at/egiz/egovutils/commits/2.0.7 and run mvn install --> + checkout https://gitlab.iaik.tugraz.at/egiz/egovutils/commits/[version-tag] and run mvn install --> <dependency> <groupId>at.gv.util</groupId> <artifactId>egovutils</artifactId> <version>${egovutils.version}</version> </dependency> + <!-- eaaf components. + checkout https://gitlab.iaik.tugraz.at/egiz/eaaf_components/commits/[version-tag] and run mvn install--> + <dependency> + <groupId>at.gv.egiz.eaaf</groupId> + <artifactId>eaaf_module_moa-sig</artifactId> + <version>${eaaf-components.version}</version> + </dependency> </dependencies> - <build> <plugins> <!-- spring-boot-maven-plugin --> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<configuration> + <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%5p | %d{dd HH:mm:ss,SSS} | %20.20c | %10t | %m%n</pattern> + </encoder> + </appender> + <root level="WARN"> + <appender-ref ref="stdout"/> + </root> +</configuration> |