[MODOAIPMH-18] Define if record is deleted in SRS Created: 28/Sep/18 Updated: 12/Jun/20 Resolved: 28/Apr/20 |
|
| Status: | Closed |
| Project: | mod-oai-pmh |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 3.0.0 |
| Type: | Story | Priority: | P3 |
| Reporter: | Hkaplanian | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | back-end-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | |||||||||||||||||||||||||||||||||||||||||
| Development Team: | Gulfstream | ||||||||||||||||||||||||||||||||||||||||
| Tester Assignee: | Craig McNally | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
To define if an SRS record is deleted, accept the leader in the MARC record "as is". MARC Leader 05 - Record status will identify what is marked for deletion (Record status equals "d", "s" or "x") and what is not. Also "deleted" field can be used for this purpose (see json example below).
{
"id": "1a03ec27-a5e0-4043-ac9f-c0bfd4ab3220",
"snapshotId": "5143d9ff-ad38-45a9-80d6-c85561227b56",
"matchedId": "1a03ec27-a5e0-4043-ac9f-c0bfd4ab3220",
"generation": 0,
"recordType": "MARC",
"rawRecord": {
"id": "7177455e-8348-4933-994a-f66e66ffb683",
"content": ...MARC record...
},
"parsedRecord": {
"id": "7ad906f2-23b7-4764-839f-08b3a3e702a9",
"content": {
"fields": [
...MARC fields in json format...
],
"leader": "03077dam a2200421 i 4500"
}
},
"deleted": true,
"order": 0,
"externalIdsHolder": {
"instanceId": "0e51a2a1-cb1f-4e3b-8a31-e9448e89275b"
},
"additionalInfo": {
"suppressDiscovery": false
},
"metadata": {
"createdDate": "2020-03-27T10:27:06.921+0000",
"createdByUserId": "de892cf1-bce3-5fdf-b36e-7e825084d799",
"updatedDate": "2020-03-27T10:27:07.493+0000",
"updatedByUserId": "de892cf1-bce3-5fdf-b36e-7e825084d799"
}
}
"updatedDate" field can be used to identify the date of deletion. Acceptance criteria:
|
| Comments |
| Comment by Anastasiia Zakharova [ 28/Apr/20 ] |
|
This ticket is combined with
|