mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 09:22:56 +00:00 
			
		
		
		
	Conform new import routes
This commit is contained in:
		@@ -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"]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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):
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user