automation: establish an automation framework
This commit is contained in:
parent
1b53bf451c
commit
8abe5d60fa
31 changed files with 586 additions and 274 deletions
|
@ -8,6 +8,7 @@ from app.models.alarms import Alarm
|
|||
from app import Origin, Proxy
|
||||
from app.models.base import Group, MirrorList
|
||||
from app.portal.forms import LifecycleForm, NewMirrorListForm
|
||||
from app.portal.automation import bp as automation
|
||||
from app.portal.bridgeconf import bp as bridgeconf
|
||||
from app.portal.bridge import bp as bridge
|
||||
from app.portal.group import bp as group
|
||||
|
@ -17,7 +18,7 @@ from app.portal.proxy import bp as proxy
|
|||
from app.portal.util import response_404, view_lifecycle
|
||||
|
||||
portal = Blueprint("portal", __name__, template_folder="templates", static_folder="static")
|
||||
|
||||
portal.register_blueprint(automation, url_prefix="/automation")
|
||||
portal.register_blueprint(bridgeconf, url_prefix="/bridgeconf")
|
||||
portal.register_blueprint(bridge, url_prefix="/bridge")
|
||||
portal.register_blueprint(group, url_prefix="/group")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue