
com.marklogic.appdeployer.command.forests.DefaultForestNamingStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
package com.marklogic.appdeployer.command.forests;
import com.marklogic.appdeployer.AppConfig;
public class DefaultForestNamingStrategy implements ForestNamingStrategy {
@Override
public String getForestName(String databaseName, int forestNumber, AppConfig appConfig) {
return databaseName + "-" + forestNumber;
}
@Override
public String getReplicaName(String databaseName, String forestName, int forestReplicaNumber, AppConfig appConfig) {
return forestName + "-replica-" + forestReplicaNumber;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy