daml/ledger-api
Jussi Mäki ce70ad4a2f
Async package management (#3806)
* Add package_entries table

* Change PublicPackageUpload event to cover list of packages.

Add PublicPackageUploadRejected.

* Produce new package update events in KeyValueConsumption

* Update signature of uploadPackages

* Cleanup InMemoryKVParticipantState. Add submissionId to uploadPackages.

* Fix up InMemoryKVParticipantStateIT

* Initial ledger dao changes for package entries

Drop the participant_id as we never expect to see
entries of other participants. This should be done
for party_entries as well.

* Drop UploadPackagesResult

* Implement getPackageEntries and refactor callers

* Add maxRecordTime to uploadPackages

* First cut at updating ApiPackageManagementService

* Update tests, wire through the packageEntries

* Don't extend IndexPackagesService in InMemoryPackageStore

It does not implement the full interface and it isn't used
directly as one anyway.

* Drop maximum_record_time from package_management_service

Adding maximum record times touches the whole stack. Leaving
this change to another PR.

* Wire through the removal of maximum_record_time.

And remove dead code from InMemoryKVParticipantState

* Remove checking for duplicate package uploads

This aligns with the behaviour of WriteService.

* Reformat

* Fix PackageManagementService after adding of submission_id to the service
2019-12-13 09:56:47 +01:00
..
grpc-definitions Async package management (#3806) 2019-12-13 09:56:47 +01:00
perf-testing Replace bazel-deps by rules_jvm_external (#3253) 2019-10-28 13:53:14 +01:00
rs-grpc-akka Replace bazel-deps by rules_jvm_external (#3253) 2019-10-28 13:53:14 +01:00
rs-grpc-bridge Ledger API: Add healthcheck endpoints. (#3573) 2019-11-22 14:02:05 +00:00
rs-grpc-testing-utils Ledger API: Add healthcheck endpoints. (#3573) 2019-11-22 14:02:05 +00:00
sample-service Replace bazel-deps by rules_jvm_external (#3253) 2019-10-28 13:53:14 +01:00
scripts open-sourcing daml 2019-04-04 09:33:38 +01:00
testing-utils Ledger API: Add healthcheck endpoints. (#3573) 2019-11-22 14:02:05 +00: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 (#2499) 2019-08-13 17:23:03 +01:00
README.md correct broken ledger-api-introduction links (#1565) 2019-06-07 15:18:21 -04: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.