Commit Graph

10097 Commits

Author SHA1 Message Date
Mike Salvatore 166588d00d Project: Remove PyPubSubAgentEventQueue from vulture_allowlist.py 2022-09-06 15:12:37 -04:00
Mike Salvatore aee4887b64 Island: Fix island event queue import 2022-09-06 15:11:02 -04:00
Mike Salvatore 84aa993a8b Island: Improve `event` docstring in IIslandEventQueue 2022-09-06 15:08:50 -04:00
Mike Salvatore 01ff1711c6
Merge pull request #2246 from guardicore/2233-pypubsubislandeventqueue
Add PyPubSubIslandEventQueue
2022-09-06 15:06:08 -04:00
Mike Salvatore 4e4331c5c3 Common: s/event/kwargs in PyPubSubPublisherWrapper comment 2022-09-06 15:05:29 -04:00
Mike Salvatore 1036189fcc Island: Rename _pypubsub_publisher_wrappe{d,r} 2022-09-06 15:01:10 -04:00
Mike Salvatore b16d19e0ed Common: Rename _pypubsub_publisher_wrappe{d,r} 2022-09-06 15:00:24 -04:00
Mike Salvatore 377bb293fe UT: Use `self` instead of class name 2022-09-06 13:00:41 -04:00
Mike Salvatore 59c58b3115 UT: Replace fn() with SubscriberSpy callable 2022-09-06 12:59:22 -04:00
Mike Salvatore e1e119c27a Common: Add missing type hint for PyPubSubPublisherWrapper._refs 2022-09-06 12:57:24 -04:00
Mike Salvatore ba52eae8ed Common: Decouple PyPubSubPublisherWrapper from events 2022-09-06 12:56:49 -04:00
Shreya Malviya c16c6456aa Island: Remove unneeded comments from PyPubSubIslandEventQueue 2022-09-06 19:41:59 +05:30
Shreya Malviya 69813f8cd4 Common: Add explanatory comments about pypubsub's internal working in PyPubSubPublisherWrapper 2022-09-06 19:41:42 +05:30
Shreya Malviya 70468c37fb Island: Use PyPubSubPublisherWrapper in PyPubSubIslandEventQueue 2022-09-06 19:38:48 +05:30
Shreya Malviya 3c71211b79 Common: Use PyPubSubPublisherWrapper in PyPubSubAgentEventQueue 2022-09-06 19:38:16 +05:30
Shreya Malviya 3cf332a079 Common: Add PyPubSubPublisherWrapper 2022-09-06 19:37:35 +05:30
Shreya Malviya 38c6d53cc5 UT: Move test_pypubsub_island_event_queue.py out of common/ and in to monkey_island/ 2022-09-06 19:05:50 +05:30
Shreya Malviya 8f35a43591 Project: Fix import path in Vulture allowlist 2022-09-06 19:05:14 +05:30
Shreya Malviya f2e7a3d66f Island: Add Island event queue stuff to monkey_island/ 2022-09-06 19:05:09 +05:30
Shreya Malviya 502a875fdd Common: Move Island event queue stuff out of common/ 2022-09-06 19:04:41 +05:30
Shreya Malviya 5da8b424b5 UT: Use IslandEventTopic enum's names for pypubsub topics 2022-09-06 18:13:25 +05:30
Shreya Malviya 004337583a Common: Use IslandEventTopic enum's names for pypubsub topics 2022-09-06 18:11:08 +05:30
Shreya Malviya 1a09f26fd9 Common: Modify IslandEventTopic enum to not have values 2022-09-06 18:07:25 +05:30
Shreya Malviya 27c8a1019b Island: Register IIslandEventQueue instance in DI container 2022-09-06 17:59:17 +05:30
Shreya Malviya 237f6d01b6 UT: Add tests for PyPubSubIslandEventQueue 2022-09-06 17:53:36 +05:30
Shreya Malviya 71c7a9a533 Common: Change parameter name event_data -> event in Island event queue 2022-09-06 17:47:01 +05:30
Shreya Malviya 265e083571 UT: Rename test_pypubsub_event_queue.py -> test_pypubsub_agent_event_queue.py 2022-09-06 13:33:36 +05:30
Shreya Malviya ac2217ce8a Common: Add IslandEventSubecriber type 2022-09-06 13:30:45 +05:30
Shreya Malviya fb4bfb7be1 Project: Fix PyPubSubIslandEventQueue entries to Vulture allowlist 2022-09-06 13:25:59 +05:30
Shreya Malviya 342a4959b3 Common: Import PyPubSubIslandEventQueue in common/event_queue/__init__.py 2022-09-06 13:20:53 +05:30
Shreya Malviya 4219b6cbd4 Common: Rename IslandEventTopics -> IslandEventTopic 2022-09-06 13:19:53 +05:30
Shreya Malviya c9500cd04f Common: Add PyPubSubIslandEventQueue 2022-09-06 13:17:26 +05:30
Shreya Malviya 71e9f68fe6 Common: Fix IslandEventTopics enum values 2022-09-06 13:05:35 +05:30
Shreya Malviya 3dba1bc7d5 Common: Import IIslandEventQueue, IslandEventTopics in common/event_queue/__init__.py 2022-09-06 13:04:51 +05:30
Shreya Malviya eef72b245f UT: Use AgentEventSubscriber in place of EventSubscriber 2022-09-06 12:10:29 +05:30
Shreya Malviya 86018be736 Common: Rename EventSubscriber -> AgentEventSubscriber 2022-09-06 12:09:48 +05:30
Shreya Malviya 122e09426e Project: Add IIslandEventQueue entries to Vulture allowlist 2022-09-06 12:08:06 +05:30
Shreya Malviya f4a0b89e87 Common: Add IIslandEventQueue 2022-09-06 11:44:34 +05:30
Shreya Malviya 9bc4d8c241 Common: Fix docstring in IAgentEventQueue.publish 2022-09-06 11:44:10 +05:30
Shreya Malviya d6df50e323 Common: Make docstring in IAgentEventQueue more specific 2022-09-05 19:36:39 +05:30
Shreya Malviya e1e4b054cf Project: Use correct file path in Vulture allowlist 2022-09-05 19:30:32 +05:30
Shreya Malviya 612132a906 Common: Rename pypubsub_event_queue.py -> pypubsub_agent_event_queue.py 2022-09-05 19:30:28 +05:30
Shreya Malviya 21815291a0 Project: Use correct variable in Vulture allowlist 2022-09-05 19:29:37 +05:30
Shreya Malviya 331c11751f UT: Use PyPubSubAgentEventQueue in place of PyPubSubEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya de74b866bb Island: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya 5b7d3bfb70 Agent: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya a83446e0f2 Common: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya cb9200b3c0 Common: Rename i_event_queue.py -> i_agent_event_queue.py 2022-09-05 19:29:37 +05:30
Shreya Malviya e14c1ea5f3 Project: Use correct file path in Vulture allowlist 2022-09-05 19:29:37 +05:30
Shreya Malviya 28cf860aeb UT: Use IAgentEventQueue in place of IEventQueue 2022-09-05 19:29:37 +05:30