case class CantonCommunityConfig(domains: Map[InstanceName, CommunityDomainConfig] = Map.empty, participants: Map[InstanceName, CommunityParticipantConfig] = Map.empty, remoteDomains: Map[InstanceName, RemoteDomainConfig] = Map.empty, remoteParticipants: Map[InstanceName, RemoteParticipantConfig] = Map.empty, monitoring: MonitoringConfig = MonitoringConfig(), parameters: CantonParameters = CantonParameters(), features: CantonFeatures = CantonFeatures()) extends CantonConfig with ConfigDefaults[DefaultPorts, CantonCommunityConfig] with Product with Serializable
- Alphabetic
- By Inheritance
- CantonCommunityConfig
- Serializable
- Product
- Equals
- ConfigDefaults
- CantonConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CantonCommunityConfig(domains: Map[InstanceName, CommunityDomainConfig] = Map.empty, participants: Map[InstanceName, CommunityParticipantConfig] = Map.empty, remoteDomains: Map[InstanceName, RemoteDomainConfig] = Map.empty, remoteParticipants: Map[InstanceName, RemoteParticipantConfig] = Map.empty, monitoring: MonitoringConfig = MonitoringConfig(), parameters: CantonParameters = CantonParameters(), features: CantonFeatures = CantonFeatures())
Type Members
- type DomainConfigType = CommunityDomainConfig
- Definition Classes
- CantonCommunityConfig → CantonConfig
- type ParticipantConfigType = CommunityParticipantConfig
- Definition Classes
- CantonCommunityConfig → CantonConfig
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() @HotSpotIntrinsicCandidate()
- val domains: Map[InstanceName, CommunityDomainConfig]
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
- Definition Classes
- CantonCommunityConfig → CantonConfig
- def domainsByString: Map[String, DomainConfigType]
Use
domains
instead!Use
domains
instead!- Definition Classes
- CantonConfig
- def dumpString: String
renders the config as json (used for dumping config for diagnostic purposes)
renders the config as json (used for dumping config for diagnostic purposes)
- Definition Classes
- CantonCommunityConfig → CantonConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val features: CantonFeatures
control which features are enabled
control which features are enabled
- Definition Classes
- CantonCommunityConfig → CantonConfig
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mkPortDescription: String
- Attributes
- protected
- Definition Classes
- CantonConfig
- val monitoring: MonitoringConfig
determines how this Canton process can be monitored
determines how this Canton process can be monitored
- Definition Classes
- CantonCommunityConfig → CantonConfig
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeParametersFor[A](cachedNodeParameters: Map[InstanceName, A], kind: String, name: InstanceName): A
- Attributes
- protected
- Definition Classes
- CantonConfig
- def nodePortsDescription(nodeName: InstanceName, portDescriptions: Seq[String]): String
- Attributes
- protected
- Definition Classes
- CantonConfig
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parameters: CantonParameters
per-environment parameters to control enabled features and set testing parameters
per-environment parameters to control enabled features and set testing parameters
- Definition Classes
- CantonCommunityConfig → CantonConfig
- val participants: Map[InstanceName, CommunityParticipantConfig]
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
- Definition Classes
- CantonCommunityConfig → CantonConfig
- def participantsByString: Map[String, ParticipantConfigType]
Use
participants
instead!Use
participants
instead!- Definition Classes
- CantonConfig
- 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)
- Definition Classes
- CantonConfig
- def portDescriptionFromConfig[C](config: C)(apiNamesAndExtractors: Seq[(String, (C) => ServerConfig)]): Seq[String]
- Attributes
- protected
- Definition Classes
- CantonConfig
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val remoteDomains: Map[InstanceName, RemoteDomainConfig]
all remotely running domains to which the console can connect and operate on
all remotely running domains to which the console can connect and operate on
- Definition Classes
- CantonCommunityConfig → CantonConfig
- def remoteDomainsByString: Map[String, RemoteDomainConfig]
Use
remoteDomains
instead!Use
remoteDomains
instead!- Definition Classes
- CantonConfig
- val remoteParticipants: Map[InstanceName, RemoteParticipantConfig]
all remotely running participants to which the console can connect and operate on
all remotely running participants to which the console can connect and operate on
- Definition Classes
- CantonCommunityConfig → CantonConfig
- def remoteParticipantsByString: Map[String, RemoteParticipantConfig]
Use
remoteParticipants
instead!Use
remoteParticipants
instead!- Definition Classes
- CantonConfig
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def validate: Validated[NonEmpty[Seq[String]], Unit]
run a validation on the current config and return possible warning messages
run a validation on the current config and return possible warning messages
- Definition Classes
- CantonCommunityConfig → CantonConfig
- 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])
- def withDefaults(ports: DefaultPorts): CantonCommunityConfig
Returns this configuration with defaults set if necessary.
Returns this configuration with defaults set if necessary.
- Definition Classes
- CantonCommunityConfig → ConfigDefaults