PJsonObject requestData = loadJsonRequestData();
doTest(requestData);
}
private void doTest(PJsonObject requestData) throws IOException, JSONException {
final Configuration config = configurationFactory.getConfig(getFile(BASE_DIR + "config.yaml"));
final Template template = config.getTemplate("main");
Values values = new Values(requestData, template, parser, getTaskDirectory(), this.httpRequestFactory, new File("."));
template.getProcessorGraph().createTask(values).invoke();
@SuppressWarnings("unchecked")
List<URI> layerGraphics = (List<URI>) values.getObject("layerGraphics", List.class);