Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Firebird Sprint 129
-
5
-
Firebird
Description
Purpose/Overview:
After uploading a CSV file with users' UUIDs the user should be able to see the preview of matched records(top 10) and be able to download a CSV file with matched records, so the records can be reviewed and later modified.
Requirements/Scope:
- All records returned are saved in csv
- Keys are replaced with values
- The file name follows the convention: <yyyy-mm-dd-Matched-Records-<name of the file with identifiers>.csv
Approach:
1) Update the JobCommand with the new field that will define the export type for bulk edit (since in future we have to work with barcodes CSV file instead of UUIDs only and work with different record types like Users, Items and etc we have to know which Job we need to launch, this information must be put to the JobCommand)
2) Implement an endpoint for saving UUIDs CSV files locally in mod-data-export-worker.
/bulk-edit/jobId/upload, where jobId is the id of created JobCommand.
3) Implement a base Job for exporting records to CSV files.
4) Reference data caching.
Acceptance criteria:
- File is created and can be saved
- File contains all fields from the user record
- Keys are replaced with corresponding values
- The copy of a file is saved.
- File name follows the convention
- Unit and API tests are written where applicable
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3229 Identify user records for bulk edit
-
- Closed
-
- has to be done after
-
MODBULKED-2 [SPIKE]:File upload functionality
-
- Closed
-
- has to be done before
-
MODEXPS-48 Remove expired files
-
- Closed
-
-
MODEXPW-46 Get matching records based on provided query
-
- Closed
-
-
MODEXPW-51 Records processing errors handling
-
- Closed
-
- is duplicated by
-
MODEXPW-49 Get matching records CSV file by users UUIDs CSV file
-
- Closed
-