From 9aeed0769e4376c8d032fc06102f9242b8e5e1fd Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sun, 21 Jul 2024 02:28:38 +0000 Subject: [PATCH 01/29] Update dependency org.apache.maven.plugins:maven-site-plugin to v4.0.0-M16 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index c98fc9d..896862d 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -90,7 +90,7 @@ org.apache.maven.plugins maven-site-plugin - 4.0.0-M15 + 4.0.0-M16 org.apache.maven.plugins From b9f8a597518c1525c87cee20158bbf082124cf97 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sun, 21 Jul 2024 02:28:39 +0000 Subject: [PATCH 02/29] Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.8.0 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index c98fc9d..bbdc318 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -143,7 +143,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.7.0 + 3.8.0 attach-javadocs From 0635abd78ba95d5ca77d5192f5330e5b8598818f Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sat, 27 Jul 2024 02:24:46 +0000 Subject: [PATCH 03/29] Update net.sourceforge.pmd to v7.4.0 --- pom.xml | 4 ++-- template-placeholder/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index d15d6dc..cea11b4 100644 --- a/pom.xml +++ b/pom.xml @@ -82,12 +82,12 @@ net.sourceforge.pmd pmd-core - 7.3.0 + 7.4.0 net.sourceforge.pmd pmd-java - 7.3.0 + 7.4.0 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index 3c96888..a6011a3 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -284,12 +284,12 @@ net.sourceforge.pmd pmd-core - 7.3.0 + 7.4.0 net.sourceforge.pmd pmd-java - 7.3.0 + 7.4.0 From 99c8493f177d982cf44976e2aa2129513af46573 Mon Sep 17 00:00:00 2001 From: JohannesRabauer Date: Tue, 6 Aug 2024 07:31:03 +0200 Subject: [PATCH 04/29] Fixed mainClass path --- bzst-dip-java-client-demo/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzst-dip-java-client-demo/pom.xml b/bzst-dip-java-client-demo/pom.xml index 073d671..cd7df68 100644 --- a/bzst-dip-java-client-demo/pom.xml +++ b/bzst-dip-java-client-demo/pom.xml @@ -26,7 +26,7 @@ UTF-8 UTF-8 - software.xdev.bzst.dip.client.Application + software.xdev.Application From d88dcfb3eed121f05d095afa3a2ad42c00555920 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Mon, 12 Aug 2024 15:01:43 +0000 Subject: [PATCH 05/29] Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.5 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index a6011a3..e603ab0 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -199,7 +199,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.4 + 3.2.5 sign-artifacts From ae41533919a32ed17ac22c629d0576d1f9bbe175 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sun, 18 Aug 2024 02:26:34 +0000 Subject: [PATCH 06/29] Update dependency maven to v3.9.9 --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index e56bc18..4d624fa 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,4 +14,4 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip From f247c9acbad11e1b6d7ed9f3c0d913ac631d60f9 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Thu, 22 Aug 2024 02:26:24 +0000 Subject: [PATCH 07/29] Update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.7.0 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index a6011a3..5400694 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -95,7 +95,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.6.2 + 3.7.0 From 2f8e6e26ae33d11a0597a5f2878423f5761a71c1 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Fri, 23 Aug 2024 02:26:15 +0000 Subject: [PATCH 08/29] Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.5.0 --- pom.xml | 2 +- template-placeholder/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index cea11b4..7311976 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.4.0 + 3.5.0 com.puppycrawl.tools diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index a6011a3..1e7c935 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -242,7 +242,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.4.0 + 3.5.0 com.puppycrawl.tools From 5cf7f3f1c0b5567e7f5797f8f1a16c4ca54ab1d0 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Fri, 23 Aug 2024 02:26:16 +0000 Subject: [PATCH 09/29] Update dependency org.apache.maven.plugins:maven-jxr-plugin to v3.5.0 --- pom.xml | 2 +- template-placeholder/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index cea11b4..d5f11c8 100644 --- a/pom.xml +++ b/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-jxr-plugin - 3.4.0 + 3.5.0 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index a6011a3..4e1a3cc 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -301,7 +301,7 @@ org.apache.maven.plugins maven-jxr-plugin - 3.4.0 + 3.5.0 From fdd3d611a02fe75d6eb0d03573dc862437b378ea Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Mon, 26 Aug 2024 02:27:01 +0000 Subject: [PATCH 10/29] Update dependency com.puppycrawl.tools:checkstyle to v10.18.0 --- pom.xml | 2 +- template-placeholder/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index cea11b4..559e3c0 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ com.puppycrawl.tools checkstyle - 10.17.0 + 10.18.0 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index a6011a3..989286a 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -247,7 +247,7 @@ com.puppycrawl.tools checkstyle - 10.17.0 + 10.18.0 From ca025085f1b5302d0251ff6386ebacea52dc0850 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Wed, 28 Aug 2024 02:27:15 +0000 Subject: [PATCH 11/29] Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.10.0 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index 9f9e034..0abe26e 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -143,7 +143,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.8.0 + 3.10.0 attach-javadocs From 409f50d453be93f747e55b02f3d100452f335a50 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Wed, 28 Aug 2024 02:27:16 +0000 Subject: [PATCH 12/29] Update dependency org.apache.maven.plugins:maven-pmd-plugin to v3.25.0 --- pom.xml | 2 +- template-placeholder/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f13d4f4..421afd4 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ org.apache.maven.plugins maven-pmd-plugin - 3.24.0 + 3.25.0 true true diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index 9f9e034..8f3bbba 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -272,7 +272,7 @@ org.apache.maven.plugins maven-pmd-plugin - 3.24.0 + 3.25.0 true true From e88198c483ec4863ea349829acbdc89d10eb49bb Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sat, 31 Aug 2024 02:27:43 +0000 Subject: [PATCH 13/29] Update dependency com.puppycrawl.tools:checkstyle to v10.18.1 --- pom.xml | 2 +- template-placeholder/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 421afd4..f58e4f6 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ com.puppycrawl.tools checkstyle - 10.18.0 + 10.18.1 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index e9e06ad..1dbf7b0 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -247,7 +247,7 @@ com.puppycrawl.tools checkstyle - 10.18.0 + 10.18.1 From 221053a1c1b6d8adc94e58e04ebdab04c77561ee Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sat, 31 Aug 2024 02:27:44 +0000 Subject: [PATCH 14/29] Update net.sourceforge.pmd to v7.5.0 --- pom.xml | 4 ++-- template-placeholder/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 421afd4..3fe9409 100644 --- a/pom.xml +++ b/pom.xml @@ -82,12 +82,12 @@ net.sourceforge.pmd pmd-core - 7.4.0 + 7.5.0 net.sourceforge.pmd pmd-java - 7.4.0 + 7.5.0 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index e9e06ad..a7e69a6 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -284,12 +284,12 @@ net.sourceforge.pmd pmd-core - 7.4.0 + 7.5.0 net.sourceforge.pmd pmd-java - 7.4.0 + 7.5.0 From 75f839e8d25a3dc3079102aa79f7e073a8bcde6b Mon Sep 17 00:00:00 2001 From: Alex B <45384811+AB-xdev@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:37:58 +0200 Subject: [PATCH 15/29] Fix sonar PR detection --- .github/workflows/sonar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 7824917..b38f0d8 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -11,7 +11,7 @@ on: - '.idea/**' - 'assets/**' pull_request: - types: [opened, synchronize, reopened] + branches: [ develop ] paths-ignore: - '**.md' - '.config/**' From 2bcb4a61f538a3c53ca56bce2f126cde5bd2eff2 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sun, 15 Sep 2024 02:36:42 +0000 Subject: [PATCH 16/29] Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.6 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index b7475cf..dce6e13 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -199,7 +199,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.5 + 3.2.6 sign-artifacts From 4ea5cdaa47c35fd66de44e925fd4a1b7db5b3394 Mon Sep 17 00:00:00 2001 From: Alex B <45384811+AB-xdev@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:23:03 +0200 Subject: [PATCH 17/29] Update README.md Improve formatting + Fix broken link --- README.md | 50 ++++++++++++++------------------------------------ 1 file changed, 14 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 5805c73..cdacf40 100644 --- a/README.md +++ b/README.md @@ -8,37 +8,24 @@ # bzst-dip-java-client -Client for using -the [Mass data transmission DIP (mass data -interface)](https://www.bzst.de/EN/Businesses/CESOP/electronic_data_transmission/electronic_data_transmission_node.html#js-toc-entry1). +Client for using the [Mass data transmission DIP (mass data interface)](https://www.bzst.de/EN/Businesses/CESOP/electronic_data_transmission/electronic_data_transmission_node.html#js-toc-entry1). -The BZSt (Bundeszentralamt für Steuern / Federal Central Tax Office) provides the Digital Inbox (DIP) as a service -for payment service providers to transmit financial data. +The BZSt (Bundeszentralamt für Steuern / Federal Central Tax Office) provides the Digital Inbox (DIP) as a service for payment service providers to transmit financial data. -Clients need to register / login -at [BZSt online.portal](https://www.bzst.de/DE/Service/Portalinformation/Massendaten/DIP/dip.html?nn=68828) -through [Elster](https://www.elster.de/elsterweb/start), [BundID](https://id.bund.de/de) -or [BZSt Online-Portal (BOP)](https://www.elster.de/bportal/start). +Clients need to register / login at [BZSt online.portal](https://www.bzst.de/DE/Service/Portalinformation/Massendaten/DIP/dip.html?nn=68828) through [Elster](https://www.elster.de/elsterweb/start), [BundID](https://id.bund.de/de) or [BZSt Online-Portal (BOP)](https://www.elster.de/bportal/start). -See -the [BZSt Information](https://www.bzst.de/EN/Service/Portalinformation/Login/login_node.html) -for more information. +See the [BZSt Information](https://www.bzst.de/EN/Service/Portalinformation/Login/login_node.html) for more information. -*Warning*: **BZSt Online-Portal** (deprecated) is different from **BZSt online.portal**. +> [!NOTE] +> **BZSt Online-Portal** (deprecated) is different from **BZSt online.portal**. ## Rationale We created this client to make it as easy as possible for the developer to use the BZSt DIP. -Through usage of the builder pattern (see [Configuration](#configuration) below), DTOs -and a typesafe data model we ensure high usability and readability. +Through usage of the builder pattern (see [Configuration](#configuration) below), DTOs and a typesafe data model we ensure high usability and readability. -The BZSt -provides [XSD](https://www.bzst.de/SharedDocs/Downloads/DE/Digitale_Plattformbetreiber/amtlicher_datensatz_entwurf) that -define the expected XML structure and -make it possible to generate java -classes ([BZSt Docs](https://www.bzst.de/DE/Unternehmen/Intern_Informationsaustausch/DAC7/Handbuecher/handbuecher.html?nn=127558#js-toc-entry2)). -Our library validates each -request through these XSD find errors before they are sent to the DIP. +The BZSt provides [XSD](https://www.bzst.de/SharedDocs/Downloads/DE/Digitale_Plattformbetreiber/amtlicher_datensatz_entwurf) that define the expected XML structure and make it possible to generate java classes ([BZSt Docs](https://www.bzst.de/DE/Unternehmen/Intern_Informationsaustausch/DAC7/Handbuecher/handbuecher.html?nn=127558#js-toc-entry2)). +Our library validates each request through these XSD find errors before they are sent to the DIP. ## Installation [Installation guide for the latest release](https://github.com/xdev-software/bzst-dip-java-client/releases/latest#Installation) @@ -51,9 +38,7 @@ See the [examples in the demo package](./bzst-dip-java-client-demo/src/main/java For authentification at the BZST you have to create a public- and private-key. -First you have to create a **PEM** file as described on -the [BZST Website](https://www.bzst.de/SharedDocs/Downloads/DE/EOP_BOP/khb_dip.pdf?__blob=publicationFile&v=9) (see -1.7). +First you have to create a **PEM** file as described on the [BZST Website](https://www.bzst.de/DE/Service/Portalinformation/Massendaten/DIP/dip_node.html) (see 1.7). OpenSSL can be downloaded from their [website](https://www.openssl.org/). @@ -67,15 +52,13 @@ Next you have to convert that file to a **PKCS12** file. openssl pkcs12 -export -in cert.pem -inkey key.pem -out certificate.p12 -name "certificate" ``` -The [keytool](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html) is contained in your JDK -installation. +The [keytool](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html) is contained in your JDK installation. ``` keytool -importkeystore -srckeystore certificate.p12 -srcstoretype pkcs12 -destkeystore cert.jks ``` -The password you insert here, along with the file itself must be set in the client configuration. See example -at [app.properties](./bzst-dip-java-client-demo/src/main/resources/app.properties): +The password you insert here, along with the file itself must be set in the client configuration. See example at [app.properties](./bzst-dip-java-client-demo/src/main/resources/app.properties): ``` certificate.keystore.password=SECRET_PASSWORD @@ -101,11 +84,7 @@ client.id=abcd1234-ab12-ab12-ab12-abcdef123456 ### Configuration -The client can be configured through a properties file ( -see [app.properties](./bzst-dip-java-client-demo/src/main/resources/app.properties) -and [ApplicationWithConfigurationFromProperties.java](./bzst-dip-java-client-demo/src/main/java/software/xdev/ApplicationWithConfigurationFromProperties.java)) -or by creating a configuration object ( -see [Application.java](./bzst-dip-java-client-demo/src/main/java/software/xdev/Application.java)). +The client can be configured through a properties file (see [app.properties](./bzst-dip-java-client-demo/src/main/resources/app.properties) and [ApplicationWithConfigurationFromProperties.java](./bzst-dip-java-client-demo/src/main/java/software/xdev/ApplicationWithConfigurationFromProperties.java)) or by creating a configuration object (see [Application.java](./bzst-dip-java-client-demo/src/main/java/software/xdev/Application.java)). ```java public static BzstDipConfiguration createConfiguration() @@ -130,8 +109,7 @@ public static BzstDipConfiguration createConfiguration() ## Support -If you need support as soon as possible, and you can't wait for any pull request, feel free to -use [our support](https://xdev.software/en/services/support). +If you need support as soon as possible, and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support). ## Contributing See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project. From 99e827cd4b2e3f9c47c6ee18b6665c4449a695d3 Mon Sep 17 00:00:00 2001 From: Alex B <45384811+AB-xdev@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:24:12 +0200 Subject: [PATCH 18/29] Update README.md Format --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdacf40..7ea65eb 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ See the [BZSt Information](https://www.bzst.de/EN/Service/Portalinformation/Logi We created this client to make it as easy as possible for the developer to use the BZSt DIP. Through usage of the builder pattern (see [Configuration](#configuration) below), DTOs and a typesafe data model we ensure high usability and readability. -The BZSt provides [XSD](https://www.bzst.de/SharedDocs/Downloads/DE/Digitale_Plattformbetreiber/amtlicher_datensatz_entwurf) that define the expected XML structure and make it possible to generate java classes ([BZSt Docs](https://www.bzst.de/DE/Unternehmen/Intern_Informationsaustausch/DAC7/Handbuecher/handbuecher.html?nn=127558#js-toc-entry2)). +The BZSt provides [XSD](https://www.bzst.de/SharedDocs/Downloads/DE/Digitale_Plattformbetreiber/amtlicher_datensatz_entwurf) that define the expected XML structure and make it possible to generate java classes ([BZSt Docs](https://www.bzst.de/DE/Unternehmen/Intern_Informationsaustausch/DAC7/Handbuecher/handbuecher.html?nn=127558#js-toc-entry2)).
Our library validates each request through these XSD find errors before they are sent to the DIP. ## Installation From 40303d45140e9c23761f8d34c8a4dcabd0fb266a Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Thu, 26 Sep 2024 02:34:18 +0000 Subject: [PATCH 19/29] Update dependency com.mycila:license-maven-plugin to v4.6 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index dce6e13..b43ab12 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -103,7 +103,7 @@ com.mycila license-maven-plugin - 4.5 + 4.6 ${project.organization.url} From 52afc82afa1383dceb1fc069d5a54665574ff37f Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Fri, 27 Sep 2024 10:37:22 +0000 Subject: [PATCH 20/29] Update net.sourceforge.pmd to v7.6.0 --- pom.xml | 4 ++-- template-placeholder/pom.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index ce23a37..91a9617 100644 --- a/pom.xml +++ b/pom.xml @@ -82,12 +82,12 @@ net.sourceforge.pmd pmd-core - 7.5.0 + 7.6.0 net.sourceforge.pmd pmd-java - 7.5.0 + 7.6.0 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index b43ab12..5d5a705 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -284,12 +284,12 @@ net.sourceforge.pmd pmd-core - 7.5.0 + 7.6.0 net.sourceforge.pmd pmd-java - 7.5.0 + 7.6.0
From c0330dd690196d61ae8d2f0617b933b400d5303d Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Sat, 28 Sep 2024 02:32:00 +0000 Subject: [PATCH 21/29] Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.7 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index 5d5a705..4ca51ad 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -199,7 +199,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.6 + 3.2.7 sign-artifacts From 40edee3f6942a2d0498d8b1ea7c5f2a2de509539 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Mon, 30 Sep 2024 02:38:20 +0000 Subject: [PATCH 22/29] Update dependency com.puppycrawl.tools:checkstyle to v10.18.2 --- pom.xml | 2 +- template-placeholder/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 91a9617..035f475 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ com.puppycrawl.tools checkstyle - 10.18.1 + 10.18.2 diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index 5d5a705..571ef91 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -247,7 +247,7 @@ com.puppycrawl.tools checkstyle - 10.18.1 + 10.18.2 From 2ce9319db9fdcdb5b987ea325f45d5089477e75c Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Wed, 2 Oct 2024 02:33:50 +0000 Subject: [PATCH 23/29] Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.10.1 --- template-placeholder/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template-placeholder/pom.xml b/template-placeholder/pom.xml index 5d5a705..c08df71 100644 --- a/template-placeholder/pom.xml +++ b/template-placeholder/pom.xml @@ -143,7 +143,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.10.0 + 3.10.1 attach-javadocs From 19677120b4d32e04a41b3d19089c9431afadd2b2 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Wed, 9 Oct 2024 02:32:36 +0000 Subject: [PATCH 24/29] Update lycheeverse/lychee-action action to v2 --- .github/workflows/broken-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/broken-links.yml b/.github/workflows/broken-links.yml index 96af798..c17c397 100644 --- a/.github/workflows/broken-links.yml +++ b/.github/workflows/broken-links.yml @@ -18,7 +18,7 @@ jobs: - name: Link Checker id: lychee - uses: lycheeverse/lychee-action@v1 + uses: lycheeverse/lychee-action@v2 - name: Find already existing issue id: find-issue From 57bcfc4ec63335126da04aefa18e1bfb3a68cce4 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Tue, 15 Oct 2024 02:33:00 +0000 Subject: [PATCH 25/29] Update dependency org.slf4j:slf4j-api to v2.0.16 --- bzst-dip-java-client/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzst-dip-java-client/pom.xml b/bzst-dip-java-client/pom.xml index 68379cb..07b581e 100644 --- a/bzst-dip-java-client/pom.xml +++ b/bzst-dip-java-client/pom.xml @@ -115,7 +115,7 @@ org.slf4j slf4j-api - 2.0.13 + 2.0.16 com.opencsv From 11a01e990365d6393a355143cdd8c62c7f39f2e5 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Tue, 15 Oct 2024 02:33:03 +0000 Subject: [PATCH 26/29] Update dependency org.apache.logging.log4j:log4j-slf4j2-impl to v2.24.1 --- bzst-dip-java-client-demo/pom.xml | 2 +- bzst-dip-java-client/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bzst-dip-java-client-demo/pom.xml b/bzst-dip-java-client-demo/pom.xml index cd7df68..89ef458 100644 --- a/bzst-dip-java-client-demo/pom.xml +++ b/bzst-dip-java-client-demo/pom.xml @@ -38,7 +38,7 @@ org.apache.logging.log4j log4j-slf4j2-impl - 2.23.1 + 2.24.1 diff --git a/bzst-dip-java-client/pom.xml b/bzst-dip-java-client/pom.xml index 68379cb..ff833f2 100644 --- a/bzst-dip-java-client/pom.xml +++ b/bzst-dip-java-client/pom.xml @@ -138,7 +138,7 @@ org.apache.logging.log4j log4j-slf4j2-impl - 2.23.1 + 2.24.1 test From e4df707c4956b66da9b994b6bfa45a0c04dbcfe0 Mon Sep 17 00:00:00 2001 From: XDEV Renovate Bot Date: Tue, 22 Oct 2024 02:32:23 +0000 Subject: [PATCH 27/29] Update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.8.0 --- bzst-dip-java-client/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzst-dip-java-client/pom.xml b/bzst-dip-java-client/pom.xml index 68379cb..122b798 100644 --- a/bzst-dip-java-client/pom.xml +++ b/bzst-dip-java-client/pom.xml @@ -177,7 +177,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.7.0 + 3.8.0 From c357895a56889bffcb3b5ba26d2eb2a53c20da49 Mon Sep 17 00:00:00 2001 From: Antonio Ledebuhr Date: Thu, 24 Oct 2024 04:13:30 +0200 Subject: [PATCH 28/29] bugfix. while setting identity type, it was previously not possible to be an entity seller --- .../model/message/BzstDipCorrectableReportableSellerType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java b/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java index 9f2151e..19cbbea 100644 --- a/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java +++ b/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java @@ -51,7 +51,7 @@ public CorrectableReportableSellerType toXmlType(final BzstDipConfiguration conf this.vat, this.firstName, this.lastName, - this.birthDate.format(DateTimeFormatter.ISO_LOCAL_DATE), + this.birthDate == null ? "NULL" : this.birthDate.format(DateTimeFormatter.ISO_LOCAL_DATE), this.legalAddress.toXmlType(), this.addressFix.toXmlType(), this.numberOfActivities.toXmlType(), From 6100b3029bc29d2bd5b34117343441b03843f894 Mon Sep 17 00:00:00 2001 From: JohannesRabauer Date: Fri, 25 Oct 2024 07:27:29 +0200 Subject: [PATCH 29/29] Minor refactoring --- CHANGELOG.md | 4 ++++ .../message/BzstDipCorrectableReportableSellerType.java | 6 ++++-- .../dip/client/xmldocument/ReportableSellerCreator.java | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b56b5e6..d5a93bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.0.3 + +* ReportableSellerCreator can now create "Rechtsträger" like a company. + # 1.0.2 * The alias for the private key in the keystore is now configurable ( diff --git a/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java b/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java index 19cbbea..ccc6f27 100644 --- a/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java +++ b/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/model/message/BzstDipCorrectableReportableSellerType.java @@ -49,9 +49,11 @@ public CorrectableReportableSellerType toXmlType(final BzstDipConfiguration conf this.tin.toXmlType(), this.handelsregisternummer, this.vat, - this.firstName, + this.firstName == null ? ReportableSellerCreator.NULL_STRING : this.firstName, this.lastName, - this.birthDate == null ? "NULL" : this.birthDate.format(DateTimeFormatter.ISO_LOCAL_DATE), + this.birthDate == null + ? ReportableSellerCreator.NULL_STRING + : this.birthDate.format(DateTimeFormatter.ISO_LOCAL_DATE), this.legalAddress.toXmlType(), this.addressFix.toXmlType(), this.numberOfActivities.toXmlType(), diff --git a/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/xmldocument/ReportableSellerCreator.java b/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/xmldocument/ReportableSellerCreator.java index 9c2e1f8..2c89103 100644 --- a/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/xmldocument/ReportableSellerCreator.java +++ b/bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client/xmldocument/ReportableSellerCreator.java @@ -50,6 +50,7 @@ public class ReportableSellerCreator { private static final Logger LOGGER = LoggerFactory.getLogger(ReportableSellerCreator.class); + public static final String NULL_STRING = "NULL"; private final BzstDipConfiguration configuration; public ReportableSellerCreator(final BzstDipConfiguration configuration) @@ -337,7 +338,7 @@ private static OrganisationPartyType createOrganisationPartyType( */ public static boolean isNULLAsString(final String checkNULLString) { - return checkNULLString.equals("NULL"); + return checkNULLString.equals(NULL_STRING); } private static OrganisationINType createIN(final String in)