public class SqlServerController extends SqlDatabaseController
| Modifier and Type | Field and Description |
|---|---|
private static String |
DB_INIT_SCRIPT_PATH |
private static String |
DB_INIT_SCRIPT_PATH_CONTAINER |
private Path |
initScript |
private static org.slf4j.Logger |
LOGGER |
dbType, deployment, name, ocp, ocpUtils, project, services| Constructor and Description |
|---|
SqlServerController(io.fabric8.kubernetes.api.model.apps.Deployment deployment,
List<io.fabric8.kubernetes.api.model.Service> services,
String dbType,
io.fabric8.openshift.client.OpenShiftClient ocp) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
constructDatabaseUrl(String hostname,
int port) |
void |
initialize() |
getDatabaseClientgetDatabaseUrl, reloadprivate static final org.slf4j.Logger LOGGER
private static final String DB_INIT_SCRIPT_PATH
private static final String DB_INIT_SCRIPT_PATH_CONTAINER
private final Path initScript
protected String constructDatabaseUrl(String hostname, int port)
constructDatabaseUrl in class SqlDatabaseControllerpublic void initialize()
throws InterruptedException
initialize in class SqlDatabaseControllerInterruptedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.