-
Notifications
You must be signed in to change notification settings - Fork 94
feat: DH-19901: Use grpc-java in JS API #7878
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
54 commits
Select commit
Hold shift + click to select a range
1b48c86
bump jsinterop/elemental2 vers
niloc132 b440877
Add grpc-gwt and protobuf-gwt, compiles with warnings
niloc132 5c48afc
fix warnings
niloc132 b74daf0
adapt ts transport types
niloc132 352ffd2
Start compiling our generated grpc
niloc132 426153b
Passes javac and gwtc (and spotless!)
niloc132 e5e0f4a
More cleanup of some remaining imports
niloc132 b1c9be0
API loads, but doesn't work yet
niloc132 888731d
add logging, fix login, work on websockets
niloc132 50d026d
Handle emulated headers over websockets, fix auth headers vs trailers
niloc132 1bf1d97
fix buffer reuse on server, fix byte[] casts
niloc132 7be971d
Avoid toString on protos, fix another bad cast
niloc132 215b551
Remove some junk logs/code
niloc132 23a809c
Actually use the bidi interceptor
niloc132 0ab9615
Fixed more ticket->bytes, corrected bidi stream
niloc132 55b2e5c
better name
niloc132 4bace79
Fix websocket transport errors
niloc132 74b70ab
Tests mostly pass, fix a few bugs
niloc132 8388afa
fix off-by-one
niloc132 860218e
Remove unnecessary log
niloc132 e7c7947
Simplify error messages, get a clearer failure for a test
niloc132 4ce353b
Filter toString, spotless
niloc132 675cc94
fixed view/drop columns bug
niloc132 da99e3c
Merge branch 'main' into 19901-grpc-gwt
niloc132 d464d34
Review feedback
niloc132 c99ce79
Fix error case, message
niloc132 883c2d4
local review feedback/cleanup/docs
niloc132 2459bb1
Rework figure api to avoid needing old callbacks method
niloc132 cd41498
More cleanup, spotless
niloc132 4a095b8
Support headers, h2/tls
niloc132 2a1de37
Add/remove newlines, add empty dh-internal.js
niloc132 b74c363
fix an error message, cleanup dead/simple code
niloc132 7b49cae
Unwrap metadata to headers obj, fix nullable/optional mismatch
niloc132 7e217a6
Add missing onCOmpleted
niloc132 151e98e
fix a warning, moving a reusable method to somewhere it is used
niloc132 91c5f49
Limit to just one build, avoid another compile warning
niloc132 6db4536
Merge branch 'main' into 19901-grpc-gwt
niloc132 1d9fcdc
Remove fallback ws support, spotless
niloc132 7c80cb5
Clean up readability
niloc132 b3c780b
Handle bidi streams correctly with fetch
niloc132 72297a9
Ensure we read message sizes in LE
niloc132 15ae86a
Support other transport errors, don't unset auth header right away
niloc132 76702a1
spotless
niloc132 e172519
Remove dead code
niloc132 13d0b62
fix fetchTotals count bugs, closeSession bug
niloc132 04f2765
spotlss
niloc132 a27ccc3
Added a comment, test at clod's behest, to confirm it is making up a bug
niloc132 c10687f
Better err handling
niloc132 2501e26
Add a javadoc note about an ignored param
niloc132 9c0096e
rename local
niloc132 d98dddd
login/deauth cleanup
niloc132 33ca2c6
Provide our own fetch() impl to make ts behave, fix a logging issue
niloc132 6944d32
spotless
niloc132 485deb9
Remove useless assert, add clearer comments and handle future null body
niloc132 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
3 changes: 3 additions & 0 deletions
3
...to-backplane-grpc/src/main/resources/io/deephaven/flightjs/protocol/BrowserFlight.gwt.xml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| <module> | ||
| <source path="" /> | ||
| </module> |
5 changes: 5 additions & 0 deletions
5
...backplane-grpc/src/main/resources/io/deephaven/proto/backplane/DeephavenCoreProto.gwt.xml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <module> | ||
| <inherits name="io.grpc.Grpc" /> | ||
| <source path="script" /> | ||
| <source path="grpc" /> | ||
| </module> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| io.deephaven.project.ProjectType=JAVA_PUBLIC | ||
| languageLevel=17 | ||
| testLanguageLevel=17 |
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.
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.