mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
f4316bddf3
* Add telemetry classes from the oem integration kit and use it for command submissions * Change submitTransaction to submitTransactionWithTelemetry and add a deprecation * Fix tests * Revert "Change submitTransaction to submitTransactionWithTelemetry and add a deprecation" CHANGELOG_BEGIN - [Integration Kit] TelemetryContext has been introduced to the WriteService.submitTransaction method to support distributed tracing CHANGELOG_END
60 lines
1.8 KiB
Python
60 lines
1.8 KiB
Python
# Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load(
|
|
"//bazel_tools:scala.bzl",
|
|
"da_scala_library",
|
|
"da_scala_test_suite",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "participant-state",
|
|
srcs = glob(["src/main/scala/com/daml/ledger/participant/state/v1/**/*.scala"]),
|
|
resources = glob(["src/main/resources/**/*"]),
|
|
scala_deps = [
|
|
"@maven//:com_typesafe_akka_akka_actor",
|
|
"@maven//:com_typesafe_akka_akka_stream",
|
|
],
|
|
tags = ["maven_coordinates=com.daml:participant-state:__VERSION__"],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
exports = [
|
|
"//ledger/participant-state/protobuf:ledger_configuration_proto_java",
|
|
],
|
|
runtime_deps = [],
|
|
deps = [
|
|
"//daml-lf/archive:daml_lf_dev_archive_proto_java",
|
|
"//daml-lf/data",
|
|
"//daml-lf/transaction",
|
|
"//language-support/scala/bindings",
|
|
"//ledger/ledger-api-health",
|
|
"//ledger/metrics",
|
|
"//ledger/participant-state/protobuf:ledger_configuration_proto_java",
|
|
"@maven//:com_google_protobuf_protobuf_java",
|
|
"@maven//:org_slf4j_slf4j_api",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "sources",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
da_scala_test_suite(
|
|
name = "participant-state-tests",
|
|
size = "small",
|
|
srcs = glob(["src/test/suite/scala/**/*.scala"]),
|
|
resources = glob(["src/test/resources/*"]),
|
|
scala_deps = [
|
|
"@maven//:org_scalatest_scalatest",
|
|
"@maven//:org_scalaz_scalaz_core",
|
|
"@maven//:org_scala_lang_modules_scala_collection_compat",
|
|
],
|
|
deps = [
|
|
":participant-state",
|
|
"//daml-lf/transaction",
|
|
],
|
|
)
|