daml/ledger-service
Leonid Shlyapnikov dcc7dc913f
Add choice result to the exercise response (#3757)
* Adding choice result to the exercise response, WIP

* Adding choice result to the exercise response, WIP

* Refactoring towards #3390,

ExerciseCommand argument does not always have to be a Record, changing
typearg: JsObject -> JsValue

* Cleanup

* exercise-with-result endpoint

* todo

* Switching /commands/exercise to use SubmitAndWaitForTransactionTree,

populating archived and created from TransactionTree

* removing debug println

* Fixing tests

* Removing `/command/exercise-with-result` endpoint

this one returns only exercise result, `/command/exercise` now returns
exercise result and events

* Updating docs

* Updating docs

CHANGELOG_BEGIN

- [JSON API - Experimental] Expose exercise result. Changed the output
of the ``/command/exercise``. Note ``exerciseResult`` and ``contracts``
in ``{"status":200,"result":{"exerciseResult": ...,"contracts":[...]}``.
See #3314

CHANGELOG_END
2019-12-10 10:09:24 -05:00
..
db-backend compile ValuePredicates to SQL and run json-api queries in Postgres (#3599) 2019-12-05 11:15:01 -05:00
http-json Add choice result to the exercise response (#3757) 2019-12-10 10:09:24 -05:00
jwt Implement support for RSA-signed JWT tokens (#3526) 2019-11-25 16:29:24 +01:00
lf-value-json Extractor: Add support for GenMap (#3614) 2019-11-28 12:31:28 +00:00
utils Spin off TokenHolder into a new library (#3741) 2019-12-05 12:31:14 +00:00