forked from p15670423/monkey
Island: Move setup_island_event_handlers to monkey_island.cc.setup
This commit is contained in:
parent
c02f87add0
commit
3e67f5696c
|
@ -1,2 +1 @@
|
|||
from .version import Version
|
||||
from .setup_island_event_handlers import setup_island_event_handlers
|
||||
|
|
|
@ -10,7 +10,7 @@ import gevent.hub
|
|||
import requests
|
||||
from gevent.pywsgi import WSGIServer
|
||||
|
||||
from monkey_island.cc import Version, setup_island_event_handlers
|
||||
from monkey_island.cc import Version
|
||||
from monkey_island.cc.deployment import Deployment
|
||||
from monkey_island.cc.server_utils.consts import ISLAND_PORT
|
||||
from monkey_island.cc.server_utils.island_logger import get_log_file_path
|
||||
|
@ -35,8 +35,8 @@ from monkey_island.cc.server_utils.consts import ( # noqa: E402
|
|||
from monkey_island.cc.server_utils.island_logger import reset_logger, setup_logging # noqa: E402
|
||||
from monkey_island.cc.server_utils.network_utils import get_ip_addresses # noqa: E402
|
||||
from monkey_island.cc.services.initialize import initialize_services # noqa: E402
|
||||
from monkey_island.cc.setup import PyWSGILoggingFilter # noqa: E402
|
||||
from monkey_island.cc.setup import island_config_options_validator # noqa: E402
|
||||
from monkey_island.cc.setup import PyWSGILoggingFilter, setup_island_event_handlers # noqa: E402
|
||||
from monkey_island.cc.setup.data_dir import IncompatibleDataDirectory, setup_data_dir # noqa: E402
|
||||
from monkey_island.cc.setup.gevent_hub_error_handler import GeventHubErrorHandler # noqa: E402
|
||||
from monkey_island.cc.setup.island_config_options import IslandConfigOptions # noqa: E402
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
from .pywsgi_logging_filter import PyWSGILoggingFilter
|
||||
from .island_event_handlers import setup_island_event_handlers
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from common import DIContainer
|
||||
from monkey_island.cc.event_queue import IslandEventTopic, PyPubSubIslandEventQueue
|
||||
from monkey_island.cc.services.reset_agent_configuration import reset_agent_configuration
|
||||
from monkey_island.cc.island_event_handlers import reset_agent_configuration
|
||||
|
||||
|
||||
def setup_island_event_handlers(container: DIContainer):
|
Loading…
Reference in New Issue