org.liquibase.ext.dbmarlin.DBmarlinConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-dbmarlin Show documentation
Show all versions of liquibase-dbmarlin Show documentation
This extension shares database deployment information from Liquibase to DBmarlin's timeline for context and insights into database performance.
The newest version!
package org.liquibase.ext.dbmarlin;
import liquibase.configuration.AutoloadedConfigurations;
import liquibase.configuration.ConfigurationDefinition;
public class DBmarlinConfiguration implements AutoloadedConfigurations {
public static ConfigurationDefinition DBMARLIN_URL;
public static ConfigurationDefinition DBMARLIN_INSTANCE_ID;
public static ConfigurationDefinition DBMARLIN_EVENT_TYPE_ID;
public static ConfigurationDefinition DBMARLIN_API_KEY;
static {
ConfigurationDefinition.Builder builder = new ConfigurationDefinition.Builder("dbmarlin");
DBMARLIN_URL = builder.define("url", String.class)
.setDescription("URL for DBmarlin Database performance monitoring platform.")
.setDefaultValue("")
.build();
DBMARLIN_INSTANCE_ID = builder.define("instanceId", Integer.class)
.setDescription("The database target ID from the DBmarlin dashboard.")
//.setDefaultValue(0)
.build();
DBMARLIN_API_KEY = builder.define("apiKey", String.class)
.setDescription("The Base64 encoded user:password for DBmarlin UI/API.")
.setDefaultValue("")
.build();
DBMARLIN_EVENT_TYPE_ID = builder.define("eventTypeId", Integer.class)
.setDescription("The event type ID from the DBmarlin dashboard.")
.setDefaultValue(5)
.build();
}
}