Authority remapping
(MODMARCMIG-10)
|
|
| Status: | Closed |
| Project: | mod-marc-migrations |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 1.0.0 | Parent: | Authority remapping |
| Type: | Story | Priority: | P3 |
| Reporter: | Pavlo Smahin | Assignee: | Pavlo Smahin |
| Resolution: | Done | Votes: | 0 |
| Labels: | back-end, epam-spitfire | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue links: |
|
||||||||||||||||||||
| Sprint: | Spitfire Sprint 181 | ||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||
| Development Team: | Spitfire | ||||||||||||||||||||
| Release: | Quesnelia (R1 2024) | ||||||||||||||||||||
| Epic Link: | Authority remapping | ||||||||||||||||||||
| Description |
|
Overview: This story revolves around the implementation of a POST endpoint within the system to register a new MARC migration operation. The endpoint facilitates the registration of a migration operation specifically for the "AUTHORITY" entity type, focusing on "REMAPPING." Requirements/Scope:
Request Body Example (For POST /marc-migrations):
{
"entityType": {
"type": "string",
"enum": ["AUTHORITY"]
},
"operationType": {
"type": "string",
"enum": ["REMAPPING", "IMPORT"]
}
}
Response Body Example (After Successful Registration):
{
"id": {
"type": "uuid"
},
"userId": {
"type": "uuid"
},
"entityType": {
"type": "string",
"enum": [
"AUTHORITY"
]
},
"operationType": {
"type": "string",
"enum": [
"REMAPPING",
"IMPORT"
]
},
"status": {
"type": "string",
"enum": [
"NEW",
"DATA_MAPPING",
"DATA_MAPPING_COMPLETED",
"DATA_MAPPING_FAILED",
"DATA_SAVING",
"DATA_SAVING_COMPLETED",
"DATA_SAVING_FAILED"
]
},
"total_num_of_records": {
"type": "integer"
},
"processed_num_of_records": {
"type": "integer"
},
"start_time_mapping": {
"type": "string",
"format": "date-time"
},
"end_time_mapping": {
"type": "string",
"format": "date-time"
},
"start_time_saving": {
"type": "string",
"format": "date-time"
},
"end_time_saving": {
"type": "string",
"format": "date-time"
}
}
Approach:
Acceptance Criteria:
|
| Comments |
| Comment by Valery_Pilko [ 05/Jan/24 ] |
|
Verified on Snapshot and on ECS-spitfire rancher env - works as expected. |