forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Async package management (digital-asset#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
- Loading branch information
Jussi Mäki
authored
Dec 13, 2019
1 parent
0c741a6
commit ce70ad4
Showing
34 changed files
with
636 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.