smart-data-lake / sdl-visualization

Visualization for SDLB config
GNU General Public License v3.0
4 stars 1 forks source link

Api local statefiles #44

Closed Entouanes closed 1 year ago

Entouanes commented 1 year ago

Summary

On this branch, a new framework for handling queries in React is introduced: "React Query". An additional "API" to use fetch local state files was implemented, together with a new script to compile the state files into an index that is used by the API.

Request-handling is thus improved by "React Query" as it provides advanced flags, caching and auto-refreshing upon change from the data-source. This will eventually simplify the implementation of real-time analysis of SDLB runs, and benefit the overall stability of the app.

The possibility to now use local state files without relying on json-server as a fake backend helps simplifying the local installation for the developers.

Next steps