Search in sources :

Example 1 with DefaultConfigImpl

use of com.netflix.metacat.common.server.properties.DefaultConfigImpl in project metacat by Netflix.

the class PolarisConnectorTableServiceTest method init.

/**
 * Initialization.
 */
@BeforeEach
public void init() {
    connectorContext = new ConnectorContext(CATALOG_NAME, CATALOG_NAME, "polaris", new DefaultConfigImpl(new MetacatProperties()), new NoopRegistry(), null, Maps.newHashMap());
    polarisDBService = new PolarisConnectorDatabaseService(polarisStoreService, connectorContext);
    polarisTableService = new PolarisConnectorTableService(polarisStoreService, CATALOG_NAME, polarisDBService, new HiveConnectorInfoConverter(new HiveTypeConverter()), new IcebergTableHandler(connectorContext, new IcebergTableCriteriaImpl(connectorContext), new IcebergTableOpWrapper(connectorContext, serviceManager), new IcebergTableOpsProxy()), new PolarisTableMapper(CATALOG_NAME), connectorContext);
}
Also used : HiveTypeConverter(com.netflix.metacat.connector.hive.converters.HiveTypeConverter) IcebergTableOpsProxy(com.netflix.metacat.connector.hive.iceberg.IcebergTableOpsProxy) PolarisTableMapper(com.netflix.metacat.connector.polaris.mappers.PolarisTableMapper) IcebergTableHandler(com.netflix.metacat.connector.hive.iceberg.IcebergTableHandler) IcebergTableCriteriaImpl(com.netflix.metacat.connector.hive.iceberg.IcebergTableCriteriaImpl) DefaultConfigImpl(com.netflix.metacat.common.server.properties.DefaultConfigImpl) MetacatProperties(com.netflix.metacat.common.server.properties.MetacatProperties) NoopRegistry(com.netflix.spectator.api.NoopRegistry) ConnectorContext(com.netflix.metacat.common.server.connectors.ConnectorContext) IcebergTableOpWrapper(com.netflix.metacat.connector.hive.iceberg.IcebergTableOpWrapper) HiveConnectorInfoConverter(com.netflix.metacat.connector.hive.converters.HiveConnectorInfoConverter) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with DefaultConfigImpl

use of com.netflix.metacat.common.server.properties.DefaultConfigImpl in project metacat by Netflix.

the class PolarisConnectorDatabaseServiceTest method init.

/**
 * Initialization.
 */
@BeforeEach
public void init() {
    connectorContext = new ConnectorContext(CATALOG_NAME, CATALOG_NAME, "polaris", new DefaultConfigImpl(new MetacatProperties()), new NoopRegistry(), null, Maps.newHashMap());
    polarisDBService = new PolarisConnectorDatabaseService(polarisStoreService, connectorContext);
}
Also used : DefaultConfigImpl(com.netflix.metacat.common.server.properties.DefaultConfigImpl) MetacatProperties(com.netflix.metacat.common.server.properties.MetacatProperties) NoopRegistry(com.netflix.spectator.api.NoopRegistry) ConnectorContext(com.netflix.metacat.common.server.connectors.ConnectorContext) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

ConnectorContext (com.netflix.metacat.common.server.connectors.ConnectorContext)2 DefaultConfigImpl (com.netflix.metacat.common.server.properties.DefaultConfigImpl)2 MetacatProperties (com.netflix.metacat.common.server.properties.MetacatProperties)2 NoopRegistry (com.netflix.spectator.api.NoopRegistry)2 BeforeEach (org.junit.jupiter.api.BeforeEach)2 HiveConnectorInfoConverter (com.netflix.metacat.connector.hive.converters.HiveConnectorInfoConverter)1 HiveTypeConverter (com.netflix.metacat.connector.hive.converters.HiveTypeConverter)1 IcebergTableCriteriaImpl (com.netflix.metacat.connector.hive.iceberg.IcebergTableCriteriaImpl)1 IcebergTableHandler (com.netflix.metacat.connector.hive.iceberg.IcebergTableHandler)1 IcebergTableOpWrapper (com.netflix.metacat.connector.hive.iceberg.IcebergTableOpWrapper)1 IcebergTableOpsProxy (com.netflix.metacat.connector.hive.iceberg.IcebergTableOpsProxy)1 PolarisTableMapper (com.netflix.metacat.connector.polaris.mappers.PolarisTableMapper)1