Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-377

SPIKE: Define API Contract for MappingProfile field mapping definitions

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 34
    • 2
    • Folijet

    Description

      It is required to create an API contract (JSON structure) to define mapping rules for eny single field on the MappingProfiles Form.

      The preliminary example is the following:

      {
        "rule": [{
          "fieldName": "Item identifier name",
          "enabled": true,
          object: [
            {
              "fieldPath": "item.identifiers[].name",
              "value": "book",
              "acceptedValues": [
                {
                  "id": "uuid",
                  "value": "book"
                },
                {
                  "id": "uuid",
                  "value": "dvd"
                }
              ]
            },
            {
              "fieldPath": "item.identifiers[].id",
              "value": "$010",
            }
          ]
        },
          {
            "fieldName": "Item title",
            "enabled": true,
            object: [
              {
                "fieldPath": "item.title",
                "value": "$980|a else $020|b",
              }
            ]
          }
        ]
      }           
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                taras_tkachenko Taras Tkachenko
                taras_tkachenko Taras Tkachenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases