mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
0e71a2d3d2
* 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>
158 lines
5.5 KiB
YAML
158 lines
5.5 KiB
YAML
# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
- target: //daml-assistant/scala-daml-project-config:scala-daml-project-config
|
|
type: jar-scala
|
|
- target: //daml-lf/archive:daml_lf_1.6_archive_java_proto
|
|
type: jar-lib
|
|
javadoc-jar: daml_lf_1.6_archive_java_proto_javadoc.jar
|
|
- target: //daml-lf/archive:daml_lf_1.7_archive_java_proto
|
|
type: jar-lib
|
|
javadoc-jar: daml_lf_1.7_archive_java_proto_javadoc.jar
|
|
- target: //daml-lf/archive:daml_lf_1.8_archive_java_proto
|
|
type: jar-lib
|
|
javadoc-jar: daml_lf_1.8_archive_java_proto_javadoc.jar
|
|
- target: //daml-lf/archive:daml_lf_dev_archive_java_proto
|
|
type: jar-lib
|
|
javadoc-jar: daml_lf_dev_archive_java_proto_javadoc.jar
|
|
- target: //daml-lf/archive:daml_lf_archive_reader
|
|
type: jar-scala
|
|
- target: //daml-lf/data:data
|
|
type: jar-scala
|
|
- target: //daml-lf/data-scalacheck:data-scalacheck
|
|
type: jar-scala
|
|
- target: //daml-lf/engine:engine
|
|
type: jar-scala
|
|
- target: //daml-lf/interface:interface
|
|
type: jar-scala
|
|
- target: //daml-lf/interpreter:interpreter
|
|
type: jar-scala
|
|
- target: //daml-lf/language:language
|
|
type: jar-scala
|
|
- target: //daml-lf/scenario-interpreter:scenario-interpreter
|
|
type: jar-scala
|
|
- target: //daml-lf/transaction:transaction
|
|
type: jar-scala
|
|
- target: //daml-lf/transaction:transaction_java_proto
|
|
type: jar-proto
|
|
- target: //daml-lf/transaction:value_java_proto
|
|
type: jar-proto
|
|
- target: //daml-lf/transaction-test-lib:transaction-test-lib
|
|
type: jar-scala
|
|
- target: //daml-lf/validation:validation
|
|
type: jar-scala
|
|
- target: //daml-script/converter:converter
|
|
type: jar-scala
|
|
- target: //language-support/codegen-common:codegen-common
|
|
type: jar-scala
|
|
- target: //language-support/codegen-main:shaded_binary
|
|
type: jar-scala
|
|
- target: //language-support/java/bindings:bindings-java
|
|
type: jar-lib
|
|
- target: //language-support/java/bindings-rxjava:bindings-rxjava
|
|
type: jar-lib
|
|
- target: //language-support/java/codegen:lib
|
|
type: jar-scala
|
|
- target: //language-support/java/codegen:shaded_binary
|
|
type: jar-scala
|
|
- 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
|
|
- target: //ledger-api/grpc-definitions:ledger-api-scalapb
|
|
type: jar-scala
|
|
- target: //ledger-api/rs-grpc-akka:rs-grpc-akka
|
|
type: jar-scala
|
|
- target: //ledger-api/rs-grpc-bridge:rs-grpc-bridge
|
|
type: jar-lib
|
|
- target: //ledger-api/rs-grpc-testing-utils:rs-grpc-testing-utils
|
|
type: jar-scala
|
|
- target: //ledger-api/testing-utils:testing-utils
|
|
type: jar-scala
|
|
- target: //ledger/caching:caching
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-akka:ledger-api-akka
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-auth:ledger-api-auth
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-auth-client:ledger-api-auth-client
|
|
type: jar-lib
|
|
- target: //ledger/ledger-api-client:ledger-api-client
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-common:ledger-api-common
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-domain:ledger-api-domain
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-health:ledger-api-health
|
|
type: jar-scala
|
|
- target: //ledger/ledger-api-test-tool:ledger-api-test-tool
|
|
type: jar-deploy
|
|
- target: //ledger/ledger-on-memory:ledger-on-memory
|
|
type: jar-scala
|
|
- target: //ledger/ledger-on-sql:ledger-on-sql
|
|
type: jar-scala
|
|
- target: //ledger/metrics:metrics
|
|
type: jar-scala
|
|
- target: //ledger/participant-integration-api:ledger-api-server
|
|
type: jar-scala
|
|
- target: //ledger/participant-integration-api:participant-integration-api
|
|
type: jar-scala
|
|
- target: //ledger/participant-state:participant-state
|
|
type: jar-scala
|
|
- target: //ledger/participant-state/kvutils:daml_kvutils_java_proto
|
|
type: jar-proto
|
|
- target: //ledger/participant-state/kvutils:kvutils
|
|
type: jar-scala
|
|
- target: //ledger/participant-state/kvutils/app:app
|
|
type: jar-scala
|
|
- target: //ledger/participant-state/protobuf:ledger_configuration_java_proto
|
|
type: jar-proto
|
|
- target: //ledger/participant-state-index:participant-state-index
|
|
type: jar-scala
|
|
- target: //ledger/participant-state-metrics:participant-state-metrics
|
|
type: jar-scala
|
|
- target: //ledger/sandbox:sandbox
|
|
type: jar-scala
|
|
- target: //ledger/sandbox-common:sandbox-common
|
|
type: jar-scala
|
|
- target: //ledger/sandbox-classic:sandbox-classic
|
|
type: jar-scala
|
|
- target: //ledger-service/db-backend:db-backend
|
|
type: jar-scala
|
|
- target: //ledger-service/http-json:http-json
|
|
type: jar-scala
|
|
- target: //ledger-service/lf-value-json:lf-value-json
|
|
type: jar-scala
|
|
- target: //ledger-service/cli-opts:cli-opts
|
|
type: jar-scala
|
|
- target: //ledger-service/jwt:jwt
|
|
type: jar-scala
|
|
- target: //ledger-service/utils:utils
|
|
type: jar-scala
|
|
- target: //libs-scala/auth-utils:auth-utils
|
|
type: jar-scala
|
|
- target: //libs-scala/build-info:build-info
|
|
type: jar-scala
|
|
- target: //libs-scala/concurrent:concurrent
|
|
type: jar-scala
|
|
- target: //libs-scala/contextualized-logging:contextualized-logging
|
|
type: jar-scala
|
|
- target: //libs-scala/grpc-utils:grpc-utils
|
|
type: jar-scala
|
|
- target: //libs-scala/ports:ports
|
|
type: jar-scala
|
|
- target: //libs-scala/resources:resources
|
|
type: jar-scala
|
|
- target: //libs-scala/resources-akka:resources-akka
|
|
type: jar-scala
|
|
- target: //libs-scala/scala-utils:scala-utils
|
|
type: jar-scala
|
|
- target: //libs-scala/scalatest-utils:scalatest-utils
|
|
type: jar-scala
|
|
- target: //libs-scala/timer-utils:timer-utils
|
|
type: jar-scala
|
|
- target: //triggers/runner:trigger-runner-lib
|
|
type: jar-scala
|