com.digitalasset.canton.participant.config
DeclarativeParticipantConfig
Companion object DeclarativeParticipantConfig
final case class DeclarativeParticipantConfig(checkSelfConsistency: Boolean = true, fetchedDarDirectory: File = new File("fetched-dars"), dars: Seq[DeclarativeDarConfig] = Seq(), parties: Seq[DeclarativePartyConfig] = Seq(), removeParties: Boolean = false, idps: Seq[DeclarativeIdpConfig] = Seq(), removeIdps: Boolean = false, users: Seq[DeclarativeUserConfig] = Seq(), removeUsers: Boolean = false, connections: Seq[DeclarativeConnectionConfig] = Seq(), removeConnections: Boolean = false) extends UniformCantonConfigValidation with Product with Serializable
Declarative participant config
- checkSelfConsistency
if set to true (default), then after every sync operation we'll check again if it really succeeded
- fetchedDarDirectory
temporary directory to store the dars to
- dars
which dars should be uploaded
- parties
which parties should be allocated
- removeParties
if true, then any "excess party" found on the node will be deleted
- idps
which identity providers should be allocated
- removeIdps
if true, any excess idp found on the node will be deleted
- users
which users should be allocated
- removeUsers
if true, then any "excess user" found on the node will be deleted
- connections
which connections should be configured
- removeConnections
if true, then any excess connection will be disabled
- Alphabetic
- By Inheritance
- DeclarativeParticipantConfig
- Serializable
- Product
- Equals
- UniformCantonConfigValidation
- CustomCantonConfigValidation
- CantonConfigValidation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DeclarativeParticipantConfig(checkSelfConsistency: Boolean = true, fetchedDarDirectory: File = new File("fetched-dars"), dars: Seq[DeclarativeDarConfig] = Seq(), parties: Seq[DeclarativePartyConfig] = Seq(), removeParties: Boolean = false, idps: Seq[DeclarativeIdpConfig] = Seq(), removeIdps: Boolean = false, users: Seq[DeclarativeUserConfig] = Seq(), removeUsers: Boolean = false, connections: Seq[DeclarativeConnectionConfig] = Seq(), removeConnections: Boolean = false)
- checkSelfConsistency
if set to true (default), then after every sync operation we'll check again if it really succeeded
- fetchedDarDirectory
temporary directory to store the dars to
- dars
which dars should be uploaded
- parties
which parties should be allocated
- removeParties
if true, then any "excess party" found on the node will be deleted
- idps
which identity providers should be allocated
- removeIdps
if true, any excess idp found on the node will be deleted
- users
which users should be allocated
- removeUsers
if true, then any "excess user" found on the node will be deleted
- connections
which connections should be configured
- removeConnections
if true, then any excess connection will be disabled
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
- val checkSelfConsistency: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val connections: Seq[DeclarativeConnectionConfig]
- val dars: Seq[DeclarativeDarConfig]
- final def doValidate(edition: CantonEdition): Seq[CantonConfigValidationError]
Returns all validation errors that are specific to this Canton configuration class.
Returns all validation errors that are specific to this Canton configuration class. Successful validation should return an empty sequence.
Validation errors of subconfigurations should not be reported by this method, but via the type class derivation.
- Attributes
- protected
- Definition Classes
- UniformCantonConfigValidation → CustomCantonConfigValidation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fetchedDarDirectory: File
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val idps: Seq[DeclarativeIdpConfig]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val parties: Seq[DeclarativePartyConfig]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val removeConnections: Boolean
- val removeIdps: Boolean
- val removeParties: Boolean
- val removeUsers: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val users: Seq[DeclarativeUserConfig]
- final def validate[T >: DeclarativeParticipantConfig.this.type](edition: CantonEdition)(implicit validator: CantonConfigValidator[T]): Either[NonEmpty[Seq[CantonConfigValidationError]], Unit]
- Definition Classes
- CantonConfigValidation
- 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])