Search in sources :

Example 6 with TSalesforceBulkExecDefinition

use of org.talend.components.salesforce.tsalesforcebulkexec.TSalesforceBulkExecDefinition in project components by Talend.

the class SalesforceSchemaTest method testOutputSchemaForTSalesforceBulkExec.

@Test
public void testOutputSchemaForTSalesforceBulkExec() throws Throwable {
    TSalesforceBulkExecDefinition defin = (TSalesforceBulkExecDefinition) getComponentService().getComponentDefinition(TSalesforceBulkExecDefinition.COMPONENT_NAME);
    TSalesforceBulkExecProperties modelProps = (TSalesforceBulkExecProperties) defin.createProperties();
    assertBulk(modelProps);
}
Also used : TSalesforceBulkExecDefinition(org.talend.components.salesforce.tsalesforcebulkexec.TSalesforceBulkExecDefinition) TSalesforceBulkExecProperties(org.talend.components.salesforce.tsalesforcebulkexec.TSalesforceBulkExecProperties) Test(org.junit.Test)

Aggregations

TSalesforceBulkExecDefinition (org.talend.components.salesforce.tsalesforcebulkexec.TSalesforceBulkExecDefinition)6 ArrayList (java.util.ArrayList)5 IndexedRecord (org.apache.avro.generic.IndexedRecord)5 Test (org.junit.Test)5 TSalesforceBulkExecProperties (org.talend.components.salesforce.tsalesforcebulkexec.TSalesforceBulkExecProperties)5 HashMap (java.util.HashMap)4 Map (java.util.Map)4 Reader (org.talend.components.api.component.runtime.Reader)4 DataRejectException (org.talend.components.api.exception.DataRejectException)4 TSalesforceOutputBulkDefinition (org.talend.components.salesforce.tsalesforceoutputbulk.TSalesforceOutputBulkDefinition)4 TSalesforceOutputBulkProperties (org.talend.components.salesforce.tsalesforceoutputbulk.TSalesforceOutputBulkProperties)4 BoundedReader (org.talend.components.api.component.runtime.BoundedReader)1 RuntimeInfo (org.talend.daikon.runtime.RuntimeInfo)1 SandboxedInstance (org.talend.daikon.sandbox.SandboxedInstance)1