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

make downloads consistent per perstistence layer #8

Open
vg-leanix opened this issue Dec 21, 2020 · 0 comments · May be fixed by #9
Open

make downloads consistent per perstistence layer #8

vg-leanix opened this issue Dec 21, 2020 · 0 comments · May be fixed by #9
Labels
Backend any feature regarding backend logic

Comments

@vg-leanix
Copy link
Collaborator

vg-leanix commented Dec 21, 2020

Current Situation

  1. Task is triggered
  2. Task is inserted to VUEX and written to table /downloads
  3. Websocket from MongoDB updates status

Problem
list is exposed via LocalStorage
inconsistent use of MongoDB -> should be the only persistence layer

Possible Solution

  1. On page load load last 5 downloads from MongoDB
  2. for newly triggered tasks:
  3. use websocket event to pull new data from MongoDB ( either via API call or using websocket event data directly)
@vg-leanix vg-leanix added the Backend any feature regarding backend logic label Dec 21, 2020
@vg-leanix vg-leanix linked a pull request Dec 24, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend any feature regarding backend logic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant