mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Releasing http-json-binary (#2751)
com/digitalasset/ledger-service/http-json-deploy/100.13.21
This commit is contained in:
parent
e364375ce6
commit
99e765a1e0
@ -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,
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user