-
Notifications
You must be signed in to change notification settings - Fork 36
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
Migrate CherryPy API to Flask #86
Comments
This issue has been a placeholder as we have a proper cherrypy webserver/API, it should now track our migration from cherrypy to flask. Ultimately, all QUADS web resources can be run from flask including the wiki (wp), any request forms your organization uses, visuals and the like. |
A first patch for a Flask implementation in the form of quads-web sysctl service has been merged here [1]. [1] https://review.gerrithub.io/c/redhat-performance/quads/+/498781 |
This is already done on |
Now that we have a working JSON API we can start to build on more advanced visuals and UI options for QUADS users.
We are currently using
SimpleHTTPServer
for very basic wsgi / HTTP JSON responses and GET/POST activity but anything more where we want to open things up outside the QUADS host we want to use a hardened, robust micro framework like Flask.The first step here is to utilize Flask to build a (starting with) a simple web interface where people can query backend QUADS commands and display the results.
This will pave the way to later to actually doing scheduling from a Flask UI with the proper layer of authentication but we should start with simply displaying data, schedules and other useful QUADS information in this way.
The text was updated successfully, but these errors were encountered: