Skip to content

Commit

Permalink
Updated the DBNAlliance Pilot domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Nov 6, 2024
1 parent 9f76c49 commit 3b78a55
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ They depend on several other libraries so I suggest you are going for the Maven

# News and noteworthy

* v9.5.2 - work in progress
* Updated the DBNAlliance Pilot domain name
* v9.5.1 - 2024-08-11
* Make sure that wildcard lookups including a "*" in the Customization ID will always fail
* Added additional `SMPClientReadOnly.getWildcardServiceMetadataOrNull` overload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public enum EDBNASML
{
PRODUCTION ("sml.dbnalliance.net."),
TEST ("sml.dbnalliance.com."),
PILOT ("sml.digitalbusinessnetworks.info.");
PILOT ("sml.dbnalliancepilot.net.");

private final String m_sZoneName;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,12 @@ public void testGetSMPURIOfAvalara () throws SMPDNSResolutionException
final URI x = DBNAURLProviderSMP.INSTANCE.getSMPURIOfParticipant (aPI, EDBNASML.TEST.getZoneName ());
assertEquals ("https://einvoicing.qa.avalara.io/", x.toString ());
}

@Test
public void testGetSMPURIOfPilotSMP () throws SMPDNSResolutionException
{
final SimpleParticipantIdentifier aPI = new SimpleParticipantIdentifier ("DUNS", "556678558");
final URI x = DBNAURLProviderSMP.INSTANCE.getSMPURIOfParticipant (aPI, EDBNASML.PILOT.getZoneName ());
assertEquals ("https://smp.dbnalliancepilot.net/", x.toString ());
}
}

0 comments on commit 3b78a55

Please sign in to comment.