Search in sources :

Example 11 with DataSourceType

use of io.atlasmap.v2.DataSourceType in project atlasmap by atlasmap.

the class JavaJavaFlatMappingTest method generateDataSource.

protected DataSource generateDataSource(String uri, DataSourceType type) {
    DataSource ds = new DataSource();
    ds.setUri(uri);
    ds.setDataSourceType(type);
    return ds;
}
Also used : DataSource(io.atlasmap.v2.DataSource)

Example 12 with DataSourceType

use of io.atlasmap.v2.DataSourceType in project atlasmap by atlasmap.

the class JsonJavaFlatMappingTest method generateDataSource.

protected DataSource generateDataSource(String uri, DataSourceType type) {
    DataSource ds = new DataSource();
    ds.setUri(uri);
    ds.setDataSourceType(type);
    return ds;
}
Also used : DataSource(io.atlasmap.v2.DataSource)

Aggregations

DataSource (io.atlasmap.v2.DataSource)12 JsonDataSource (io.atlasmap.json.v2.JsonDataSource)1 XmlDataSource (io.atlasmap.xml.v2.XmlDataSource)1 DataShapeKinds (io.syndesis.common.model.DataShapeKinds)1