Search in sources :

Example 1 with DbKeyValueServiceConfig

use of com.palantir.atlasdb.keyvalue.dbkvs.DbKeyValueServiceConfig in project atlasdb by palantir.

the class PostgresConfigLoadingTest method getConnectionConfig.

private ConnectionConfig getConnectionConfig() throws IOException {
    AtlasDbConfig config = getPostgresTestConfig();
    KeyValueServiceConfig keyValueServiceConfig = config.keyValueService();
    DbKeyValueServiceConfig dbkvsConfig = (DbKeyValueServiceConfig) keyValueServiceConfig;
    return dbkvsConfig.connection();
}
Also used : DbKeyValueServiceConfig(com.palantir.atlasdb.keyvalue.dbkvs.DbKeyValueServiceConfig) KeyValueServiceConfig(com.palantir.atlasdb.spi.KeyValueServiceConfig) DbKeyValueServiceConfig(com.palantir.atlasdb.keyvalue.dbkvs.DbKeyValueServiceConfig) AtlasDbConfig(com.palantir.atlasdb.config.AtlasDbConfig)

Aggregations

AtlasDbConfig (com.palantir.atlasdb.config.AtlasDbConfig)1 DbKeyValueServiceConfig (com.palantir.atlasdb.keyvalue.dbkvs.DbKeyValueServiceConfig)1 KeyValueServiceConfig (com.palantir.atlasdb.spi.KeyValueServiceConfig)1