-
Notifications
You must be signed in to change notification settings - Fork 205
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
websocket variant of query endpoint #3936
Merged
Merged
Changes from 66 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
b134aea
minor improvements on websocket and add websocketIT
lima-da cfe29b0
merge in master
lima-da 807c14a
add it for websocket, and support config args
lima-da 2771f85
Merge in Master
lima-da 51fb690
add one more test case
lima-da fcf5e14
make ws config optional
lima-da 9ae56db
Merge branch 'master' of github.com:digital-asset/daml into json-webs…
lima-da 78a8d17
avoid fromTryCatchNonFatal when derivative already exists
S11001001 792a55f
spelling and missing type parameter
S11001001 f7ef4ea
use richer Matchers in WebsocketServiceIntegrationTest
S11001001 a0dfab3
scalafmt
S11001001 b0fa48f
IDEs may love braces but we don't
S11001001 6f4e81b
utility for simplifying FanOutShape2s; use in ContractsService
S11001001 44d2392
split matSecondOut into generalization; make compile again
S11001001 eebcae4
match matSecondOut utility with standard utility methods
S11001001 5ecba29
spelling
S11001001 3b05dc8
getCreatesAndArchivesSince doesn't need to query the transaction boun…
S11001001 f2c026b
boolean newtype utility
S11001001 4a34b4c
split up transactionMessageHandler into components
S11001001 75c59af
decodeAndParsePayload passes through the Jwt
S11001001 b3dcb27
Merge commit 'f04ce1a3c898f5713d6fd6f1d3f56ced7b1c4646' into 3880-web…
S11001001 0dc9260
clean up config and default WS config
S11001001 aac4687
take multiple template IDs for insertDeleteStepSource
S11001001 7ae5b7d
replace websocket return with {errors, add, remove}, based on acsFoll…
S11001001 20f9566
parse ValuePredicate in websocket
S11001001 d14175f
remove unused lfvToJson
S11001001 4ee3246
nominal internal state for emitted WS steps-and-errors
S11001001 9433580
missing copyright headers
S11001001 ea75469
add filtering to convertFilterContracts
S11001001 9ff70dc
add step conflation to websocket output
S11001001 cf992ca
move conflation to static function
S11001001 0cb1444
rename /transactions endpoint to /contracts/searchForever
S11001001 eca83ba
empty requests are not allowed; numConns is per-service
S11001001 caf0786
option for GetCreatesAndArchiveSince to not terminate; use in Websock…
S11001001 1b94379
start of searchForever documentation
S11001001 707cea0
stub searchForever longer test
S11001001 386ad59
use valueOr
S11001001 2422271
don't run all other tests again with WebsocketServiceIntegrationTest
S11001001 735422e
start of websocket delta test
S11001001 3438c76
Merge commit 'a043b09375814a64c7e5823a1c549f5931e68c87' into 3880-web…
S11001001 5b52999
solve init order problem with AbstractHttpServiceIntegrationTestFuns
S11001001 da7dbc3
full flow test, fails for lack of create/exercise yet
S11001001 edf8969
passing full flow test
S11001001 f199e95
full documentation examples
S11001001 1469ea7
rename add/remove to created/archived
S11001001 4383b1c
cleaner NewBoolean.Named
S11001001 a3df010
document heartbeats
S11001001 a1360b5
document subprotocols for searchForever
S11001001 798f918
note about the tests mysteriously terminating
S11001001 427704d
ensure create has happened before attempting query in tests
S11001001 5e10fcc
reorganize multi-step WS test so its states and assertions are clearer
S11001001 7cb76bc
filter out heartbeats in raw string tests
S11001001 917cbc7
factor out ContractDelta
S11001001 fe89d28
make exercisePayload easier to read
S11001001 2d3448c
filter out heartbeats in conversation test
S11001001 9c9d1a2
remove type lambda
S11001001 131e0f7
accept chunked queries
S11001001 8e1b92f
add changelog
S11001001 b9ce77a
Merge commit '006aa9b60816e13b4587b565f3348bc438507074' into 3880-web…
S11001001 140ef02
adapt to #3991 template ID strings
S11001001 a32e105
adapt to #3971 argument -> payload
S11001001 d87cfcb
fix create command for test (string template ID redux)
S11001001 0c585da
Merge commit '536d6a3f9468c8fd1461872c73717ec2798d80c2' into 3880-web…
S11001001 d757518
adapt to #4014 ResolveTemplateId change
S11001001 af7d548
update copyright headers
S11001001 42dc6b9
rebuild WS example output to match latest changes
S11001001 094668b
SeqOps is not a safe name
S11001001 c6b58c0
don't need breakOut anymore
S11001001 c3e5537
use util library form of partitionMap
S11001001 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This format differs from what you get from the
/commands/exercise
endpoint. Her you get something looking likeThere you'd instead get
I'd prefer if the encoding is the same for both endpoints. Since the
/commands/exercise
endpoint does not work with the first format, we need to use the second in both places. It would be nice if could keep the order of the events we don't filter out during consolidation for the/contracts/searchForever
endpoint, but I don't consider it a hard requirement.