object LedgerApiJdbcUrl
Canton's storage is configured using Slick's configuration.
This offers an expansive set of options allowing you to configure a connection pool, data source, or JDBC driver.
The ledger-api configuration however only takes a JDBC url.
LedgerApiJdbcUrl generator attempts to scrape together enough from Slick's configuration to generate
a jdbc url for the targeted database (currently either H2 or Postgres).
It also adds a schema specification to point the ledger-api server at a distinct schema from canton allowing
it to be managed separately.
Although it is expected a JDBC url will be generated for almost all circumstances, if this process fails or an
advanced configuration is required the com.digitalasset.canton.config.DbParametersConfig.ledgerApiJdbcUrl configuration can be explicitly set
and this will be used instead. This manually configured url **must** specify using the schema of ledger_api
.
- Alphabetic
- By Inheritance
- LedgerApiJdbcUrl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromDbConfig(dbConfig: DbConfig): Either[FailedToConfigureLedgerApiStorage, LedgerApiJdbcUrl]
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def reusePostgres(pgConfig: Config): Either[String, LedgerApiJdbcUrl]
- 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])