DescartesResearch / TeaStore

A micro-service reference test application for model extraction, cloud management, energy efficiency, power prediction, single- and multi-tier auto-scaling
https://se.informatik.uni-wuerzburg.de
Apache License 2.0
118 stars 137 forks source link

An option to auto refresh the status page #206

Closed temanisparsh closed 2 years ago

temanisparsh commented 2 years ago

Description

Having an option to auto refresh status page where the user can specify the duration would be helpful, would allow the user to know once all services are ready, especially when waiting for the recommender, persistence and the image service.

I am interested in taking up this issue.

SimonEismann commented 2 years ago

Hey temanisparash, this seems like a very good idea :)

What were you thinking in terms of implementation? My initial idea would be to build this as a small javascript that refreshes the page every X seconds.

temanisparsh commented 2 years ago

Yeah, that's what I was thinking as well. We could redirect to a URL which has the refresh duration specified by the user as the URL query parameter ?

SimonEismann commented 2 years ago

Good point, I didn't consider that we would lose the refresh duration after a refresh otherwise.

Would you be interested in preparing a pull request for this? Otherwise, we could also look into this :)

temanisparsh commented 2 years ago

Yeah sure, I will work on this and send a pull request

SimonEismann commented 2 years ago

image

Looks good and works great! Will be included in the next minor release, which should go out later this week :)