Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
netmetr-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
19
Issues
19
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
labs
netmetr-android
Commits
400aa872
Commit
400aa872
authored
Jan 26, 2018
by
Drahomír Karchňák
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uncommented image export endpoint in statistic server.
parent
f725f866
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
RMBTStatisticServer/src/at/alladin/rmbt/statisticServer/StatisticServer.java
.../src/at/alladin/rmbt/statisticServer/StatisticServer.java
+2
-1
No files found.
RMBTStatisticServer/src/at/alladin/rmbt/statisticServer/StatisticServer.java
View file @
400aa872
...
...
@@ -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/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment