2021-01-01 21:49:51 +03:00
|
|
|
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
2020-02-06 14:54:07 +03:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //daml-assistant/scala-daml-project-config:scala-daml-project-config
|
2019-08-29 09:21:57 +03:00
|
|
|
type: jar-scala
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.6_archive_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.6_archive_proto_java
|
|
|
|
type: jar-proto
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.7_archive_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.7_archive_proto_java
|
|
|
|
type: jar-proto
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.8_archive_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.8_archive_proto_java
|
|
|
|
type: jar-proto
|
2021-01-06 16:32:26 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.11_archive_proto_jar
|
|
|
|
type: jar-lib
|
|
|
|
- target: //daml-lf/archive:daml_lf_1.11_archive_proto_java
|
|
|
|
type: jar-proto
|
2021-01-28 19:28:41 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_1.12_archive_proto_jar
|
|
|
|
type: jar-lib
|
|
|
|
- target: //daml-lf/archive:daml_lf_1.12_archive_proto_java
|
|
|
|
type: jar-proto
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_dev_archive_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_dev_archive_proto_java
|
|
|
|
type: jar-proto
|
2019-10-15 11:36:47 +03:00
|
|
|
- target: //daml-lf/archive:daml_lf_archive_reader
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //daml-lf/data:data
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2019-08-01 18:10:56 +03:00
|
|
|
- target: //daml-lf/data-scalacheck:data-scalacheck
|
2019-08-29 09:21:57 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //daml-lf/engine:engine
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2019-04-12 15:57:37 +03:00
|
|
|
- target: //daml-lf/interface:interface
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2019-04-12 15:57:37 +03:00
|
|
|
- target: //daml-lf/interpreter:interpreter
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //daml-lf/language:language
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //daml-lf/scenario-interpreter:scenario-interpreter
|
|
|
|
type: jar-scala
|
|
|
|
- target: //daml-lf/transaction:transaction
|
|
|
|
type: jar-scala
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //daml-lf/transaction:transaction_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //daml-lf/transaction:transaction_proto_java
|
2020-02-13 16:52:48 +03:00
|
|
|
type: jar-proto
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //daml-lf/transaction:value_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //daml-lf/transaction:value_proto_java
|
2020-02-13 16:52:48 +03:00
|
|
|
type: jar-proto
|
2020-06-17 17:52:40 +03:00
|
|
|
- target: //daml-lf/transaction-test-lib:transaction-test-lib
|
2020-02-13 16:52:48 +03:00
|
|
|
type: jar-scala
|
|
|
|
- target: //daml-lf/validation:validation
|
|
|
|
type: jar-scala
|
interpret allowed updates and other actions in a free Trigger monad, like Script (#7456)
* conservatively move daml-script, trigger SValue interpreters to common library
* introduce expect and JavaList pattern for converters
* clean up trigger Converter Command interpretation
* add Church Free monad
* add an action language for trigger updates
* add expectE to remove some of the joins
* convert more of the converters to expect
* tool for unrolling Free/Roll
* split handleStepResult up and clean up its pattern
* handleStepFreeResult to interpret TriggerF
* replace Free Church with Pure/Roll free from Script
* newtype for ActionTrigger
* replace update in low-level Trigger with Free TriggerF
* submit one Commands at a time
* boolean blindness strikes again
* log missed TriggerF steps
* comment actual Submit contents
* match #7501 fromPureSExpr sig change in 00b80b8ea3
* avoid using forwardPort in runTrigger
* push State back into DAML, so it can be excluded from the action list
* push Message back into DAML, unifying the action language for initialState and update
* bringing TriggerF into initial state
* really add TriggerF into initial state, with all ports, tested
* add ActionTrigger class, express initialState in its terms
* add all TriggerF actions to existing TriggerA
* Trigger.rule will no longer have Time argument
* rename getS, setS to get, put, matching C.M.T.State from transformers
* make high-level Rule evaluate to the underlying TriggerF sequence
* Assert's testRule doesn't have a transform yet
* move DamlTuple2 to common converter library
- suggested by @cocreature; thanks
* combine the two Frees, provide from Script
* remove time argument from integration tests
CHANGELOG_BEGIN
- [Triggers] The ``Time`` argument was removed from the trigger rule function; instead, it
can be fetched within the ``TriggerA`` ``do`` block by ``getTime``, as with ``Update``
and ``Scenario``. The ``LowLevel`` trigger interface has been redesigned; such triggers
need to be rewritten or ported to high-level triggers.
See `issue #7456 <https://github.com/digital-asset/daml/pull/7456>`_.
CHANGELOG_END
* add trigger rule simulator to support Assert module
* missed new Free module
- left in script per @cocreature
* remove retract as we ended up using foldFree for that purpose instead
- suggested by @cocreature; thanks
* throw ConverterException instead of RuntimeException
- suggested by @cocreature; thanks
* remove Time argument from coin-upgrade-trigger
* port trigger service tests
* port trigger scenario test
* put TriggerSetup and TriggerRule into LowLevel.Trigger instead of unboxed Free
- suggested by @cocreature; thanks
* remove Time argument from trigger compatibility test
* submit commands as soon as each `emitCommands` is sequenced
- we still collect a list, but only for tracking commandsInFlight
* filter out compatibility tests for triggers before now
* remove commented imports, libraries from new shared converter
* make the TriggerF interpreter tail-recursive
* remove unused compatibility trait
* add back new state logging
* remove refactoring comment
* rewrite some LowLevel initialStates in do
* hide Daml.Script.Free from docs
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
* remove forwardPortInitialState
- suggested by @cocreature; thanks
* manually port low-level updates
- suggested by @cocreature; thanks
* remove forwardPort
- suggested by @cocreature; thanks
* fail faster on unrecognized TriggerF
- suggested by @cocreature; thanks
Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-10-02 21:18:13 +03:00
|
|
|
- target: //daml-script/converter:converter
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //language-support/codegen-common:codegen-common
|
|
|
|
type: jar-scala
|
|
|
|
- target: //language-support/codegen-main:shaded_binary
|
2021-02-26 23:20:04 +03:00
|
|
|
type: jar-jarjar
|
2019-04-12 15:57:37 +03:00
|
|
|
- target: //language-support/java/bindings:bindings-java
|
|
|
|
type: jar-lib
|
|
|
|
- target: //language-support/java/bindings-rxjava:bindings-rxjava
|
|
|
|
type: jar-lib
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //language-support/java/codegen:lib
|
|
|
|
type: jar-scala
|
|
|
|
- target: //language-support/java/codegen:shaded_binary
|
2021-02-26 23:20:04 +03:00
|
|
|
type: jar-jarjar
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //language-support/scala/bindings:bindings
|
|
|
|
type: jar-scala
|
|
|
|
- target: //language-support/scala/bindings-akka:bindings-akka
|
|
|
|
type: jar-scala
|
|
|
|
- target: //language-support/scala/codegen:codegen
|
|
|
|
type: jar-scala
|
2020-11-27 20:14:48 +03:00
|
|
|
- target: //ledger-api/grpc-definitions:ledger_api_proto_jar
|
|
|
|
type: jar-lib
|
|
|
|
- target: //ledger-api/grpc-definitions:ledger_api_proto_scala
|
2019-06-17 16:37:49 +03:00
|
|
|
type: jar-scala
|
2019-04-12 15:57:37 +03:00
|
|
|
- target: //ledger-api/rs-grpc-akka:rs-grpc-akka
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger-api/rs-grpc-bridge:rs-grpc-bridge
|
|
|
|
type: jar-lib
|
2019-11-22 17:02:05 +03:00
|
|
|
- target: //ledger-api/rs-grpc-testing-utils:rs-grpc-testing-utils
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger-api/testing-utils:testing-utils
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-05-20 16:51:45 +03:00
|
|
|
- target: //ledger/caching:caching
|
|
|
|
type: jar-scala
|
2020-10-26 20:53:37 +03:00
|
|
|
- target: //ledger/cli-opts:cli-opts
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-api-akka:ledger-api-akka
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2019-10-29 18:46:43 +03:00
|
|
|
- target: //ledger/ledger-api-auth:ledger-api-auth
|
|
|
|
type: jar-scala
|
2019-11-26 21:51:09 +03:00
|
|
|
- target: //ledger/ledger-api-auth-client:ledger-api-auth-client
|
|
|
|
type: jar-lib
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-api-client:ledger-api-client
|
2019-11-14 20:40:54 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-api-common:ledger-api-common
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-api-domain:ledger-api-domain
|
2019-06-17 16:37:49 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-api-health:ledger-api-health
|
2019-11-14 20:40:54 +03:00
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-api-test-tool:ledger-api-test-tool
|
2019-04-12 15:57:37 +03:00
|
|
|
type: jar-deploy
|
2020-08-13 15:32:04 +03:00
|
|
|
- target: //ledger/ledger-on-memory:ledger-on-memory
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger/ledger-on-sql:ledger-on-sql
|
2019-06-17 16:37:49 +03:00
|
|
|
type: jar-scala
|
2020-10-20 12:26:28 +03:00
|
|
|
- target: //ledger/ledger-resources:ledger-resources
|
|
|
|
type: jar-scala
|
2020-04-14 15:32:03 +03:00
|
|
|
- target: //ledger/metrics:metrics
|
|
|
|
type: jar-scala
|
2020-07-17 18:06:06 +03:00
|
|
|
- target: //ledger/participant-integration-api:ledger-api-server
|
|
|
|
type: jar-scala
|
|
|
|
- target: //ledger/participant-integration-api:participant-integration-api
|
|
|
|
type: jar-scala
|
2019-04-23 15:00:55 +03:00
|
|
|
- target: //ledger/participant-state:participant-state
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-12-01 10:47:44 +03:00
|
|
|
- target: //ledger/participant-state/kvutils:daml_kvutils_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //ledger/participant-state/kvutils:daml_kvutils_proto_java
|
2019-04-29 17:05:22 +03:00
|
|
|
type: jar-proto
|
|
|
|
- target: //ledger/participant-state/kvutils:kvutils
|
2019-04-29 18:11:01 +03:00
|
|
|
type: jar-scala
|
2020-02-12 11:45:52 +03:00
|
|
|
- target: //ledger/participant-state/kvutils/app:app
|
|
|
|
type: jar-scala
|
2020-11-06 18:20:21 +03:00
|
|
|
- target: //ledger/participant-state/kvutils/tools:tools
|
|
|
|
type: jar-scala
|
2020-12-03 14:52:18 +03:00
|
|
|
- target: //ledger/participant-state/protobuf:ledger_configuration_proto_jar
|
|
|
|
type: jar-lib
|
2020-11-27 11:34:53 +03:00
|
|
|
- target: //ledger/participant-state/protobuf:ledger_configuration_proto_java
|
2020-02-13 16:52:48 +03:00
|
|
|
type: jar-proto
|
|
|
|
- target: //ledger/participant-state-index:participant-state-index
|
2019-08-14 20:19:31 +03:00
|
|
|
type: jar-scala
|
2020-03-25 18:11:37 +03:00
|
|
|
- target: //ledger/participant-state-metrics:participant-state-metrics
|
|
|
|
type: jar-scala
|
2021-03-09 21:35:14 +03:00
|
|
|
- target: //ledger/sandbox:sandbox-ce
|
2019-08-14 20:19:31 +03:00
|
|
|
type: jar-scala
|
2020-07-17 18:06:06 +03:00
|
|
|
- target: //ledger/sandbox-common:sandbox-common
|
|
|
|
type: jar-scala
|
2021-03-09 21:35:14 +03:00
|
|
|
- target: //ledger/sandbox-common:sandbox-common-ce
|
|
|
|
type: jar-scala
|
|
|
|
- target: //ledger/sandbox-classic:sandbox-classic-ce
|
2020-07-17 18:06:06 +03:00
|
|
|
type: jar-scala
|
json-api: store contracts similar to Extractor's single-table (#3192)
* new library ledger-service/db-backend
* borrow contracts table schema from extractor
* borrow contract insertion, removing some data to be unused
* match contract schema with insert function
* factor insertContract arguments
* offset table declarations
* CLI argument for query store
* surrogate template IDs
* compute surrogate template IDs on-the-fly
* database init action
* incoherent typeclasses, eh
* newtype SurrogateTpId
* offset fetch/update functions
* bad sql
* bulk insert contracts, function for selecting contracts
* expose contract column name for query's usage
* Initializing DB on startup if configured
* dropping existing tables as part of initialization
* fix some query syntax errors
* createSchema flag
* function for streaming transactions with jwt party selected
* formatting
* usage
* collect acs contracts and the ledger offset at the end
* lastOffset
* fixing merge conflicts, updating the way 3rd party deps are specified
* Moving ContractDao into http-json module
so it can take domain AST as an input
* cleanup
* injecting new dependencies
* split transaction batches into inserts and deletes
* generate sql for deleting contracts
* `fetch_sources = True` for java_deps
* make the delete-constructed fragment more efficient; handle empty list here
* pass logHandler for insertContracts
* ContractDao returns ConnectionIO, it's up to the caller to wrap query into a transaction
* fixing typo
* minor cleanup, moving fromLedgerApi factory function into corresponding companion objects
* don't need it any more
* GetActiveContractsResponse => domain.Contract factory
* make concatFragment private
* add partition graph; move other contract-fetching experiments to ContractsFetch
* experimenting with akka sources
* introducing domain.Offset to work around API's empty/null offset cases
* minor cleanup
* decompose fetchActiveContractsFromOffset
* missed via
* ACS splitting graph
* finish doc for ACS splitting graph
* remove unneeded stages
* WIP
* lazily read a stream of ConnectionIO into a single ConnectionIO
* cancel on IO error
* figuring out how to put all the pieces together
* graph WIP
* Removing workflowId from the JSON API
* simplify acsAndBoundary; describe other flow pieces
* WIP
* use Vector in InsertDeleteStep; add variant for ACS (no deletes)
* `org.wartremover.warts.NonUnitStatements` enforced in `http-json` module
* evaluate InsertDeleteStep to a ConnectionIO
* database variant of LfValueCodec, using numbers for numbers
* convert input to JSON, combine insert plans, connect rest of contractsToOffsetIo
* remove strict contractsToOffset sink
* moving dao methods into an object
* putting pieces together
* contractsFromOffset WIP
* should be it
* cleanup
* cleanup
* contractsIo that takes List[domain.TemplateId.RequiredPkg])
* contractsIo that takes List[domain.TemplateId.RequiredPkg])
* cleanup
* put all pieces together, testing
something does not work yet
* diff is not required to return anything
that is why Sink.lastOption that gives Option[domain.Offset]
* factor out tuple split
* use traverse syntax in contractsIo2
* factor explicit flow steps out of graph DSL; remove aggregate
* locally model the Absolute/Begin distinction for offset bookmarking in DB
* Adding test cases to run HTTP Service with Postgres backend
the same set of test cases, run with and without DB backend
* make better use of domain.Offset in OffsetBoundary
* monomorphize InsertDeleteStep#append
* Disabling a test that fails with DB backend
* add release note
* add release note about workflowId
* a test case that checks the number or stored contracts
* trying to figure out why Postgres test fails on Windows with NPE
2019-11-06 21:53:16 +03:00
|
|
|
- target: //ledger-service/db-backend:db-backend
|
|
|
|
type: jar-scala
|
2019-08-14 20:19:31 +03:00
|
|
|
- target: //ledger-service/http-json:http-json
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger-service/lf-value-json:lf-value-json
|
2019-12-05 16:04:20 +03:00
|
|
|
type: jar-scala
|
2020-04-16 20:12:30 +03:00
|
|
|
- target: //ledger-service/cli-opts:cli-opts
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //ledger-service/jwt:jwt
|
|
|
|
type: jar-scala
|
|
|
|
- target: //ledger-service/utils:utils
|
2019-11-14 20:40:54 +03:00
|
|
|
type: jar-scala
|
2019-12-05 15:31:14 +03:00
|
|
|
- target: //libs-scala/auth-utils:auth-utils
|
|
|
|
type: jar-scala
|
2020-09-17 20:12:40 +03:00
|
|
|
- target: //libs-scala/build-info:build-info
|
|
|
|
type: jar-scala
|
|
|
|
- target: //libs-scala/concurrent:concurrent
|
|
|
|
type: jar-scala
|
2020-01-21 16:25:06 +03:00
|
|
|
- target: //libs-scala/contextualized-logging:contextualized-logging
|
|
|
|
type: jar-scala
|
2021-02-03 13:45:05 +03:00
|
|
|
- target: //libs-scala/doobie-slf4j:doobie-slf4j
|
|
|
|
type: jar-scala
|
2019-11-19 19:12:25 +03:00
|
|
|
- target: //libs-scala/grpc-utils:grpc-utils
|
|
|
|
type: jar-scala
|
2020-03-03 11:59:15 +03:00
|
|
|
- target: //libs-scala/ports:ports
|
|
|
|
type: jar-scala
|
2020-01-16 17:13:18 +03:00
|
|
|
- target: //libs-scala/resources:resources
|
|
|
|
type: jar-scala
|
|
|
|
- target: //libs-scala/resources-akka:resources-akka
|
|
|
|
type: jar-scala
|
2021-01-25 12:32:36 +03:00
|
|
|
- target: //libs-scala/resources-grpc:resources-grpc
|
|
|
|
type: jar-scala
|
2020-09-17 20:12:40 +03:00
|
|
|
- target: //libs-scala/scala-utils:scala-utils
|
|
|
|
type: jar-scala
|
2020-05-28 00:25:43 +03:00
|
|
|
- target: //libs-scala/scalatest-utils:scalatest-utils
|
|
|
|
type: jar-scala
|
2019-11-19 19:12:25 +03:00
|
|
|
- target: //libs-scala/timer-utils:timer-utils
|
|
|
|
type: jar-scala
|
2020-02-13 16:52:48 +03:00
|
|
|
- target: //triggers/runner:trigger-runner-lib
|
|
|
|
type: jar-scala
|