Uploaded image for project: 'mod-configuration'
  1. mod-configuration
  2. MODCONF-36

Data migration script for changes to PO Number prefix/suffix entries

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Labels:
    • Template:
    • Sprint:
      ACQ Sprint 79
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      Currently PO number prefixes and suffixes are stored in a single record in mod-configuration, e.g.

      {"selectedItems": ["prefix1", "prefix2", ....]}
      

      Every time we edit the prefix/suffix list we modify this record.

      With UIOR-210 we're essentially turning this into a controlled vocabulary, where we'll have many records for prefixes/suffixes, e.g.

      {"name": "prefix name", "description": "prefix desrc"}
      

      This means we need data migration scripts that transition existing data from 1 record (if exists) with array of prefixes to many records for each prefix/suffix

      Eventually this and other order-specific settings will be moved to mod-orders-storage. See MODORDSTOR-119.

      Acceptance Criteria

      • Scripts exist for the data migration described above
      • Scripts have been tested locally

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                KVupp Kruthi Vuppala
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases