forked from p15670423/monkey
Island: Remove ITelemStoreRepository.py
Refactoring it is not worth it because we're not sure about the performance solution we'll need after the refactoring
This commit is contained in:
parent
cfcb252df3
commit
f43e76aca5
|
@ -1,12 +0,0 @@
|
||||||
from abc import ABC
|
|
||||||
from typing import Sequence
|
|
||||||
|
|
||||||
from monkey_island.cc.models.exported_telem import ExportedTelem
|
|
||||||
|
|
||||||
|
|
||||||
class ITelemStoreRepository(ABC):
|
|
||||||
def get_telemetries(self) -> Sequence[ExportedTelem]:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def save_telemetry(self, telemetry: ExportedTelem):
|
|
||||||
pass
|
|
|
@ -15,7 +15,7 @@ MAX_SAME_CATEGORY_TELEMS = 10000
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
# TODO this will break with the IRepository implementation. Remove it
|
||||||
class TestTelemStore:
|
class TestTelemStore:
|
||||||
TELEMS_EXPORTED = False
|
TELEMS_EXPORTED = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue