From 2bea6197862287cd9a72a466d367278ace0c92af Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Mon, 3 Oct 2022 17:13:27 +0000 Subject: [PATCH] BB: Removed unused method and endpoint --- .../blackbox/island_client/monkey_island_client.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py b/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py index 28745b5b8..28dc1f135 100644 --- a/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py +++ b/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py @@ -15,7 +15,6 @@ SLEEP_BETWEEN_REQUESTS_SECONDS = 0.5 GET_AGENTS_ENDPOINT = "api/agents" GET_LOG_ENDPOINT = "api/agent-logs" GET_MACHINES_ENDPOINT = "api/machines" -MONKEY_TEST_ENDPOINT = "api/test/monkey" TELEMETRY_TEST_ENDPOINT = "api/test/telemetry" LOGGER = logging.getLogger(__name__) @@ -147,12 +146,6 @@ class MonkeyIslandClient(object): ) return MonkeyIslandClient.get_test_query_results(response) - def get_all_monkeys_from_db(self): - response = self.requests.get( - MONKEY_TEST_ENDPOINT, MonkeyIslandClient.form_find_query_for_request(None) - ) - return MonkeyIslandClient.get_test_query_results(response) - def get_agents(self) -> Sequence[Agent]: response = self.requests.get(GET_AGENTS_ENDPOINT)