1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-15 04:37:17 +00:00

Conform new import routes

This commit is contained in:
Kristóf Tóth 2018-07-26 14:00:24 +02:00
parent 8fab3d2226
commit 265560b614
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,6 @@ ENV PYTHONPATH="/usr/local/lib" \
TFW_AUTH_KEY="/tmp/tfw-auth.key" \ TFW_AUTH_KEY="/tmp/tfw-auth.key" \
CONTROLLER_PORT=5555 CONTROLLER_PORT=5555
RUN pip3 install watchdog transitions
COPY ./controller/ / COPY ./controller/ /
CMD ["python3", "/opt/server.py"] CMD ["python3", "/opt/server.py"]

View File

@ -4,7 +4,7 @@ import json
from tornado.ioloop import IOLoop from tornado.ioloop import IOLoop
from tornado.web import RequestHandler, Application from tornado.web import RequestHandler, Application
from tfw import FSMAwareEventHandler from tfw.event_handler_base import FSMAwareEventHandler
class ControllerPostHandler(RequestHandler): class ControllerPostHandler(RequestHandler):

View File

@ -3,7 +3,8 @@ from functools import partial
from tornado.ioloop import IOLoop from tornado.ioloop import IOLoop
from tfw import YamlFSM, FSMAwareEventHandler from tfw.fsm import YamlFSM
from tfw.event_handler_base import FSMAwareEventHandler
from tfw.components import IdeEventHandler, TerminalEventHandler from tfw.components import IdeEventHandler, TerminalEventHandler
from tfw.components import ProcessManagingEventHandler, BashMonitor from tfw.components import ProcessManagingEventHandler, BashMonitor
from tfw.components import TerminalCommands, LogMonitoringEventHandler from tfw.components import TerminalCommands, LogMonitoringEventHandler

View File

@ -2,7 +2,7 @@
from os.path import exists from os.path import exists
from tfw import LinearFSM from tfw.fsm import LinearFSM
from tfw.networking import MessageSender from tfw.networking import MessageSender