Search in sources :

Example 1 with Constants

use of org.apache.axis2.Constants in project atlasmap by atlasmap.

the class AtlasTestData method generateAtlasMapping.

public static AtlasMapping generateAtlasMapping() {
    AtlasMapping mapping = AtlasModelFactory.createAtlasMapping();
    mapping.setName("generated.mapping." + UUID.randomUUID().toString().replace('-', '.'));
    mapping.getProperties().getProperty().addAll(generateAtlasProperties());
    mapping.setConstants(new Constants());
    return mapping;
}
Also used : AtlasMapping(io.atlasmap.v2.AtlasMapping) Constants(io.atlasmap.v2.Constants)

Aggregations

AtlasMapping (io.atlasmap.v2.AtlasMapping)1 Constants (io.atlasmap.v2.Constants)1