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

Migrate CherryPy API to Flask #86

Closed
sadsfae opened this issue May 12, 2017 · 3 comments
Closed

Migrate CherryPy API to Flask #86

sadsfae opened this issue May 12, 2017 · 3 comments

Comments

@sadsfae
Copy link
Member

sadsfae commented May 12, 2017

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.

@sadsfae sadsfae added this to the 2.0 milestone May 16, 2017
@sadsfae sadsfae modified the milestones: 2.0, 1.2, 1.1 Mar 21, 2018
@sadsfae sadsfae modified the milestones: 1.1, 1.2 Mar 4, 2019
@sadsfae sadsfae removed the ready label Mar 5, 2019
@sadsfae sadsfae changed the title QUADS Flask Web UI (Phase 1: Informational/Query) QUADS CherryPy Web UI (Phase 1: Informational/Query) Mar 27, 2019
@sadsfae sadsfae changed the title QUADS CherryPy Web UI (Phase 1: Informational/Query) QUADS Flask Web UI (Phase 1: Informational/Query) Mar 24, 2020
@sadsfae
Copy link
Member Author

sadsfae commented Mar 24, 2020

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.

@grafuls
Copy link
Contributor

grafuls commented Aug 10, 2020

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

@sadsfae sadsfae changed the title QUADS Flask Web UI (Phase 1: Informational/Query) Migrate CherryPy API to Flask Mar 4, 2022
@grafuls grafuls self-assigned this Sep 8, 2022
@grafuls
Copy link
Contributor

grafuls commented May 6, 2024

This is already done on flaskapi_v3 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants