From 5283864c09378d02b922dc27a6fe6f26773a5d1a Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 13 Jul 2022 08:59:52 -0400 Subject: [PATCH] Island: Raise NotImplementedError in RepositoryService This class is still under development. --- monkey/monkey_island/cc/services/repository_service.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/services/repository_service.py b/monkey/monkey_island/cc/services/repository_service.py index c21964864..af0d13fa1 100644 --- a/monkey/monkey_island/cc/services/repository_service.py +++ b/monkey/monkey_island/cc/services/repository_service.py @@ -28,10 +28,13 @@ class RepositoryService: self._file_repository.delete_file(custom_pbas.windows_filename) def unlock(self): - pass + raise NotImplementedError def reset_key(self): - pass + raise NotImplementedError def clear_simulation_data(self): - pass + # NOTE: This method will be replaced by an event when we implement pub/sub in the island. + # Different plugins and components will be able to register for the event and clear + # any configuration data they've collected. + raise NotImplementedError