Commit 400aa872 authored by Drahomír Karchňák's avatar Drahomír Karchňák

Uncommented image export endpoint in statistic server.

parent f725f866
......@@ -24,6 +24,7 @@ import org.restlet.routing.Template;
import at.alladin.rmbt.statisticServer.export.ExportDirtyResource;
import at.alladin.rmbt.statisticServer.export.ExportResource;
import at.alladin.rmbt.statisticServer.export.TestExportResource;
import at.alladin.rmbt.statisticServer.export.ImageExport;
import at.alladin.rmbt.statisticServer.report.TestReport;
public class StatisticServer extends Application
......@@ -67,7 +68,7 @@ public class StatisticServer extends Application
router.attach("/exportDirty/NetMetr-opendata-dirty-{year}-{month}.", ExportDirtyResource.class, Template.MODE_STARTS_WITH);
router.attach("/export", ExportResource.class, Template.MODE_STARTS_WITH);
// router.attach("/{lang}/{open_test_uuid}/{size}.png", ImageExport.class);
router.attach("/{lang}/{open_test_uuid}/{size}.png", ImageExport.class);
// administrative resources (access restrictions might be applied to /admin/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment