Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API: Created the single request for the upload and analysis #2

Closed
Shruti3004 opened this issue Jul 21, 2021 · 0 comments · Fixed by fossology/fossology#2287 · May be fixed by fossology/FOSSologyUI#249
Closed
Labels
enhancement New feature or request

Comments

@Shruti3004
Copy link
Owner

Description

The current implementation of upload has three processes:

  • Create a post request request at /upload api.
  • Make a get request recursively on /upload/{id} untill the agents ununpack and adj2nest have complete their work it will return 503 that the unpacking has not been started.
  • When the 2nd step get completed then we have to schedule the analysis on the upload. This will decrease the user experience so we can have a single request which returns us a id immediately and in the backend it can put the upload in queue.

Screenshots

Refrence: fossology/FOSSologyUI#71

@Shruti3004 Shruti3004 added the enhancement New feature or request label Jul 21, 2021
@Shruti3004 Shruti3004 changed the title REST API: Created the single request for the upload and analysis #2046 REST API: Created the single request for the upload and analysis Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant