Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$300] Project Ubahn | Status on Bulk Upload API #638

Closed
wdprice opened this issue Sep 2, 2020 · 9 comments
Closed

[$300] Project Ubahn | Status on Bulk Upload API #638

wdprice opened this issue Sep 2, 2020 · 9 comments

Comments

@wdprice
Copy link

wdprice commented Sep 2, 2020

Track status, show in UI.
Display all uploads for the org

drill int to see failures and why.

@wdprice wdprice added this to the v1.01 - Stability Release milestone Sep 2, 2020
@wdprice wdprice added the enhancement New feature or request label Sep 2, 2020
@callmekatootie
Copy link
Collaborator

@cwdcwd Should we aim to implement this - https://marvelapp.com/prototype/8c98jb7/screen/68842315

@cwdcwd
Copy link
Contributor

cwdcwd commented Sep 10, 2020

yessir

@callmekatootie
Copy link
Collaborator

So, the design has the following features:

  • Searching profiles in the uploaded list
  • List of profiles in the uploaded list
  • Indicators for profiles that have errors in them
  • Ability to edit / correct attributes of a profile
  • To skip records that have errors in them, to proceed with the upload

Based on what we see, it appears that

  • the feature is BEFORE the document is uploaded to our servers
    • this would mean that we are not uploading the excel file to the servers but parsing with the UI itself, and sending the parsed data...
  • we need to fetch, in the UI itself, details about each user, that is part of the upload, to display values for attributes that the end user is NOT updating, but exists on the profile - for the user to update them through the UI itself. That is, user can update attributes of a profile that they did not specify in the excel, but updated later through the UI

If the feature is for AFTER the document is uploaded, then:

  • how does the user view the status of the upload?
  • The data would already have been uploaded. How then does the user Skip Errors and and Finish - the button in the UI.

@callmekatootie
Copy link
Collaborator

@cwdcwd @wdprice ^

@callmekatootie
Copy link
Collaborator

callmekatootie commented Sep 27, 2020

  • Update Upload model to support new field failedRecordsObjectKey - which will contain the object key of the records that failed
  • Update UploadService to support new route - GET /uploads?from=<date_time> that will return Upload records created since the from query param. By default use 24 hours.
  • Update bulk processor to capture the object key of the uploaded error records and to pass it to the Upload model when updating the status of the processing
  • Update the UI to display Records uploaded in the past 24 hours section under Bulk Upload tab, to display status of Uploads carried out in the past 24 hours. Here, for records where failedRecordsObjectKey exists, display a download link to download the failed records (which means that you need to generate signed s3 urls)

callmekatootie added a commit that referenced this issue Sep 28, 2020
callmekatootie added a commit to topcoder-archive/topcoder-platform-u-bahn-bulk-processor that referenced this issue Sep 28, 2020
callmekatootie added a commit to topcoder-archive/topcoder-platform-u-bahn-bulk-processor that referenced this issue Sep 29, 2020
@callmekatootie
Copy link
Collaborator

callmekatootie commented Sep 29, 2020

  • Restrict viewing upload status to the org the user is in

@callmekatootie callmekatootie self-assigned this Sep 30, 2020
callmekatootie added a commit that referenced this issue Sep 30, 2020
@callmekatootie callmekatootie changed the title Status on Bulk Upload API [$300] Project Ubahn | Status on Bulk Upload API Sep 30, 2020
@cwdcwd
Copy link
Contributor

cwdcwd commented Sep 30, 2020

Contest https://www.topcoder.com/challenges/30144226 has been created for this ticket.

This is an automated message for lazybaer via Topcoder X

@cwdcwd
Copy link
Contributor

cwdcwd commented Sep 30, 2020

Contest https://www.topcoder.com/challenges/30144226 has been updated - it has been assigned to callmekatootie.

This is an automated message for lazybaer via Topcoder X

@cwdcwd
Copy link
Contributor

cwdcwd commented Sep 30, 2020

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30144226

This is an automated message for lazybaer via Topcoder X

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants