Island: Move setup_island_event_handlers to monkey_island.cc.setup

This commit is contained in:
Mike Salvatore 2022-09-12 11:56:34 -04:00
parent c02f87add0
commit 3e67f5696c
4 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1 @@
from .version import Version
from .setup_island_event_handlers import setup_island_event_handlers

View File

@ -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

View File

@ -1 +1,2 @@
from .pywsgi_logging_filter import PyWSGILoggingFilter
from .island_event_handlers import setup_island_event_handlers

View File

@ -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):