Skip to content
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

Event Stream Stubbing #215

Merged
merged 26 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dc93c19
Start adding specs
alextwoods Aug 5, 2024
26702e1
HTTP2::Connection fully covered!
alextwoods Aug 6, 2024
599e2ef
Add client_spec, http2 client fully covered
alextwoods Aug 6, 2024
27f78bf
Send end_stream in mirror_server
alextwoods Aug 6, 2024
df8ec8e
Add temporary logging for eventstream test
alextwoods Aug 7, 2024
8354a99
Cover event_streams middleware. Up to 97% coverage
alextwoods Aug 7, 2024
63f51e0
Full coverage of async output
alextwoods Aug 7, 2024
16bfdb4
WIP (Broken) more handler base tests
alextwoods Aug 8, 2024
2afd7d3
Test commit
alextwoods Aug 8, 2024
e15905a
Fix exception handling, handerl_base fully covered!
alextwoods Aug 8, 2024
a474ee4
Decoder and sign coverage
alextwoods Aug 8, 2024
4010658
Encoder and anonymous signer specs, coverage at 99.69%
alextwoods Aug 9, 2024
b6fc12f
more tests. 100% coverage!!
alextwoods Aug 9, 2024
870dc36
Working event message stub!
alextwoods Aug 13, 2024
0813824
WIP - start generating stub classes. Working for stubbing event headers!
alextwoods Aug 13, 2024
c7fa8e1
Merge branch 'main' into eventstream_stubs
alextwoods Aug 14, 2024
b157a27
Stub event payloads!
alextwoods Aug 14, 2024
e97f30c
Initial resposne stubs + white label spec!
alextwoods Aug 15, 2024
9fa2617
Updates to stub error handling, include event errors in error module,…
alextwoods Aug 16, 2024
0c0e009
Add default event stubbing!
alextwoods Aug 16, 2024
686eb19
initial response object stubbing
alextwoods Aug 16, 2024
5518434
Send specs for event stubbing!
alextwoods Aug 16, 2024
70b1025
Add docs
alextwoods Aug 16, 2024
7850619
Fix RBS rspec failures
alextwoods Aug 19, 2024
55ec8ca
Codegen rubocop fix
alextwoods Aug 19, 2024
4485110
Pass event_handler to middleware instead of using context
alextwoods Aug 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 130 additions & 0 deletions codegen/projections/rails_json/lib/rails_json/middleware.rb

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions codegen/projections/rpcv2_cbor/lib/rpcv2_cbor/middleware.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions codegen/projections/white_label/lib/white_label/auth.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions codegen/projections/white_label/lib/white_label/builders.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions codegen/projections/white_label/lib/white_label/client.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions codegen/projections/white_label/lib/white_label/errors.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions codegen/projections/white_label/lib/white_label/event_stream.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading