Search in sources :

Example 1 with DataSourceType

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

the class JavaJsonFlatMappingTest 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 2 with DataSourceType

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

the class XmlJsonFlatMappingTest 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 3 with DataSourceType

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

the class XmlJavaFlatMappingTest 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 4 with DataSourceType

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

the class JsonJsonFlatMappingTest 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 5 with DataSourceType

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

the class JavaValidationServiceTest method generateDataSource.

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

Aggregations

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