return cfg;
}
protected IngestionConfiguration createIngestionConfiguration() {
IngestionConfiguration cfg = new IngestionConfiguration("ingestionId", "IngestionName", "IngestionDesc");
GeoStoreConfig gsc = new GeoStoreConfig();
gsc.setUrl("url0");
gsc.setUsername("un0");
gsc.setPassword("pw0");
cfg.setGeoStoreConfig(gsc);
PostGisConfig pgc = new PostGisConfig();
pgc.setHost("pghost");
pgc.setPort(42);
pgc.setDatabase("pgdb");
pgc.setSchema("pgschema");
pgc.setUsername("pguser");
pgc.setPassword("pgpw");
cfg.setPostGisConfig(pgc);
RasterizeConfig rc = new RasterizeConfig();
rc.setExecutable("gdal_rasterize");
rc.setFreeMarkerTemplate("freemarkertemplate.xml");
rc.setTaskExecutorXslFileName("taskexec.xsl");
cfg.setRasterizeConfig(rc);
GeotiffRetilerConfiguration grc = new GeotiffRetilerConfiguration("grcId", "grcN", "grcD");
grc.setTileH(256);
grc.setTileW(256);
cfg.setRetilerConfiguration(grc);
GeotiffOverviewsEmbedderConfiguration goec = new GeotiffOverviewsEmbedderConfiguration("id","name","descr");
goec.setNumSteps(42);
goec.setTileH(512);
goec.setTileW(512);
cfg.setOverviewsEmbedderConfiguration(goec);
GeoServerBasicConfig gsac = new GeoServerBasicConfig("gsacId", "gsacName", "gsacDesc");
gsac.setGeoserverURL("http://it.is/here");
gsac.setGeoserverUID("it's");
gsac.setGeoserverPWD("tmpfc");
gsac.setWorkspace("unredd");
cfg.setGeoServerConfig(gsac);
cfg.setOriginalDataTargetDir(new File("/tmp/OriginalDataTarget"));
return cfg;
}