Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Nov 7, 2024
2 parents 0277cc5 + 3b78a55 commit 5929b17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ They depend on several other libraries so I suggest you are going for the Maven
* v9.6.0 - 2024-10-16
* Deprecated methods `SMPClientReadOnly.getCompleteServiceGroup(OrNull)` and `getServiceGroupReferenceList(OrNull)` because the underlying APIs are non-standard
* Extracted methods from `ISMPServiceMetadataProvider` into `ISMPExtendedServiceMetadataProvider`
* 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 5929b17

Please sign in to comment.