Mike Salvatore
|
6cc3689ab4
|
Island: Remove unnecesary logging from LocalStorageFileRepository
Most logging is now handled by FileRepositoryLoggingDecorator, which
makes the logging reusable across different implementations of
`IFileRepository`.
|
2022-07-02 20:02:53 -04:00 |
Mike Salvatore
|
a329177b49
|
Island: Decorate LocalStorageFileRepository
|
2022-07-02 19:59:50 -04:00 |
Mike Salvatore
|
9affe10f67
|
Island: Add FileRepositoryCachingDecorator
|
2022-07-02 19:59:43 -04:00 |
Mike Salvatore
|
d4883c6e44
|
Island: Specify "read-only" in IFileRepository.open_file() docstring
|
2022-07-02 10:32:12 -04:00 |
Mike Salvatore
|
e3b5e0c01a
|
Island: Add FileRepositoryLockingDecorator
|
2022-07-02 09:53:18 -04:00 |
Mike Salvatore
|
bc0c4a1c8e
|
Island: Add FileRepositoryLoggingDecorator
|
2022-07-02 09:50:34 -04:00 |
Mike Salvatore
|
c00249fc17
|
Island: Change FileNotFoundError import in LocalStorageFileRepository
|
2022-07-02 09:38:28 -04:00 |
Mike Salvatore
|
48ccf467e0
|
Island: Remove repository.file_storage subpackage
|
2022-07-02 09:32:37 -04:00 |
Shreya Malviya
|
6b15889e7d
|
Island: Remove old logic for resetting config
|
2022-07-01 20:15:03 -04:00 |
Mike Salvatore
|
9bedc5c688
|
Merge pull request #2055 from guardicore/2036-set-default-configs-per-mode
2036 set default configs per mode
|
2022-07-01 20:12:07 -04:00 |
Mike Salvatore
|
1421b5624c
|
Island: Add missing newline in ISimulationRepository
|
2022-07-01 16:31:55 -04:00 |
Mike Salvatore
|
410401a319
|
Island; Remove disused IslandMode mongo document
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
f78fa73563
|
Island: Rename IslandModeEnum -> IslandMode
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
d88fc86d90
|
Island: Remove disused mode subpackage
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
63a69b047d
|
Island: Move IslandModeEnum to monkey_island.cc.models
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
7ec558a5f4
|
Island: Move IslandModeService out of unnecessary subpackage
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
77baf08ea3
|
Island: Remove disused MANIPULATOR_PER_MODE "service"
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
6459da1d15
|
Island: Remove disused config_manipulator "service"
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
c1994f5d60
|
Island: Extract registration methods from initialize_services()
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
fc76bb2d83
|
Island: Set config on mode set in IslandModeService
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
9990cdc6a8
|
UT: Parametrize test_save_simulation()
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
4a91777019
|
Island: Add tests for IslandModeService
|
2022-07-01 13:11:05 -04:00 |
Mike Salvatore
|
8f7e7f98e7
|
Island: Use new IslandModeService in IslandMode resource
|
2022-07-01 13:11:03 -04:00 |
Mike Salvatore
|
50a982672e
|
Island: Chande method order in ISimulationRepository
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
bdc5b8fa7b
|
Island: Refactor IslandModeService to use ISimulationRepository
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
942e97cf18
|
Island: Decouple ConfigService.reset_config() from island_mode_service
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
350ac6957f
|
Island: Register FileSimulationRepository with the DIContainer
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
d2906ef23b
|
Island: Add docstrings to {get,save}_simulation()
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
c58bbb3f8a
|
Island: Add FileSimulationRepository
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
a18b5ef9b7
|
Island: Add missing return typehint to get_simulation()
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
55eb9b39a2
|
Island: Set default value for Simulation.mode
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
c221a9810d
|
Island: Add missing newline in ISimulationRepository
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
28e75319b0
|
Island: Make ISimulationRepository methods abstract
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
a24bf921c1
|
Island: Add {get,set}_mode() to ISimulationRepository
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
8b10d81d48
|
Island: Use Simulation in ISimulationRepository
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
a3f3fd96f7
|
Island: Export Simulation from models package
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
a84220f343
|
Project: Remove nonexistant _make_agent_configuration from vulture
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
0137c89158
|
Island: Add preliminary Simulation class
Includes just the island's mode for now.
|
2022-07-01 13:10:01 -04:00 |
Mike Salvatore
|
e14101998f
|
Merge pull request #2054 from guardicore/2036-use-new-reset-endpoints
2036 use new reset endpoints
|
2022-07-01 09:29:54 -04:00 |
Mike Salvatore
|
a53fda39ce
|
UI: Throw exception from resetAll()
|
2022-07-01 09:09:40 -04:00 |
Mike Salvatore
|
d8a7ac3fb6
|
UI: Throw error if resetAll() fails
|
2022-07-01 09:05:42 -04:00 |
Mike Salvatore
|
05129c9d6b
|
UI: Add missing semicolons
|
2022-07-01 08:55:57 -04:00 |
Mike Salvatore
|
9f0b3e10e1
|
Merge pull request #2053 from guardicore/2036-reset-endpoints
2036 reset endpoints
|
2022-07-01 07:32:31 -04:00 |
Mike Salvatore
|
6206196eda
|
UT: Fix formatting of test_island_mode.py
|
2022-06-30 15:16:18 -04:00 |
Mike Salvatore
|
ddc3f2012d
|
UI: Use new reset endpoints to reset all data
|
2022-06-30 14:50:44 -04:00 |
Mike Salvatore
|
e8f76f39e1
|
UI: Use new `/api/clear-simulation-data` endpoint
|
2022-06-30 14:50:25 -04:00 |
Mike Salvatore
|
9ece3c100b
|
Changelog: Add changelog entries for new endpoints
|
2022-06-30 14:48:48 -04:00 |
Mike Salvatore
|
8a52ad8951
|
Island: Add /api/clear-simulation-data
|
2022-06-30 14:46:24 -04:00 |
Mike Salvatore
|
301f2fc89c
|
UI: Use new "unset" island mode
|
2022-06-30 14:46:22 -04:00 |
Mike Salvatore
|
2b60b4ed81
|
Island: Remove comment in IslandMode resource
The HTTP response status codes seem reasonable.
|
2022-06-30 14:26:05 -04:00 |