From 8138cb8456628342d23a5c9ed5b8c2c625e30ef8 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Wed, 11 Dec 2024 17:06:57 +0100 Subject: [PATCH 1/3] Fixed URL --- .../java/com/helger/peppol/servicedomain/EPeppolNetwork.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/peppol-commons/src/main/java/com/helger/peppol/servicedomain/EPeppolNetwork.java b/peppol-commons/src/main/java/com/helger/peppol/servicedomain/EPeppolNetwork.java index 52314ca8..13551a14 100644 --- a/peppol-commons/src/main/java/com/helger/peppol/servicedomain/EPeppolNetwork.java +++ b/peppol-commons/src/main/java/com/helger/peppol/servicedomain/EPeppolNetwork.java @@ -41,7 +41,7 @@ public enum EPeppolNetwork implements IHasID , IHasDisplayName /** * Peppol Production Network */ - PRODUCTION ("prod", "Peppol Production Network", "https://test-directory.peppol.eu", ESML.DIGIT_PRODUCTION); + PRODUCTION ("prod", "Peppol Production Network", "https://directory.peppol.eu", ESML.DIGIT_PRODUCTION); private final String m_sID; private final String m_sDisplayName; @@ -74,7 +74,8 @@ public String getDisplayName () } /** - * @return The URL of the Peppol Directory for this network stage. Never + * @return The URL of the Peppol Directory for this network stage. Ends with + * the domain name and without a trailing slash. Never * null. */ @Nonnull From 38d25468540710c42152b24cfa76596a1ec83820 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Wed, 11 Dec 2024 17:12:12 +0100 Subject: [PATCH 2/3] Only deploy Java 11 build --- .github/workflows/maven-publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 1d723ce9..b9a3b54a 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -54,6 +54,11 @@ jobs: - name: Publish to the Maven Central Repository run: mvn --batch-mode --update-snapshots deploy + if: matrix.Java == 11 env: MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + + - name: Maven Build + run: mvn --batch-mode --update-snapshots install + if: matrix.Java != 11 From 3fadf85437be91f057d9c6451ed5e96d52462479 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Wed, 11 Dec 2024 17:13:25 +0100 Subject: [PATCH 3/3] Adopted to new certificates --- .../SMPClientPredefinedEndpointAddressFuncTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/peppol-smp-client/src/test/java/com/helger/smpclient/peppol/SMPClientPredefinedEndpointAddressFuncTest.java b/peppol-smp-client/src/test/java/com/helger/smpclient/peppol/SMPClientPredefinedEndpointAddressFuncTest.java index 161d330c..d6b56869 100644 --- a/peppol-smp-client/src/test/java/com/helger/smpclient/peppol/SMPClientPredefinedEndpointAddressFuncTest.java +++ b/peppol-smp-client/src/test/java/com/helger/smpclient/peppol/SMPClientPredefinedEndpointAddressFuncTest.java @@ -99,8 +99,8 @@ public void testGetEndpointCertificate () throws Exception EPredefinedProcessIdentifier.BIS3_BILLING, ESMPTransportProfile.TRANSPORT_PROFILE_PEPPOL_AS4_V2); assertNotNull (aEndpointCertificate); - // Updated January 2023 - assertEquals ("152341228706602505025590793450797266431", aEndpointCertificate.getSerialNumber ().toString ()); + // Updated December 2024 + assertEquals ("38982941322949190188120289136764319632", aEndpointCertificate.getSerialNumber ().toString ()); aEndpointCertificate = _createSMPClient (PI_AT_PROD, ESML.DIGIT_PRODUCTION).getEndpointCertificate (PI_AT_PROD, @@ -108,7 +108,7 @@ public void testGetEndpointCertificate () throws Exception EPredefinedProcessIdentifier.BIS3_BILLING, ESMPTransportProfile.TRANSPORT_PROFILE_PEPPOL_AS4_V2); assertNotNull (aEndpointCertificate); - // Updated January 2023 - assertEquals ("77038032225135650189758879427977996263", aEndpointCertificate.getSerialNumber ().toString ()); + // Updated December 2024 + assertEquals ("17106555918040013827311785452115907772", aEndpointCertificate.getSerialNumber ().toString ()); } }