Package cz.xtf.builder.db
Class PostgreSQL
-
- All Implemented Interfaces:
OpenShiftAuxiliary,SQLExecutor
@Deprecated public class PostgreSQL extends AbstractSQLDatabase
Deprecated.superseded byRedHatPostgreSQL
-
-
Field Summary
-
Fields inherited from class cz.xtf.builder.db.AbstractDatabase
configureEnvironment, dbName, external, isObjectStore, jndiName, nonXaDatasource, openShiftName, password, symbolicName, username, withLivenessProbe, withReadinessProbe, withStartupProbe
-
Fields inherited from class cz.xtf.builder.db.DefaultStatefulAuxiliary
dataDir, isStateful, persistentVolClaim, storagePartition
-
-
Constructor Summary
Constructors Constructor Description PostgreSQL()Deprecated.PostgreSQL(boolean withLivenessProbe, boolean withReadinessProbe)Deprecated.PostgreSQL(boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)Deprecated.PostgreSQL(PersistentVolumeClaim pvc)Deprecated.PostgreSQL(PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe)Deprecated.PostgreSQL(PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)Deprecated.PostgreSQL(String symbolicName, boolean withLivenessProbe, boolean withReadinessProbe)Deprecated.PostgreSQL(String symbolicName, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)Deprecated.PostgreSQL(String username, String password, String dbName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetImageName()Deprecated.Map<String,String>getImageVariables()Deprecated.protected StringgetJDBCConnectionStringPattern()Deprecated.intgetPort()Deprecated.protected ProbeSettingsgetProbeSettings()Deprecated.Get readiness and liveness probes settings.StringtoString()Deprecated.-
Methods inherited from class cz.xtf.builder.db.AbstractSQLDatabase
configureContainer, executeSQL, executeSQLFile, getSQLExecutor
-
Methods inherited from class cz.xtf.builder.db.AbstractDatabase
asObjectStore, configureApplicationDeployment, configureDeployment, configureDeployment, configureEnvironment, configureService, external, getDbName, getDeploymentConfigName, getEnvVarPrefix, getImageArgs, getPassword, getServiceAccount, getSymbolicName, getUsername, isObjectStore, jndiName, nonXaDatasource, setDeploymentConfigName, setEnvVarPrefix, withProbes
-
Methods inherited from class cz.xtf.builder.db.DefaultStatefulAuxiliary
stateful
-
-
-
-
Constructor Detail
-
PostgreSQL
public PostgreSQL()
Deprecated.
-
PostgreSQL
public PostgreSQL(boolean withLivenessProbe, boolean withReadinessProbe)Deprecated.
-
PostgreSQL
public PostgreSQL(boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)Deprecated.
-
PostgreSQL
public PostgreSQL(PersistentVolumeClaim pvc)
Deprecated.
-
PostgreSQL
public PostgreSQL(PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe)
Deprecated.
-
PostgreSQL
public PostgreSQL(PersistentVolumeClaim pvc, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)
Deprecated.
-
PostgreSQL
public PostgreSQL(String symbolicName, boolean withLivenessProbe, boolean withReadinessProbe)
Deprecated.
-
PostgreSQL
public PostgreSQL(String symbolicName, boolean withLivenessProbe, boolean withReadinessProbe, boolean withStartupProbe)
Deprecated.
-
-
Method Detail
-
getImageName
public String getImageName()
Deprecated.- Specified by:
getImageNamein classAbstractDatabase
-
getPort
public int getPort()
Deprecated.- Specified by:
getPortin classAbstractDatabase
-
getProbeSettings
protected ProbeSettings getProbeSettings()
Deprecated.Description copied from class:AbstractSQLDatabaseGet readiness and liveness probes settings. Override this for custom probe settings.- Overrides:
getProbeSettingsin classAbstractSQLDatabase
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classAbstractDatabase
-
getJDBCConnectionStringPattern
protected String getJDBCConnectionStringPattern()
Deprecated.- Specified by:
getJDBCConnectionStringPatternin classAbstractSQLDatabase
-
getImageVariables
public Map<String,String> getImageVariables()
Deprecated.- Overrides:
getImageVariablesin classAbstractDatabase
-
-