daml/ledger/ledger-api-test-tool-on-canton/canton.conf
Samir Talwar 6c1d931c05
ledger-api-test-tool-on-canton: Upgrade to Canton v0.7.0 and cl… (#4170)
* ledger-api-test-tool-on-canton: Upgrade Canton to v0.7.0.

CHANGELOG_BEGIN
CHANGELOG_END

* ledger-api-test-tool-on-canton: Use the health endpoint instead of `nc`.

Netty prints a warning when kicking it with `nc -z` from Nix's
netcat-gnu. Not other netcats though… don't know why.

* ledger-api-test-tool-on-canton: Let IntelliJ format the shell script.

* ledger-api-test-tool-on-canton: Stop Canton with SIGINT.

For some reason, Canton doesn't print out a load of errors if it's
stopped with SIGINT (Ctrl+C). SIGTERM, on the other hand…

* ledger-api-test-tool-on-canton: Write Canton logs to STDOUT.

Now the logs are no longer noisy, we can just pump them to STDOUT. This
should make debugging any transient issues on CI a lot easier.
2020-01-23 09:04:16 +01:00

54 lines
816 B
Plaintext

# Copyright (c) 2020 The DAML Authors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
canton {
domains {
test_domain {
storage {
type = memory
}
public-api.port = 4011
admin-api.port = 4012
}
}
participants {
participant_1 {
storage {
type = memory
}
ledger-api.port = 5011
admin-api.port = 5012
party-change-notification {
type = via-domain
}
}
participant_2 {
storage {
type = memory
}
ledger-api.port = 5021
admin-api.port = 5022
party-change-notification {
type = via-domain
}
}
}
monitoring.health {
server.port = 7000
check {
type = ping
participant = participant_1
interval = 5s
}
}
}