daml/ledger/api-server-damlonx/BUILD.bazel

46 lines
1.6 KiB
Python
Raw Normal View History

2019-08-13 19:23:03 +03:00
# Copyright (c) 2019 The DAML Authors. All rights reserved.
DamlOnX reference implementation (#348) * Add participant-state and participant-state-index APIs and reference implementations This adds the (still WIP) interfaces and the in-memory reference implementations of participant-state and participant-state-index. See issue #137. * Pass ledgerId through to getLedgerEnd method This is needed in the daml-on-x implementation of the transaction service. * Add api-server-damlonx and the reference server This is the initial version of the ledger-api server built on top of the participant state APIs. While functionally complete (modulo test services), it has only yet been tested with the semantic tester. The server and the participant state APIs are still under active development. See issue #137. * Apply scalafmt and copyright headers to new damlonx code * ledger/damlonx: Fix build errors after merge from master * ledger/participant-state: separate out the reference impl * ledger/participant-state-index: separate out reference impl * ledger/damlonx: Refactoring - Refactor participant-state into multiple modules - Introduce structured offset and update id types (vector of ints) - Properly parse ledger feature flags * ledger: Disable failing semantic test. Decrease grouping duration. * scalafmt, fix after merge * Add missing copyright headers * ledger/damlonx: Add Simon's comments * ledger/damlonx: Remove UpdateId, use Offset in both state and state-index. * ledger/damlonx: scalafmt * damlonxserver: review participant-state interface Includes adding issue links for postponed fixes. * daml-on-x-server: review reference implementation Fixme's added to https://github.com/digital-asset/daml/pull/348 and extra issues creaed in https://github.com/digital-asset/daml/milestone/4 * ledger/damlonx: Use SimpleString * ledgre/damlonx: Backtrack on SimpleString change See issue #398 * daml-on-x-server: drop unused 'index.impl.reference.package.scala' * daml-on-x-server: add note on potential transient contracts bug * ledger/participant-state*: post-merge fixes
2019-04-11 19:05:08 +03:00
# SPDX-License-Identifier: Apache-2.0
load(
"//bazel_tools:scala.bzl",
"da_scala_library",
DamlOnX reference implementation (#348) * Add participant-state and participant-state-index APIs and reference implementations This adds the (still WIP) interfaces and the in-memory reference implementations of participant-state and participant-state-index. See issue #137. * Pass ledgerId through to getLedgerEnd method This is needed in the daml-on-x implementation of the transaction service. * Add api-server-damlonx and the reference server This is the initial version of the ledger-api server built on top of the participant state APIs. While functionally complete (modulo test services), it has only yet been tested with the semantic tester. The server and the participant state APIs are still under active development. See issue #137. * Apply scalafmt and copyright headers to new damlonx code * ledger/damlonx: Fix build errors after merge from master * ledger/participant-state: separate out the reference impl * ledger/participant-state-index: separate out reference impl * ledger/damlonx: Refactoring - Refactor participant-state into multiple modules - Introduce structured offset and update id types (vector of ints) - Properly parse ledger feature flags * ledger: Disable failing semantic test. Decrease grouping duration. * scalafmt, fix after merge * Add missing copyright headers * ledger/damlonx: Add Simon's comments * ledger/damlonx: Remove UpdateId, use Offset in both state and state-index. * ledger/damlonx: scalafmt * damlonxserver: review participant-state interface Includes adding issue links for postponed fixes. * daml-on-x-server: review reference implementation Fixme's added to https://github.com/digital-asset/daml/pull/348 and extra issues creaed in https://github.com/digital-asset/daml/milestone/4 * ledger/damlonx: Use SimpleString * ledgre/damlonx: Backtrack on SimpleString change See issue #398 * daml-on-x-server: drop unused 'index.impl.reference.package.scala' * daml-on-x-server: add note on potential transient contracts bug * ledger/participant-state*: post-merge fixes
2019-04-11 19:05:08 +03:00
)
da_scala_library(
name = "api-server-damlonx",
srcs = glob(["src/main/scala/**/*.scala"]),
resources = glob(["src/main/resources/**/*"]),
tags = ["maven_coordinates=com.daml.ledger:api-server-damlonx:__VERSION__"],
visibility = [
"//visibility:public",
],
runtime_deps = [],
deps = [
"//3rdparty/jvm/com/google/protobuf:protobuf_java",
"//3rdparty/jvm/com/typesafe/akka:akka_stream",
"//3rdparty/jvm/io/grpc:grpc_netty",
"//3rdparty/jvm/io/grpc:grpc_services",
"//3rdparty/jvm/io/netty:netty_handler",
"//3rdparty/jvm/org/scala_lang/modules:scala_java8_compat",
"//3rdparty/jvm/org/scalaz:scalaz_core",
"//3rdparty/jvm/org/slf4j:slf4j_api",
"//daml-lf/archive:daml_lf_archive_scala",
"//daml-lf/archive:daml_lf_java_proto",
"//daml-lf/data",
"//daml-lf/engine",
"//daml-lf/interpreter",
"//daml-lf/language",
"//daml-lf/transaction",
"//language-support/scala/bindings",
"//ledger-api/rs-grpc-akka",
"//ledger-api/rs-grpc-bridge",
"//ledger/ledger-api-akka",
"//ledger/ledger-api-client",
"//ledger/ledger-api-common",
"//ledger/ledger-api-domain",
"//ledger/ledger-api-scala-logging",
"//ledger/participant-state",
"//ledger/participant-state-index:participant-state-index-v1",
],
DamlOnX reference implementation (#348) * Add participant-state and participant-state-index APIs and reference implementations This adds the (still WIP) interfaces and the in-memory reference implementations of participant-state and participant-state-index. See issue #137. * Pass ledgerId through to getLedgerEnd method This is needed in the daml-on-x implementation of the transaction service. * Add api-server-damlonx and the reference server This is the initial version of the ledger-api server built on top of the participant state APIs. While functionally complete (modulo test services), it has only yet been tested with the semantic tester. The server and the participant state APIs are still under active development. See issue #137. * Apply scalafmt and copyright headers to new damlonx code * ledger/damlonx: Fix build errors after merge from master * ledger/participant-state: separate out the reference impl * ledger/participant-state-index: separate out reference impl * ledger/damlonx: Refactoring - Refactor participant-state into multiple modules - Introduce structured offset and update id types (vector of ints) - Properly parse ledger feature flags * ledger: Disable failing semantic test. Decrease grouping duration. * scalafmt, fix after merge * Add missing copyright headers * ledger/damlonx: Add Simon's comments * ledger/damlonx: Remove UpdateId, use Offset in both state and state-index. * ledger/damlonx: scalafmt * damlonxserver: review participant-state interface Includes adding issue links for postponed fixes. * daml-on-x-server: review reference implementation Fixme's added to https://github.com/digital-asset/daml/pull/348 and extra issues creaed in https://github.com/digital-asset/daml/milestone/4 * ledger/damlonx: Use SimpleString * ledgre/damlonx: Backtrack on SimpleString change See issue #398 * daml-on-x-server: drop unused 'index.impl.reference.package.scala' * daml-on-x-server: add note on potential transient contracts bug * ledger/participant-state*: post-merge fixes
2019-04-11 19:05:08 +03:00
)