Bug 988678

Summary: Allow the use of Flask handlers in the main web UI
Product: [Retired] Beaker Reporter: Nick Coghlan <ncoghlan>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.14CC: aigao, asaha, dcallagh, jingwang, llim, qwan, rmancy, xjia
Target Milestone: 0.15Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-03 02:29:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nick Coghlan 2013-07-26 06:31:49 UTC
TurboGears1 is showing its age, and Flask is a cleaner modern web framework that integrates nicely with SQL Alchemy.

Patches already on Gerrit:

http://gerrit.beaker-project.org/#/c/2086/
http://gerrit.beaker-project.org/#/c/2087/
http://gerrit.beaker-project.org/#/c/2088/
http://gerrit.beaker-project.org/#/c/2089/

This change also lays the foundation for adopting Twitter Bootstrap as the core of an improved front end implementation.

Comment 1 Nick Coghlan 2013-07-29 01:32:37 UTC
Dan pointed out that this change doesn't eliminate TurboGears, it just lays the foundation for new features to be implemented using Flask handlers instead of TurboGears controllers, as well as allowing existing TG controllers to be migrated to Flask handlers.

I have updated the RFE title accordingly.

Comment 2 wangjing 2013-07-30 00:52:40 UTC
there should be no specific features on web UI changed in this bug, right? what QE need to do is a full function test on web, right?
thanks!

Comment 3 Dan Callaghan 2013-07-30 01:05:10 UTC
(In reply to wangjing from comment #2)

Right, there will be no functional changes from this bug. We will just be rearranging things to allow us to start moving code from TurboGears to Flask progressively in future.

Comment 5 wangjing 2013-08-12 09:45:06 UTC
this bug would be tested totally by doing a full functional testing on WebUI.

Comment 7 Nick Coghlan 2013-10-03 02:29:57 UTC
Beaker 0.15 has been released.