Managed

class Managed(val name: String?, val discovery: DataSourceConfigurationProperties.Discovery?, val peer: DataSourceConfigurationProperties.Peer?, val logDirectory: String?, val extraConfigurationFile: Resource?)(source)

Constructors

Link copied to clipboard
constructor(name: String?, discovery: DataSourceConfigurationProperties.Discovery?, peer: DataSourceConfigurationProperties.Peer?, logDirectory: String?, extraConfigurationFile: Resource?)

Properties

Link copied to clipboard
val extraConfigurationFile: Resource?

Additional configuration to pass to the managed DataSource as documented here: https://www.caplin.com/developer/caplin-platform/datasource/datasource-datasource-configuration-reference-introduction#links-to-the-datasource-configuration-reference-pages

Link copied to clipboard

The path to write DataSource logs to. If unspecified, then this writes to a temporary directory which is logged on startup.

Link copied to clipboard
val name: String?

The name for the DataSource. If unspecified, then this falls back to the value of spring.application.name and then to the fixed value "caplin-adapter". This is also used to generate a label by which this peer is known as by other processes in the format - where the name is stripped of non-alphanumeric characters.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String