trait CantonConfig extends AnyRef
Root configuration parameters for a single Canton process.
- Alphabetic
- By Inheritance
- CantonConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type DomainConfigType <: DomainConfig with ConfigDefaults[DefaultPorts, DomainConfigType]
- abstract type ParticipantConfigType <: LocalParticipantConfig with ConfigDefaults[DefaultPorts, ParticipantConfigType]
Abstract Value Members
- abstract def domains: Map[InstanceName, DomainConfigType]
all domains that this Canton process can operate
all domains that this Canton process can operate
domains are grouped by their alias, which is used to identify domains locally
- abstract def dumpString: String
dump config to string (without sensitive data)
- abstract def features: CantonFeatures
control which features are enabled
- abstract def monitoring: MonitoringConfig
determines how this Canton process can be monitored
- abstract def parameters: CantonParameters
per-environment parameters to control enabled features and set testing parameters
- abstract def participants: Map[InstanceName, ParticipantConfigType]
all participants that this Canton process can operate or connect to
all participants that this Canton process can operate or connect to
participants are grouped by their local name
- abstract def remoteDomains: Map[InstanceName, RemoteDomainConfig]
all remotely running domains to which the console can connect and operate on
- abstract def remoteParticipants: Map[InstanceName, RemoteParticipantConfig]
all remotely running participants to which the console can connect and operate on
- abstract def validate: Validated[NonEmpty[Seq[String]], Unit]
run a validation on the current config and return possible warning messages
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def domainsByString: Map[String, DomainConfigType]
Use
domains
instead! - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mkPortDescription: String
- Attributes
- protected
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeParametersFor[A](cachedNodeParameters: Map[InstanceName, A], kind: String, name: InstanceName): A
- Attributes
- protected
- def nodePortsDescription(nodeName: InstanceName, portDescriptions: Seq[String]): String
- Attributes
- protected
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def participantsByString: Map[String, ParticipantConfigType]
Use
participants
instead! - lazy val portDescription: String
Produces a message in the structure "da:admin-api=1,public-api=2;participant1:admin-api=3,ledger-api=4".
Produces a message in the structure "da:admin-api=1,public-api=2;participant1:admin-api=3,ledger-api=4". Helpful for diagnosing port already bound issues during tests. Allows any config value to be be null (can happen with invalid configs or config stubbed in tests)
- def portDescriptionFromConfig[C](config: C)(apiNamesAndExtractors: Seq[(String, (C) => ServerConfig)]): Seq[String]
- Attributes
- protected
- def remoteDomainsByString: Map[String, RemoteDomainConfig]
Use
remoteDomains
instead! - def remoteParticipantsByString: Map[String, RemoteParticipantConfig]
Use
remoteParticipants
instead! - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])