Implement ProgressTracking as either webhooks or chunked responses
There are two Corda API areas that can return an unbounded stream of notifications: processing ProgressTracker notifications; and vault query track-bys.
These two can be split into separate issues.
For ProgressTracker updates, suggests:
- for invocation of flows to include a header for an optional client-specified invocation id
- that there is a new end-point:
GET /../progress-tracker
. This keeps the request unresolved pushing chunked messages back to the client. - Each chunk contains the
id
from (1) above, as well as the payload from the progress tracker
Edited by Fuzz