Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-49

Refactor sample data from flat files into individual json files

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 3.0.0
    • None
    • ACQ Sprint 55, ACQ Sprint 56
    • 2
    • Thunderjet

    Description

      The sample data is currently specified as a set of flat files where each row is a json blob to be copied into the appropriate DB table. This makes it difficult to use/share this data for other purposes, e.g. unit tests, api-tests, etc.

      The idea is to split these files up so that each json blob (row/line) exists in its own json file.

      Acceptance Criteria:

      • ALL sample data (po_lines, purchase_orders, etc.) is refactored as described above

      NOTE: If possible name the json files such that it's clear what the data is for or the sample case they apply to, e.g. as opposed to a UUID.
      NOTE: An appropriate directory structure should be used (not flat please)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases