Skip to content

Implement a server endpoint to return configuration data for the Dashboard #2018

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

Closed
dbutenhof opened this issue Dec 2, 2020 · 0 comments · Fixed by #2024
Closed

Implement a server endpoint to return configuration data for the Dashboard #2018

dbutenhof opened this issue Dec 2, 2020 · 0 comments · Fixed by #2024
Assignees
Labels
Dashboard Of and relating to the Dashboard GUI enhancement Server Web UI
Milestone

Comments

@dbutenhof
Copy link
Member

The choice of the dashboard's "prefix" and index (run_index and result_index) configuration variables are tied to a specific server. It would be nice if the server would offer an end-point which would return the configuration relative to that server instead of having endpoints.js built into the javascript bundle loaded on the server.

That way we can build one dashboard bundle and test it on staging and move it to production without having to change or rebuild the bundle.

The dashboard would then need only to be configured to a specific Pbench server host/port via an environment variable, and would automatically configure the rest using the server.

Related to Dashboard issue #107

@dbutenhof dbutenhof added enhancement Web UI Server Dashboard Of and relating to the Dashboard GUI labels Dec 2, 2020
@dbutenhof dbutenhof added this to the v0.71 milestone Dec 2, 2020
@dbutenhof dbutenhof self-assigned this Dec 2, 2020
@dbutenhof dbutenhof linked a pull request Dec 4, 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
Dashboard Of and relating to the Dashboard GUI enhancement Server Web UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant