Mapping profile - transformations - retrieve field names
Description
Environment
Potential Workaround
Attachments
defines
has to be done before
relates to
Checklist
hideTestRail: Results
Activity

Andrii Novytskyi August 6, 2020 at 1:05 PM
Verified on folio-snapshot-load:
Make a call to retrieve fields:
curl --location --request GET 'https://folio-snapshot-load-okapi.aws.indexdata.com:443/data-export/transformationFields' \
--header 'Content-Type: application/json' \
--header 'x-okapi-token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkaWt1X2FkbWluIiwidXNlcl9pZCI6ImQyMDk0ZWNlLTJmMmYtNWY1OC1hMGJiLTMzMWMxYjQ3MjNjNSIsImlhdCI6MTU5NjcxOTAzMSwidGVuYW50IjoiZGlrdSJ9.r4AmfjhBHP6N5UpuOFHFKDv59OP-LROJCtVdX2MMZnM' \
--header 'X-Okapi-Tenant: diku' \
--data-raw ''
The response status is: 200OK
Checked that response contains fields:

Magda Zacharska July 13, 2020 at 1:07 PM
I'm concerned that if the list will come from the backend, it will not be possible to localize the names - this should be discussed with FE and BE developers.

Magda Zacharska June 17, 2020 at 1:16 AM
Removing estimates as the scope for Q3 changed

Kruthi Vuppala May 13, 2020 at 2:49 PM
Note: We agreed that as there are no dynamic fields to be shown on UI, the list will be hardcoded on UI for Q2. We will revisit the approach for Q3

Magda Zacharska May 7, 2020 at 1:22 PM
Review the estimation during the planning
Details
Assignee
Andrii NovytskyiAndrii NovytskyiReporter
Magda ZacharskaMagda ZacharskaTester Assignee
Magda ZacharskaMagda ZacharskaLabels
Priority
P3Story Points
5Sprint
NoneDevelopment Team
ConcordeFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee

Reporter

Tester Assignee

As a librarian working on the mapping profile I would like to see the fields names to which transformation can be applied in mapping profile
Given: the mapping profile transformation
When: field names required
Then: list all the field names that the transformation could be applied to
Approach
Create a GET API that the UI can hit which returns all the list for fields corresponding to Instances, holdings, items, that a mapping transformation can be applied to.
This story just covers creating the API and adding 1-2 fields, handling complex fields which need to be generated is handled in separate stories
Acceptance Criteria:
Provide GET API that returns all the transformations
Write Unit tests
Write API tests