Releasing http-json-binary (#2751)

com/digitalasset/ledger-service/http-json-deploy/100.13.21
This commit is contained in:
Leonid Shlyapnikov 2019-09-04 15:47:24 -04:00 committed by GitHub
parent e364375ce6
commit 99e765a1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View File

@ -42,10 +42,14 @@ da_scala_library(
)
da_scala_binary(
name = "http-json-bin",
srcs = glob(["src/main/scala/**/*.scala"]),
name = "http-json-binary",
main_class = "com.digitalasset.http.Main",
scalacopts = hj_scalacopts,
tags = [
"maven_coordinates=com.digitalasset.ledger-service:http-json-deploy:__VERSION__",
"no_scala_version_suffix",
],
visibility = ["//visibility:public"],
deps = [":http-json"] + http_json_deps,
)

View File

@ -10,7 +10,7 @@ daml-head sandbox --wall-clock-time --ledgerid MyLedger ./.daml/dist/quickstart-
### Start HTTP service from the DAML project root
This will build the service first, can take up to 5-10 minutes when running first time.
```
$ bazel run //ledger-service/http-json:http-json-bin -- localhost 6865 7575
$ bazel run //ledger-service/http-json:http-json-binary -- localhost 6865 7575
```
Where:
- localhost 6865 -- sandbox host and port
@ -29,7 +29,7 @@ $ daml-head build
$ daml-head sandbox --wall-clock-time --ledgerid MyLedger ./.daml/dist/quickstart-0.0.1.dar
cd <daml-root>/
$ bazel run //ledger-service/http-json:http-json-bin -- localhost 6865 7575
$ bazel run //ledger-service/http-json:http-json-binary -- localhost 6865 7575
```
### Choosing a party

View File

@ -133,3 +133,5 @@
type: jar-scala
- target: //ledger-service/http-json:http-json
type: jar-scala
- target: //ledger-service/http-json:http-json-binary
type: jar-deploy