daml/ledger-service
Leonid Shlyapnikov 0c741a64cb Fix contract lookup endpoint (#3809)
* Lookup by Contract ID and Contract Key is WIP

* factor out "contract ID or key" JSON decoding

- adapted from fc132253 (#2695)

* Resolving conflicts

* Resolving conflicts

* Lookup by contract ID works

* Testing new contract created by IOU_Transfer can be looked up

* error if key and contractId specified for lookup at the same time

* Lookup by contract key test

* Lookup docs

* re-format with `./fmt.sh`

* minor cleanup

CHANGELOG_BEGIN

- [JSON API - Experimental] Fix and document ``/contracts/lookup`` endpoint. See #3755.

CHANGELOG_END
2019-12-12 22:16:12 +00: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 Fix contract lookup endpoint (#3809) 2019-12-12 22:16:12 +00: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