Unexpected parameter property name in /mapping-rules/marc-authority

Description

Overview:
Steps to Reproduce:

  1. Log into some FOLIO environment as User X

  2. Fetch the bib-mapping rules by issuing a GET request to mapping-rules/marc-bib

  3. Search for occurrences of set_identifier_type_id_by_value

  4. Note the parameter "names" that contains a list of names.

  5. Fetch the authority mapping rules by issuing a GET request to /mapping-rules/marc-authority

  6. Search for occurrences of set_identifier_type_id_by_value

Expected Results:

The parameter should follow the same naming convention, having the name "names"
Actual Results:

The parameter is named "name"
Additional Information:
This makes our data migration scripts crash and is an inconsistency. 

 

Also, it would be good to add some documentation on Identifier type mapping here:
https://github.com/folio-org/mod-source-record-manager/blob/master/RuleProcessorApi.md
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Theodor Tolstoy (One-Group.se) March 30, 2023 at 12:54 PM

Thank you !

Valery_Pilko March 30, 2023 at 10:44 AM

Verified on Orchid Bugfest environment - works as expected
See attached screenshots: 

I'm closing this issue.

cc: ,  

Ann-Marie Breaux November 28, 2022 at 8:04 AM

Hi No dev team assigned. I added Spitfire. Please adjust if that's not correct. Thank you!

Theodor Tolstoy (One-Group.se) November 24, 2022 at 10:14 AM

fyi.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Orchid (R1 2023)

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 24, 2022 at 10:11 AM
Updated March 30, 2023 at 12:54 PM
Resolved February 28, 2023 at 8:37 AM
TestRail: Cases
TestRail: Runs