daml/ledger-service
Stephen Compall 0cb3541666
optional offset argument to WebSocket streams (#4819)
* capture the pattern of an optional stream input prefix

* allow LiveBegins to be appended

- should have been included with #4593

* StreamQuery will parse JsValues instead of Strings

* shortcut in HttpServiceTestFixture; clean up InsertDeleteStepTest

* compatibly add withOptPrefix stage to WS input

* parsing the offset argument

* add offset parsing to input stream, but drop it on the floor

* another form of the two cases

* percolate the starting offset to the next step

* percolate the starting offset to the next step

* percolate the starting offset to the next step

* use transactionsFollowingBoundary in ContractsService if begin offset specified

* integration test for scan from offset in WS query

* tool for catching the first offset in a stream

* documentation

* add changelog entry

CHANGELOG_BEGIN
- [JSON API - Experimental] WebSocket endpoints now support an optional offset argument.
  See `issue #4509 <https://github.com/digital-asset/daml/issues/4509>`_.
CHANGELOG_END

* move offset argument doc to later

- suggested by @hurryabit; thanks

* remove stray TODO

- pointed out by @leo-da; thanks

* redesign withOptPrefix to make the usage a little easier to follow

- suggested by @leo-da; thanks
2020-03-13 12:52:17 -04:00
..
db-backend Aligning DB contract table with domain.ActiveContract class (#3989) 2020-01-08 20:39:57 +00:00
http-json optional offset argument to WebSocket streams (#4819) 2020-03-13 12:52:17 -04:00
jwt EC256 rather than EC512 algo (#4019) 2020-01-16 08:55:55 -05:00
lf-value-json Remove pragma 'daml 1.2' (#4702) 2020-02-26 13:17:45 -05:00
utils Remove unused dependencies to da_scala_library (#3938) 2020-01-06 18:14:21 +01:00