As a user, I would like to import orderable data from the app level

Description

We would like to move uploading data configuration to the app level. Currently to upload data you need to know how to use seed tool and there is no way to do it within the app.

  1. Add import page that should include two fields: select with the type of uploaded file and file input to choose the file with data that should be uploaded.

  2. Add option to upload products to the system.

  3. Move functionality to upload products from seed tool to reference data.

  4. Add validation that will check if the data in uploaded file is a proper one.

  5. Display error message if data is not valid.

Acceptance Criteria:

  • User is able to choose a valid configuration file to upload products and import it to the system from the app level

  • Unvalid files cannot be imported and error message with the cause is displayed

Dev notes:

Seed-tool:

Estimates:

Ticket

Estimate

OLMIS-7669: Prepare tasks and estimates

2d

OLMIS-7670: Create endpoint for data upload

2d

OLMIS-7671: Write functionality for reading uploaded zip archive

3d

OLMIS-7672: Write functionality for saving Orderables data to db from uploaded file

1w

OLMIS-7757: Write functionality for saving ProgramOrderables data to db from uploaded file

4d

OLMIS-7758: Write functionality for saving OrderableIdentifiers data to db from uploaded file

3d

OLMIS-7759: Write functionality for saving TradeItems data to db from uploaded file

2d

OLMIS-7753: Add validation for uploading Orderables.csv file

3d

OLMIS-7754: Add validation for uploading OrderableIdentifiers.csv file

2d

OLMIS-7755: Add validation for uploading ProgramOrderables.csv file

2d

OLMIS-7756: Add validation for uploading TradeItems.csv file

2d

OLMIS-7720: Add import right and permission check

4h

OLMIS-7751: Add validation for uploaded files

2d

OLMIS-7752: Add loading component while files are uploading (Frontend)

2d

OLMIS-7673: Add import page (Frontend)

2d

OLMIS-7721: Add the option of selecting import right + secure import pages (Frontend)

4h

OLMIS-7674: Write Test Cases for data import functionality (QA)

1d 4h

OLMIS-7675: Test whole data import functionality (QA)

1d

TOTAL

39d 4h

95% Done
Loading...

Checklists

Activity

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Due date

Priority

Epic Name

Time Assistant

Created April 5, 2023 at 1:28 PM
Updated July 3, 2024 at 8:57 AM