Search in sources :

Example 1 with SnowflakeFamilyDefinition

use of org.talend.components.snowflake.SnowflakeFamilyDefinition in project components by Talend.

the class SnowflakeRuntimeIOTestIT method getDefinitionService.

@Override
protected DefinitionRegistryService getDefinitionService() {
    DefinitionRegistry definitionRegistry = new DefinitionRegistry();
    definitionRegistry.registerComponentFamilyDefinition(new SnowflakeFamilyDefinition());
    return definitionRegistry;
}
Also used : SnowflakeFamilyDefinition(org.talend.components.snowflake.SnowflakeFamilyDefinition) DefinitionRegistry(org.talend.components.api.service.common.DefinitionRegistry)

Example 2 with SnowflakeFamilyDefinition

use of org.talend.components.snowflake.SnowflakeFamilyDefinition in project components by Talend.

the class SnowflakeTestIT method getComponentService.

@Override
public ComponentService getComponentService() {
    if (componentService == null) {
        DefinitionRegistry testComponentRegistry = new DefinitionRegistry();
        // register component
        testComponentRegistry.registerComponentFamilyDefinition(new SnowflakeFamilyDefinition());
        componentService = new ComponentServiceImpl(testComponentRegistry);
    }
    return componentService;
}
Also used : SnowflakeFamilyDefinition(org.talend.components.snowflake.SnowflakeFamilyDefinition) ComponentServiceImpl(org.talend.components.api.service.common.ComponentServiceImpl) DefinitionRegistry(org.talend.components.api.service.common.DefinitionRegistry)

Aggregations

DefinitionRegistry (org.talend.components.api.service.common.DefinitionRegistry)2 SnowflakeFamilyDefinition (org.talend.components.snowflake.SnowflakeFamilyDefinition)2 ComponentServiceImpl (org.talend.components.api.service.common.ComponentServiceImpl)1