Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 12, 2024
2 parents f363226 + 3fadf85 commit 79561a0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public enum EPeppolNetwork implements IHasID <String>, 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;
Expand Down Expand Up @@ -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
* <code>null</code>.
*/
@Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ 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,
EPredefinedDocumentTypeIdentifier.INVOICE_EN16931_PEPPOL_V30,
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 ());
}
}

0 comments on commit 79561a0

Please sign in to comment.