daml/ledger-service/http-json
Victor Peter Rouven Müller 5802f964ff
[JSON-API] Add option for setting a table prefix (#10444)
* [JSON-API] Add option for setting a table prefix

changelog_begin

- [JSON-API] A table prefix can now be specified in the jdbc config via `tablePrefix=<YourFancyTablePrefix>`. This was added to allow running multiple instances of the json api without having collisions (independent of the chosen database).

changelog_end

* Extend the correct test in the oracle tests and simplify config override

* Fix formatting

* Fix postgres tests

* Fix bug in oracle query

* Fix typo

* Update ledger-service/db-backend/src/main/scala/com/digitalasset/http/dbbackend/Queries.scala

Co-authored-by: Stephen Compall <stephen.compall@daml.com>

* add the table prefix to named constraints too

Co-authored-by: Stephen Compall <stephen.compall@daml.com>
2021-08-03 13:38:32 +02:00
..
src [JSON-API] Add option for setting a table prefix (#10444) 2021-08-03 13:38:32 +02:00
BUILD.bazel [JSON-API] Add option for setting a table prefix (#10444) 2021-08-03 13:38:32 +02:00
README.md [DOCS] Add documentation for the JSON API metrics (#10312) 2021-07-19 17:32:23 +02:00

HTTP JSON Service

See "HTTP JSON API Service" on docs.daml.com for usage information.

Documentation can also be found in the RST format: