Authority remapping (MODMARCMIG-10)

[MODMARCMIG-8] Create Endpoint for Retrieving MARC Migration Operation by ID Created: 12/Dec/23  Updated: 15/Jan/24  Resolved: 15/Jan/24

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: PNG File MODMARCMIG-8_ECS_central_verified.png     PNG File MODMARCMIG-8_ECS_member_verified.png     PNG File MODMARCMIG-8_snapshot_verified.png    
Issue links:
Gantt End to Start
has to be done after MODMARCMIG-5 POST endpoint: Register new marc-migr... Closed
Relates
relates to UXPROD-4082 Long term solution for applying mappi... In Progress
Sprint: Spitfire Sprint 182
Story Points: 2
Development Team: Spitfire
Release: Quesnelia (R1 2024)
Epic Link: Authority remapping

 Description   

Overview:

This story focuses on the implementation of a new endpoint within the system to retrieve specific MARC migration operations based on their unique identifiers (IDs). The endpoint will enable users to fetch details and status updates related to a particular MARC migration operation using its unique identifier.

Requirements/Scope:

  1. Develop a new endpoint that accepts a unique identifier (ID) as a parameter for retrieving MARC migration operations.
  2. Implement logic to fetch and return details associated with the operation corresponding to the provided ID.

Approach:

  1. Design Endpoint for Operation Retrieval:
    • Create a new endpoint (e.g., GET /marc-migrations/{id}) to handle requests for retrieving specific MARC migration operations by their unique IDs.
  2. Implement Logic for ID-Based Retrieval:
    • Develop backend logic to fetch the operation details based on the provided ID from the database or storage.
    • Ensure the endpoint returns relevant information such as operation type, status, timestamps, or any other pertinent details associated with the identified operation.

Acceptance Criteria:

  • The new endpoint for retrieving MARC migration operations by ID is successfully implemented.
  • Upon calling the endpoint with a valid ID parameter, the system accurately fetches and returns details of the specific operation.
  • The retrieved information includes essential operation details such as type, status, timestamps, or any additional relevant data associated with the identified MARC migration operation.


 Comments   
Comment by Valery_Pilko [ 15/Jan/24 ]

Verified on Snapshot and on ECS-spitfire rancher env - works as expected.
See attached screenshots:
1) Snapshot:

2) ECS rancher - Central tenant - only Shared records are shown:

3) ECS rancher - Member tenant - only Local records are shown:

Generated at Thu Feb 08 22:31:55 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.