-
Notifications
You must be signed in to change notification settings - Fork 45
feat(events): implement websocket endpoints and message handling #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
c7cb2ed
feat(events): add websocket endpoint to stream events
jansegre 4ed1bc8
Merge branch 'dev' into feat/websocket-event
glevco 1214b44
feat(events): add TODO and other minor changes
glevco 37338bf
feat(events): add EventWebsocketFactory to EventManager
glevco 6f2a3ef
feat(events): refactor EventManager
glevco d6356c5
feat(events): fix EventManager instantiation on HathorManager
glevco 4721c90
feat(events): start protocol and factory refactor (wip)
glevco 69bebcf
feat(events): create request and response classes
glevco 6b0f730
feat(events): finish protocol and factory refactor
glevco 5f9afb6
feat(events): Update EventStorage interface
glevco 0a80138
feat(events): update event WebSocket architecture
glevco fff146d
feat(pydantic-install): install pydantic
glevco fff6589
Merge branch 'feat/pydantic-install' into feat/websocket-event
glevco f6671df
feat(pydantic-install): add missing docstrings
glevco c8111a1
feat(events): change request to use pydantic and update response schema
glevco bdad86a
feat(events): revert EventStorage changes
glevco 624b250
feat(events): remove unused settings
glevco 67455ca
feat(events): update factory and protocol logic
glevco a247dae
feat(events): convert dataclasses to pydantic
glevco ace89e3
feat(events): lint code
glevco 9148a59
feat(events): update builder and manager
glevco 265cf37
feat(events): change test utils so filepath is not hardcoded
glevco cf326ec
feat(events): change builder to accept custom settings
glevco cf4a5d9
feat(events): fix typing circular problem
glevco 829fa02
feat(events): implement --x-enable-event-queue tests
glevco 6850a96
feat(events): fix builder typing
glevco 65ae0b6
feat(events): fix builder typing
glevco 1d1e1b3
feat(events): update EventStorage tests
glevco 4010e38
feat(events): change protocol name
glevco 2223690
feat(events): implement factory and protocol tests
glevco d0038c3
feat(events): remove incorrect assert
glevco 97963fa
feat(events): update test_event_manager
glevco fb3bd4d
feat(events): update test_event_reorg
glevco 2980155
feat(events): fix builder condition
glevco 6aa4bfe
feat(events): implement request validation and tests
glevco 767c424
feat(events): lint code
glevco cead9fd
feat(events): resolve TODOs and improve tests
glevco c7b7e1c
feat(events): add docstrings
glevco 1fa95bc
feat(events): change test utils so filepath is not hardcoded
glevco 3f555df
feat(events): change builder to accept custom settings
glevco d757f62
feat(events): fix builder typing
glevco 4545545
feat(events): fix builder typing
glevco 38c7472
feat(pydantic-install): fix mypy plugin
glevco a43c591
Merge branch 'feat/pydantic-install' into chore/test-improvements
glevco ffa129a
Merge branch 'chore/test-improvements' into feat/websocket-event
glevco 1dd7031
feat(events): add event ws start/stop on manager
glevco 79a7008
feat(events): fix bug and add missing test
glevco 9d57608
feat(events): fix object bleeding
glevco a295397
feat(events): improve logs
glevco 8485233
feat(events): fix lint issues
glevco 209013c
feat(events): remove unused event
glevco b8c0f9c
Merge branch 'dev' into chore/test-improvements
glevco 9ad7bfe
feat(test-improvements): rollback builder changes
glevco a5b432e
feat(test-improvements): move filepath code into function
glevco 4e58e7b
Merge branch 'chore/test-improvements' into feat/websocket-event
glevco 4fb69fe
feat(events): fix builder tests
glevco 77c5bad
feat(events): change HathorManager to receive EventManager
glevco 8e1538e
feat(events): improve logging
glevco f6f9cf2
feat(events): change window_size_increment to window_size
glevco a5f7efb
feat(events): change window_size_increment to window_size
glevco d8ae406
Merge remote-tracking branch 'origin/feat/websocket-event' into feat/…
glevco f4fe231
feat(events): change event factory to use callLater
glevco 7f90392
feat(events): change event factory to use callLater
glevco bfb4204
Merge branch 'dev' into feat/websocket-event
glevco d733c9d
feat(events): lint code
glevco bae46cf
feat(events): fix global pubsub on tests
glevco 6d5e29b
feat(events): update request and response models
glevco 739fd12
feat(events): update factory and protocol according to code review
glevco da5af83
feat(events): implement stream (in)active responses
glevco 01f2982
feat(events): refactor code from factory to protocol
glevco aa94e53
feat(events): refactor responses
glevco c5826b9
feat(events): fix ack validation
glevco 976a5e1
feat(events): lint code
glevco 39d32a5
feat(events): update factory tests
glevco 760e212
feat(events): update protocol tests
glevco f7226c7
feat(events): remove Python 3.10 specific code
glevco e0fe22b
feat(events): lint code
glevco 671427e
feat(events): fix typing
glevco 69fb2da
feat(events): add more python retrocompatibility changes
glevco 5a46fbd
feat(events): implement sendMessage exception handling
glevco 0c4107d
Merge branch 'dev' into feat/websocket-event
glevco 7f2cdcc
feat(events): implement BaseEvent tests
glevco a119653
feat(events): remove __future__
glevco a09d15d
refactor(indexes): Create a generic TxGroupIndex and uses it on Addre…
msbrogli f4a4b13
feat(events): remove NETWORK_NEW_TX_VOIDED event (#529)
glevco 6ce3aec
Merge branch 'dev' into feat/websocket-event
glevco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.