Update of mapping to adjust punctuation handling for 1xx/7xx contributors R2 2023 Poppy release

MODDICORE-347 - Getting issue details... STATUS

Update to the default MARC Bib-to-Instance MAP:

  • Update mapping rules for the classification field to adjust punctuation handling for contributor name.

Script for updating such mapping:  MODDICORE-355 - Getting issue details... STATUS

Steps:

  1. If library tenant is using default mapping rules with NO changes (no customizations), then call PUT  /mapping-rules/marc-bib/restore endpoint
  2. If library tenant is using default mapping rules, WITH changes (local customization), then follow the next step
    1. Send a GET request to /mapping-rules/marc-bib to retrieve the mapping rules
    2. Under 100, 110, 111, 700, 710, 711, 720 fields update rule for contributor name (section where target = "contributors.name") for the "type" property replace "trim_period, trim" value with "trim_punctuation" value

      before changes:

      "rules": [
        {
          "conditions": [
            {
              "type": "trim_period, trim"
            }
          ]
        }
      ]


      after changes:

      "rules": [
        {
          "conditions": [
            {
              "type": "trim_punctuation"
            }
          ]
        }
      ]  
    3. Send PUT request to /mapping-rules/marc-bib and put in the body the updated JSON

Note, that the array of the section for "720" field contains three "type" properties so the value for each of them should be updated.

Example of mapping for "720" field with updated "type" properties
"720": [
    {
      "indicators": {
        "ind1": "1",
        "ind2": "*"
      },
      "entity": [
        {
          "target": "contributors.contributorNameTypeId",
          "description": "Type for Personal Name",
          "applyRulesOnConcatenatedData": true,
          "subfield": [],
          "rules": [
            {
              "conditions": [
                {
                  "type&