forked from folio-org/mod-ncip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from indexdata/feature/PR-2062
PR-2062 - include additional request ID in the FOLIO loan note.
- Loading branch information
Showing
10 changed files
with
168 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/test/resources/mockdata/ncip-checkout-null-external-reference-type.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_0/imp1/xsd/ncip_v2_0.xsd"> | ||
<ns1:CheckOutItem> | ||
<ns1:InitiationHeader> | ||
<ns1:FromAgencyId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
</ns1:FromAgencyId> | ||
<ns1:ToAgencyId> | ||
<ns1:AgencyId>other</ns1:AgencyId> | ||
</ns1:ToAgencyId> | ||
<ns1:ApplicationProfileType>EZBORROW</ns1:ApplicationProfileType> | ||
</ns1:InitiationHeader> | ||
<ns1:UserId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:UserIdentifierValue>slnp_one_inst_user</ns1:UserIdentifierValue> | ||
</ns1:UserId> | ||
<ns1:ItemId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:ItemIdentifierValue>tl-a11</ns1:ItemIdentifierValue> | ||
</ns1:ItemId> | ||
<ns1:RequestId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:RequestIdentifierValue>js-test-0015</ns1:RequestIdentifierValue> | ||
</ns1:RequestId> | ||
<ns1:Ext> | ||
<ns1:RequestId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:RequestIdentifierValue>GDFG2343</ns1:RequestIdentifierValue> | ||
</ns1:RequestId> | ||
</ns1:Ext> | ||
</ns1:CheckOutItem> | ||
</ns1:NCIPMessage> |
33 changes: 33 additions & 0 deletions
33
src/test/resources/mockdata/ncip-checkout-null-external-reference-value.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_0/imp1/xsd/ncip_v2_0.xsd"> | ||
<ns1:CheckOutItem> | ||
<ns1:InitiationHeader> | ||
<ns1:FromAgencyId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
</ns1:FromAgencyId> | ||
<ns1:ToAgencyId> | ||
<ns1:AgencyId>other</ns1:AgencyId> | ||
</ns1:ToAgencyId> | ||
<ns1:ApplicationProfileType>EZBORROW</ns1:ApplicationProfileType> | ||
</ns1:InitiationHeader> | ||
<ns1:UserId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:UserIdentifierValue>slnp_one_inst_user</ns1:UserIdentifierValue> | ||
</ns1:UserId> | ||
<ns1:ItemId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:ItemIdentifierValue>tl-a11</ns1:ItemIdentifierValue> | ||
</ns1:ItemId> | ||
<ns1:RequestId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:RequestIdentifierValue>js-test-0015</ns1:RequestIdentifierValue> | ||
</ns1:RequestId> | ||
<ns1:Ext> | ||
<ns1:RequestId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:RequestIdentifierType ns1:Scheme="Schema">ExternReferenz</ns1:RequestIdentifierType> | ||
<ns1:RequestIdentifierValue></ns1:RequestIdentifierValue> | ||
</ns1:RequestId> | ||
</ns1:Ext> | ||
</ns1:CheckOutItem> | ||
</ns1:NCIPMessage> |
26 changes: 26 additions & 0 deletions
26
src/test/resources/mockdata/ncip-checkout-null-request-id-external-reference.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<ns1:NCIPMessage xmlns:ns1="http://www.niso.org/2008/ncip" ns1:version="http://www.niso.org/schemas/ncip/v2_0/imp1/xsd/ncip_v2_0.xsd"> | ||
<ns1:CheckOutItem> | ||
<ns1:InitiationHeader> | ||
<ns1:FromAgencyId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
</ns1:FromAgencyId> | ||
<ns1:ToAgencyId> | ||
<ns1:AgencyId>other</ns1:AgencyId> | ||
</ns1:ToAgencyId> | ||
<ns1:ApplicationProfileType>EZBORROW</ns1:ApplicationProfileType> | ||
</ns1:InitiationHeader> | ||
<ns1:UserId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:UserIdentifierValue>slnp_one_inst_user</ns1:UserIdentifierValue> | ||
</ns1:UserId> | ||
<ns1:ItemId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:ItemIdentifierValue>tl-a11</ns1:ItemIdentifierValue> | ||
</ns1:ItemId> | ||
<ns1:RequestId> | ||
<ns1:AgencyId>relais</ns1:AgencyId> | ||
<ns1:RequestIdentifierValue>js-test-0015</ns1:RequestIdentifierValue> | ||
</ns1:RequestId> | ||
</ns1:CheckOutItem> | ||
</ns1:NCIPMessage> |