daml/ledger-api
Marton Nagy 308f938512
Dpp 494 unit testing ha coordinator (#10862)
* Unit testing: HA Coordinator

* Preparation: switch to fix-thread-pool in AkkaBeforeAndAfterAll to have more stable test runtimes

CHANGELOG_BEGIN
CHANGELOG_END

* Preparation: switch to timer from akka-pattern  and Scheduler in waiting-futures, for higher precision timing

CHANGELOG_BEGIN
CHANGELOG_END

* Preparation: prevent race in PollingChecker (corner-case uncovered via sustained testing)

CHANGELOG_BEGIN
CHANGELOG_END

* Preparation - HaCoordinator refactorings: switch from DataSource to connection factory functions to clean dependencies, fixing some typos

CHANGELOG_BEGIN
CHANGELOG_END

* Add test infrastructure for locking

CHANGELOG_BEGIN
CHANGELOG_END

* Reuse StorageBackendTestsDBLock to test TestDBLockStorageBackend

CHANGELOG_BEGIN
CHANGELOG_END

* Add unit test suite for HaCoordinator

CHANGELOG_BEGIN
CHANGELOG_END

* Fix random generation to respect scala 2.12

CHANGELOG_BEGIN
CHANGELOG_END

* Adds test cases for graceful-shutdown during initialization

CHANGELOG_BEGIN
CHANGELOG_END

* Minor changes based on review

CHANGELOG_BEGIN
CHANGELOG_END

* Some comment rewording based on review

CHANGELOG_BEGIN
CHANGELOG_END
2021-09-16 17:08:45 +02:00
..
grpc-definitions Rename Completion.deduplication_time to deduplication_duration [KVL-1057] (#10900) 2021-09-16 10:41:45 +00:00
perf-testing check whether collection.compat is unused when compiling for Scala 2.12 (#9604) 2021-05-11 21:54:14 +00:00
rs-grpc-akka Upgrade Scalatest to v3.2.9. (#10576) 2021-08-12 23:19:35 +00:00
rs-grpc-bridge Populate definite_answer in ApiException [KVL-1004] (#10832) 2021-09-13 16:28:39 +00:00
rs-grpc-testing-utils Build and test //ledger-api/... against Scala 2.13 (#8452) 2021-01-11 16:53:54 +01:00
sample-service Upgrade Scalatest to v3.2.9. (#10576) 2021-08-12 23:19:35 +00:00
scripts open-sourcing daml 2019-04-04 09:33:38 +01:00
testing-utils Dpp 494 unit testing ha coordinator (#10862) 2021-09-16 17:08:45 +02:00
.gitignore open-sourcing daml 2019-04-04 09:33:38 +01:00
.sbtopts open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.bazel update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
README.md correct broken ledger-api-introduction links (#1565) 2019-06-07 15:18:21 -04:00
VERSION Ledger API: bump version for LF 1.14 (#10175) 2021-07-05 13:54:25 +00:00

Ledger-API

This is the API code for the ledger, which contains:

  • gRPC API definitions
  • Generated Scala bindings
  • gRPC-RS bridge
  • gRPC-Akka bridge
  • Server API classes with validation
  • Prototype Server
  • Prototype Clients
    • Scala
    • Python
    • Node.js
  • Integration tests for all of the above

Documentation

The Ledger API Introduction contains introductory material as well as links to the protodocs reference documentation.

See the docs README for more about how to preview and publish documentation.